Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001871/0.001871, allocations: 109 kB / 20.48 MB, free: 1.477 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001855/0.001855, allocations: 207.9 kB / 23.78 MB, free: 4.688 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.552/1.552, allocations: 207.6 MB / 234.5 MB, free: 9.984 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2363/0.2363, allocations: 44.24 MB / 331.1 MB, free: 9.516 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002341/0.002341, allocations: 70.41 kB / 468.3 MB, free: 4.52 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1149, allocations: 61.05 MB / 0.5169 GB, free: 7.336 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.01527/0.1302, allocations: 12.53 MB / 0.5291 GB, free: 10.74 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008943/0.1391, allocations: 4.09 MB / 0.5331 GB, free: 6.637 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002127/0.1412, allocations: 87.69 kB / 0.5332 GB, free: 6.551 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003819/0.1451, allocations: 1.705 MB / 0.5349 GB, free: 4.84 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004562/0.1496, allocations: 1.642 MB / 0.5365 GB, free: 3.191 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002909/0.1525, allocations: 1.208 MB / 0.5377 GB, free: 1.98 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.2038/0.3563, allocations: 3.624 MB / 0.5412 GB, free: 10.36 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002344/0.3587, allocations: 2.071 MB / 0.5432 GB, free: 10.23 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001768/0.3605, allocations: 1.236 MB / 0.5444 GB, free: 10.07 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002534/0.363, allocations: 1.839 MB / 0.5462 GB, free: 9.855 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008504/0.3638, allocations: 254.6 kB / 0.5465 GB, free: 9.855 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001715/0.3656, allocations: 0.7369 MB / 0.5472 GB, free: 9.855 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002067/0.3676, allocations: 1.693 MB / 0.5488 GB, free: 9.621 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001888/0.3695, allocations: 1.98 MB / 0.5508 GB, free: 8.848 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008497/0.378, allocations: 6.539 MB / 0.5572 GB, free: 7.016 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.378, allocations: 1.312 kB / 0.5572 GB, free: 7.016 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.378, allocations: 0 / 0.5572 GB, free: 7.016 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002702/0.3783, allocations: 1.25 kB / 0.5572 GB, free: 7.016 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: 1617 * Number of variables: 1617 Notification: Performance of Generate backend data structure: time 0.01155/0.3898, allocations: 4.235 MB / 0.5613 GB, free: 4.574 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/0.3899, allocations: 9.875 kB / 0.5613 GB, free: 4.574 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001999/0.3901, allocations: 102.4 kB / 0.5614 GB, free: 4.566 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0018/0.3919, allocations: 0.7492 MB / 0.5621 GB, free: 4.246 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01068/0.4026, allocations: 3.044 MB / 0.5651 GB, free: 3.777 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004813/0.4074, allocations: 1.814 MB / 0.5669 GB, free: 2.793 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001946/0.4076, allocations: 201.5 kB / 0.5671 GB, free: 2.742 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001297/0.4089, allocations: 260.4 kB / 0.5673 GB, free: 2.695 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01831/0.4272, allocations: 10.53 MB / 0.5776 GB, free: 12.71 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.006e-05/0.4273, allocations: 30.03 kB / 0.5776 GB, free: 12.71 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004666/0.4277, allocations: 135.6 kB / 0.5778 GB, free: 12.67 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004266/0.432, allocations: 2.433 MB / 0.5801 GB, free: 11.74 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01769/0.4497, allocations: 9.367 MB / 0.5893 GB, free: 5.25 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05463/0.5043, allocations: 38.69 MB / 0.6271 GB, free: 13.95 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005848/0.5102, allocations: 2.449 MB / 0.6295 GB, free: 11.47 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001945/0.5121, allocations: 1.174 MB / 0.6306 GB, free: 10.28 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009695/0.5218, allocations: 4.995 MB / 0.6355 GB, free: 5.301 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.21e-05/0.5219, allocations: 55.16 kB / 0.6355 GB, free: 5.238 MB / 478.1 MB Notification: Performance of pre-optimization done (n=153): time 4.198e-06/0.5219, allocations: 0 / 0.6355 GB, free: 5.238 MB / 478.1 MB Notification: Performance of matching and sorting (n=153): time 0.007645/0.5295, allocations: 3.386 MB / 0.6388 GB, free: 1.871 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00012/0.5296, allocations: 166.9 kB / 0.639 GB, free: 1.672 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006617/0.5362, allocations: 3.963 MB / 0.6429 GB, free: 13.72 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002136/0.5365, allocations: 45.7 kB / 0.6429 GB, free: 13.67 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003167/0.5396, allocations: 3.467 MB / 0.6463 GB, free: 10.23 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009407/0.5406, allocations: 0.6409 MB / 0.6469 GB, free: 9.594 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001971/0.5425, allocations: 1.356 MB / 0.6483 GB, free: 8.23 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.5427, allocations: 309.1 kB / 0.6486 GB, free: 7.926 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003227/0.5459, allocations: 2 MB / 0.6505 GB, free: 5.922 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007037/0.5529, allocations: 6.308 MB / 0.6567 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01185/0.5648, allocations: 9.056 MB / 0.6655 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001523/0.5649, allocations: 44 kB / 0.6656 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of matching and sorting (n=877) (initialization): time 0.01624/0.5812, allocations: 7.95 MB / 0.6733 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001914/0.5814, allocations: 72.02 kB / 0.6734 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003345/0.5817, allocations: 160 kB / 0.6735 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002898/0.582, allocations: 200 kB / 0.6737 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005119/0.5871, allocations: 1.513 MB / 0.6752 GB, free: 8.652 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003402/0.5875, allocations: 298.8 kB / 0.6755 GB, free: 8.359 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005663/0.5931, allocations: 0.9809 MB / 0.6764 GB, free: 7.375 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001159/0.5943, allocations: 408 kB / 0.6768 GB, free: 6.977 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 698 * Number of states: 0 () * Number of discrete variables: 21 (freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (819): * Single equations (assignments): 811 * Array equations: 8 * 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.005637/0.5999, allocations: 2.279 MB / 0.6791 GB, free: 4.688 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009593/0.6009, allocations: 333.7 kB / 0.6794 GB, free: 4.359 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001413/0.6023, allocations: 420.2 kB / 0.6798 GB, free: 3.945 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.483e-05/0.6024, allocations: 35.98 kB / 0.6798 GB, free: 3.91 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-05/0.6024, allocations: 4 kB / 0.6798 GB, free: 3.906 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.801e-05/0.6024, allocations: 11.91 kB / 0.6798 GB, free: 3.895 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01444/0.6169, allocations: 5.672 MB / 0.6854 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.499e-05/0.6169, allocations: 12.97 kB / 0.6854 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00107/0.618, allocations: 215.7 kB / 0.6856 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.82e-05/0.618, allocations: 8 kB / 0.6856 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001388/0.6181, allocations: 31.36 kB / 0.6856 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.686e-05/0.6181, allocations: 15.94 kB / 0.6856 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-05/0.6181, allocations: 12.75 kB / 0.6857 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003803/0.6219, allocations: 2.603 MB / 0.6882 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001053/0.623, allocations: 321.3 kB / 0.6885 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007663/0.6238, allocations: 30.89 kB / 0.6885 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001467/0.6252, allocations: 71.91 kB / 0.6886 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002068/0.6254, allocations: 84.19 kB / 0.6887 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001172/0.6256, allocations: 43.98 kB / 0.6887 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00555/0.6311, allocations: 2.415 MB / 0.6911 GB, free: 8.211 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.6311, allocations: 0 / 0.6911 GB, free: 8.211 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007191/0.6383, allocations: 1.144 MB / 0.6922 GB, free: 7.066 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (111): * Single equations (assignments): 105 * Array equations: 6 * 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.005017/0.6433, allocations: 3.228 MB / 0.6953 GB, free: 3.734 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008376/0.6517, allocations: 4.373 MB / 0.6996 GB, free: 15.41 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.936e-06/0.6517, allocations: 0 / 0.6996 GB, free: 15.41 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001421/0.6531, allocations: 0.8865 MB / 0.7005 GB, free: 14.52 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003123/0.6562, allocations: 366.3 kB / 0.7008 GB, free: 14.17 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08957/0.7458, allocations: 43.34 MB / 0.7432 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006456/0.7523, allocations: 3.276 MB / 0.7464 GB, free: 8.73 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.00589/0.7582, allocations: 2.284 MB / 0.7486 GB, free: 6.438 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003392/0.7616, allocations: 1.749 MB / 0.7503 GB, free: 4.688 MB / 0.5919 GB Notification: Performance of SimCode: time 1.443e-06/0.7616, allocations: 0 / 0.7503 GB, free: 4.688 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3378/1.099, allocations: 58.43 MB / 0.8074 GB, free: 205.3 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.93/24.03, allocations: 3.594 kB / 0.8074 GB, free: 205.3 MB / 0.6075 GB " [Timeout remaining time 636] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/AbsoluteSensor2/AbsoluteSensor2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.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: 27.77180710702669]