Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.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.001762/0.001762, allocations: 122 kB / 17.83 MB, free: 5.242 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.002025/0.002025, allocations: 204.7 kB / 20.79 MB, free: 2.297 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.541/1.541, allocations: 207.6 MB / 231.2 MB, free: 4.109 MB / 174.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.4024/0.4024, allocations: 44.23 MB / 327.3 MB, free: 6.676 MB / 254.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.Joints.Prismatic,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Prismatic",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Prismatic,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Prismatic",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.002124/0.002124, allocations: 75.89 kB / 462.9 MB, free: 0.8906 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3831/0.3852, allocations: 61 MB / 0.5116 GB, free: 13.18 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01187/0.3971, allocations: 12.72 MB / 0.5241 GB, free: 2.195 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009085/0.4062, allocations: 3.918 MB / 0.5279 GB, free: 14.26 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003269/0.4095, allocations: 71.75 kB / 0.528 GB, free: 14.19 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003698/0.4132, allocations: 1.35 MB / 0.5293 GB, free: 12.84 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005389/0.4186, allocations: 1.829 MB / 0.5311 GB, free: 11 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001403/0.42, allocations: 415.3 kB / 0.5315 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.006093/0.4261, allocations: 3.661 MB / 0.535 GB, free: 6.922 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003305/0.4294, allocations: 1.806 MB / 0.5368 GB, free: 5.078 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002755/0.4321, allocations: 1.261 MB / 0.538 GB, free: 3.812 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003458/0.4356, allocations: 1.958 MB / 0.5399 GB, free: 1.848 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001122/0.4367, allocations: 244 kB / 0.5402 GB, free: 1.609 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002734/0.4394, allocations: 0.8503 MB / 0.541 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002568/0.442, allocations: 1.667 MB / 0.5426 GB, free: 15.08 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004324/0.4463, allocations: 1.941 MB / 0.5445 GB, free: 13.13 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01058/0.4569, allocations: 6.296 MB / 0.5507 GB, free: 6.816 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.4569, allocations: 3.938 kB / 0.5507 GB, free: 6.812 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.4569, allocations: 0 / 0.5507 GB, free: 6.812 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002532/0.4572, allocations: 0 / 0.5507 GB, free: 6.812 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: 1557 * Number of variables: 1557 Notification: Performance of Generate backend data structure: time 0.01033/0.4675, allocations: 4.281 MB / 0.5549 GB, free: 2.453 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.636e-05/0.4675, allocations: 15.89 kB / 0.5549 GB, free: 2.438 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001473/0.4677, allocations: 93.17 kB / 0.555 GB, free: 2.344 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001186/0.4689, allocations: 0.7207 MB / 0.5557 GB, free: 1.613 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01135/0.4802, allocations: 3.118 MB / 0.5587 GB, free: 14.49 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006313/0.4865, allocations: 2.401 MB / 0.5611 GB, free: 12.04 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002694/0.4868, allocations: 192.8 kB / 0.5612 GB, free: 11.84 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001628/0.4884, allocations: 255.8 kB / 0.5615 GB, free: 11.59 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01871/0.5072, allocations: 10.39 MB / 0.5716 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.675e-05/0.5072, allocations: 23.81 kB / 0.5717 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003943/0.5076, allocations: 127.8 kB / 0.5718 GB, free: 0.5898 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004732/0.5124, allocations: 2.565 MB / 0.5743 GB, free: 14.02 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02051/0.5329, allocations: 9.44 MB / 0.5835 GB, free: 4.574 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04906/0.5819, allocations: 32.34 MB / 0.6151 GB, free: 3.371 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006299/0.5882, allocations: 3.272 MB / 0.6183 GB, free: 15.86 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001595/0.5898, allocations: 0.9946 MB / 0.6193 GB, free: 14.87 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001256/0.5911, allocations: 1.31 MB / 0.6205 GB, free: 13.34 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.698e-05/0.5911, allocations: 43.88 kB / 0.6206 GB, free: 13.29 MB / 494.1 MB Notification: Performance of pre-optimization done (n=187): time 4.459e-06/0.5911, allocations: 4 kB / 0.6206 GB, free: 13.28 MB / 494.1 MB Notification: Performance of matching and sorting (n=193): time 0.02312/0.6143, allocations: 9.938 MB / 0.6303 GB, free: 3.246 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.402e-05/0.6143, allocations: 90.42 kB / 0.6304 GB, free: 3.137 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004037/0.6184, allocations: 2.681 MB / 0.633 GB, free: 448 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000169/0.6186, allocations: 53.73 kB / 0.633 GB, free: 388 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002205/0.6208, allocations: 2.861 MB / 0.6358 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007942/0.6216, allocations: 0.748 MB / 0.6366 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001335/0.6229, allocations: 0.9812 MB / 0.6375 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.623, allocations: 301.1 kB / 0.6378 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002446/0.6255, allocations: 1.559 MB / 0.6393 GB, free: 9.879 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004922/0.6304, allocations: 4.469 MB / 0.6437 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2863/0.9167, allocations: 6.677 MB / 0.6502 GB, free: 114.8 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001066/0.9168, allocations: 29.16 kB / 0.6502 GB, free: 114.8 MB / 0.4981 GB Notification: Performance of matching and sorting (n=657) (initialization): time 0.01204/0.9288, allocations: 5.943 MB / 0.6561 GB, free: 112.9 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001359/0.9289, allocations: 50.64 kB / 0.6561 GB, free: 112.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002626/0.9292, allocations: 102.1 kB / 0.6562 GB, free: 112.9 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006384/0.9298, allocations: 181.1 kB / 0.6564 GB, free: 112.9 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003794/0.9336, allocations: 1.091 MB / 0.6574 GB, free: 112.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001506/0.9351, allocations: 1.797 MB / 0.6592 GB, free: 111.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003348/0.9385, allocations: 214 kB / 0.6594 GB, free: 111.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004932/0.939, allocations: 301.8 kB / 0.6597 GB, free: 111.2 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 466 * Number of states: 0 () * Number of discrete variables: 27 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],axis.color[3],axis.color[2],axis.color[1],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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (605): * Single equations (assignments): 598 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003241/0.9422, allocations: 2.032 MB / 0.6617 GB, free: 110.3 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000427/0.9426, allocations: 266.7 kB / 0.6619 GB, free: 110.3 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003538/0.9462, allocations: 2.534 MB / 0.6644 GB, free: 109.4 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-05/0.9462, allocations: 23.16 kB / 0.6644 GB, free: 109.4 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/0.9462, allocations: 0 / 0.6644 GB, free: 109.4 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.591e-05/0.9462, allocations: 7.547 kB / 0.6644 GB, free: 109.4 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01117/0.9574, allocations: 8.153 MB / 0.6724 GB, free: 106.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.451e-05/0.9574, allocations: 12 kB / 0.6724 GB, free: 106.4 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008986/0.9583, allocations: 259.8 kB / 0.6726 GB, free: 106.1 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001559/0.9585, allocations: 51.42 kB / 0.6727 GB, free: 106.1 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.843e-05/0.9586, allocations: 43.7 kB / 0.6727 GB, free: 106.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001063/0.9596, allocations: 1.632 MB / 0.6743 GB, free: 104.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.662e-06/0.9596, allocations: 18.45 kB / 0.6743 GB, free: 104.3 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00405/0.9637, allocations: 4.073 MB / 0.6783 GB, free: 100.5 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009467/0.9646, allocations: 0.5125 MB / 0.6788 GB, free: 100 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002531/0.9649, allocations: 32.19 kB / 0.6789 GB, free: 99.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000751/0.9656, allocations: 59.95 kB / 0.6789 GB, free: 99.92 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001997/0.9658, allocations: 129.3 kB / 0.679 GB, free: 99.79 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001073/0.9659, allocations: 63.83 kB / 0.6791 GB, free: 99.73 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002087/0.968, allocations: 1.644 MB / 0.6807 GB, free: 98.08 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.968, allocations: 4 kB / 0.6807 GB, free: 98.08 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004152/0.9722, allocations: 0.8089 MB / 0.6815 GB, free: 97.27 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 44 * Number of states: 2 (prismatic.s,prismatic.v) * 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 (141): * Single equations (assignments): 134 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004459/0.9766, allocations: 4.751 MB / 0.6861 GB, free: 92.38 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.005083/0.9817, allocations: 3.755 MB / 0.6898 GB, free: 88.64 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.017e-05/0.9817, allocations: 4.125 kB / 0.6898 GB, free: 88.64 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001206/0.9829, allocations: 1.178 MB / 0.691 GB, free: 87.45 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001859/0.9848, allocations: 341.6 kB / 0.6913 GB, free: 87.12 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03672/1.022, allocations: 34.15 MB / 0.7246 GB, free: 48.57 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002877/1.024, allocations: 3.191 MB / 0.7277 GB, free: 45.35 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003074/1.027, allocations: 1.738 MB / 0.7294 GB, free: 43.6 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001737/1.029, allocations: 1.749 MB / 0.7311 GB, free: 41.85 MB / 0.4981 GB Notification: Performance of SimCode: time 1.392e-06/1.029, allocations: 0 / 0.7311 GB, free: 41.85 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07864/1.108, allocations: 46.68 MB / 0.7767 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.25/19.36, allocations: 4.062 kB / 0.7767 GB, free: 11.16 MB / 0.5137 GB " [Timeout remaining time 640] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Prismatic_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Prismatic.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Prismatic/Prismatic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.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: 23.14508178899996]