Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001692/0.001692, allocations: 107.4 kB / 20.48 MB, free: 1.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002022/0.002022, allocations: 213.2 kB / 23.78 MB, free: 4.438 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.431/1.431, allocations: 230.5 MB / 257.5 MB, free: 7.738 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2375/0.2375, allocations: 46.95 MB / 360.9 MB, free: 3.879 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Arrow,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Arrow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Arrow,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Arrow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002363/0.002363, allocations: 79.88 kB / 0.4963 GB, free: 7.469 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3603/0.3627, allocations: 66.08 MB / 0.5608 GB, free: 3.977 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.008579/0.3713, allocations: 5.604 MB / 0.5663 GB, free: 14.34 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004493/0.3758, allocations: 1.877 MB / 0.5681 GB, free: 12.46 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006951/0.3765, allocations: 27.88 kB / 0.5681 GB, free: 12.43 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001495/0.378, allocations: 0.5996 MB / 0.5687 GB, free: 11.83 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005402/0.3785, allocations: 198.9 kB / 0.5689 GB, free: 11.63 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000257/0.3788, allocations: 59.88 kB / 0.569 GB, free: 11.57 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005448/0.3793, allocations: 422.1 kB / 0.5694 GB, free: 11.16 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006344/0.3799, allocations: 419 kB / 0.5698 GB, free: 10.74 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003761/0.3803, allocations: 227.1 kB / 0.57 GB, free: 10.52 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004733/0.3808, allocations: 286.8 kB / 0.5703 GB, free: 10.24 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.958e-05/0.3809, allocations: 36 kB / 0.5703 GB, free: 10.2 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002069/0.3811, allocations: 83.97 kB / 0.5704 GB, free: 10.12 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000313/0.3814, allocations: 275.1 kB / 0.5706 GB, free: 9.852 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002729/0.3817, allocations: 234.5 kB / 0.5709 GB, free: 9.621 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009975/0.3827, allocations: 0.8361 MB / 0.5717 GB, free: 8.781 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.3827, allocations: 0 / 0.5717 GB, free: 8.781 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3827, allocations: 0 / 0.5717 GB, free: 8.781 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.195e-05/0.3827, allocations: 0 / 0.5717 GB, free: 8.781 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 180 * Number of variables: 180 Notification: Performance of Generate backend data structure: time 0.001667/0.3843, allocations: 0.8896 MB / 0.5725 GB, free: 7.859 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.06e-05/0.3844, allocations: 12.03 kB / 0.5726 GB, free: 7.848 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001313/0.3845, allocations: 110.7 kB / 0.5727 GB, free: 7.73 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007993/0.3853, allocations: 160.2 kB / 0.5728 GB, free: 7.574 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006726/0.386, allocations: 384.2 kB / 0.5732 GB, free: 7.172 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.46e-05/0.386, allocations: 33.34 kB / 0.5732 GB, free: 7.141 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.954e-05/0.3861, allocations: 47.91 kB / 0.5733 GB, free: 7.094 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001482/0.3876, allocations: 1.082 MB / 0.5743 GB, free: 5.902 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.108e-05/0.3876, allocations: 7.938 kB / 0.5743 GB, free: 5.895 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.297e-05/0.3877, allocations: 23.92 kB / 0.5743 GB, free: 5.871 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003478/0.388, allocations: 192.4 kB / 0.5745 GB, free: 5.684 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00114/0.3892, allocations: 0.7048 MB / 0.5752 GB, free: 4.977 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004388/0.3935, allocations: 4.474 MB / 0.5796 GB, free: 336 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001781/0.3937, allocations: 54.53 kB / 0.5796 GB, free: 272 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000124/0.3938, allocations: 48.84 kB / 0.5797 GB, free: 220 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.619e-05/0.3939, allocations: 7.984 kB / 0.5797 GB, free: 212 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.011e-05/0.3939, allocations: 30.56 kB / 0.5797 GB, free: 172 kB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.703e-06/0.3939, allocations: 0 / 0.5797 GB, free: 172 kB / 414.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005792/0.3945, allocations: 217.1 kB / 0.5799 GB, free: 15.95 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.46e-05/0.3945, allocations: 55.41 kB / 0.58 GB, free: 15.88 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001037/0.3956, allocations: 0.8514 MB / 0.5808 GB, free: 15.02 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.236e-05/0.3956, allocations: 25.7 kB / 0.5808 GB, free: 14.99 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004164/0.396, allocations: 0.5218 MB / 0.5813 GB, free: 14.46 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.175e-05/0.396, allocations: 23.89 kB / 0.5814 GB, free: 14.43 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002147/0.3962, allocations: 166.5 kB / 0.5815 GB, free: 14.26 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001922/0.3964, allocations: 378.8 kB / 0.5819 GB, free: 13.88 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003145/0.3968, allocations: 189.8 kB / 0.5821 GB, free: 13.7 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000786/0.3975, allocations: 0.7312 MB / 0.5828 GB, free: 12.68 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001303/0.3988, allocations: 0.9742 MB / 0.5837 GB, free: 11.43 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.197e-05/0.3989, allocations: 8 kB / 0.5837 GB, free: 11.42 MB / 430.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001534/0.4004, allocations: 0.872 MB / 0.5846 GB, free: 10.54 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.062e-05/0.4004, allocations: 12.97 kB / 0.5846 GB, free: 10.53 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.551e-05/0.4004, allocations: 24 kB / 0.5846 GB, free: 10.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.5e-05/0.4005, allocations: 31.94 kB / 0.5847 GB, free: 10.47 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000536/0.401, allocations: 179.6 kB / 0.5848 GB, free: 10.3 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.344e-05/0.4011, allocations: 39.86 kB / 0.5849 GB, free: 10.26 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005885/0.4017, allocations: 119.1 kB / 0.585 GB, free: 10.14 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.275e-05/0.4017, allocations: 48 kB / 0.585 GB, free: 10.09 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 92 * Number of states: 0 () * Number of discrete variables: 25 (fixedArrow.arrowLine.twoHeadedArrow,fixedArrow.headAtOrigin,arrow.arrow.twoHeadedArrow,arrow.headAtOrigin,world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],fixedArrow.color[3],fixedArrow.color[2],fixedArrow.color[1],arrow.color[3],arrow.color[2],arrow.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005279/0.4022, allocations: 355.9 kB / 0.5854 GB, free: 9.734 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.536e-05/0.4023, allocations: 63.58 kB / 0.5854 GB, free: 9.672 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001007/0.4024, allocations: 69.3 kB / 0.5855 GB, free: 9.598 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.4024, allocations: 192 / 0.5855 GB, free: 9.598 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.4025, allocations: 11.88 kB / 0.5855 GB, free: 9.586 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.4025, allocations: 3.984 kB / 0.5855 GB, free: 9.582 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005688/0.403, allocations: 452.5 kB / 0.5859 GB, free: 9.098 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.403, allocations: 4 kB / 0.5859 GB, free: 9.094 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.053e-05/0.4031, allocations: 11.98 kB / 0.586 GB, free: 9.082 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.4031, allocations: 0 / 0.586 GB, free: 9.082 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.4031, allocations: 11.86 kB / 0.586 GB, free: 9.07 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.4031, allocations: 0 / 0.586 GB, free: 9.07 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.4031, allocations: 0 / 0.586 GB, free: 9.07 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003929/0.4035, allocations: 279 kB / 0.5862 GB, free: 8.781 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001155/0.4036, allocations: 55.56 kB / 0.5863 GB, free: 8.727 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.635e-05/0.4037, allocations: 3.938 kB / 0.5863 GB, free: 8.723 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000196/0.4039, allocations: 7.984 kB / 0.5863 GB, free: 8.715 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.122e-05/0.404, allocations: 7.984 kB / 0.5863 GB, free: 8.707 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-06/0.404, allocations: 0 / 0.5863 GB, free: 8.707 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0007218/0.4047, allocations: 0.5341 MB / 0.5868 GB, free: 8.176 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4047, allocations: 3.938 kB / 0.5868 GB, free: 8.172 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007172/0.4054, allocations: 143.7 kB / 0.587 GB, free: 8.031 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007807/0.4062, allocations: 0.7979 MB / 0.5877 GB, free: 7.207 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007532/0.4069, allocations: 407.8 kB / 0.5881 GB, free: 6.812 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.4069, allocations: 4 kB / 0.5881 GB, free: 6.809 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001171/0.4071, allocations: 47.89 kB / 0.5882 GB, free: 6.762 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005557/0.4076, allocations: 90.77 kB / 0.5883 GB, free: 6.68 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008569/0.4162, allocations: 6.123 MB / 0.5942 GB, free: 15.91 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005333/0.4167, allocations: 397.7 kB / 0.5946 GB, free: 15.49 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005528/0.4173, allocations: 204.8 kB / 0.5948 GB, free: 15.29 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003237/0.4176, allocations: 228.4 kB / 0.595 GB, free: 15.07 MB / 446.1 MB Notification: Performance of SimCode: time 2.204e-06/0.4176, allocations: 0 / 0.595 GB, free: 15.07 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04303/0.4606, allocations: 11.82 MB / 0.6066 GB, free: 3.457 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.63/12.09, allocations: 10.97 kB / 0.6066 GB, free: 3.449 MB / 446.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Arrow.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Visualizers/Arrow/Arrow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.109792222967371]