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.001464/0.001464, allocations: 101.9 kB / 20.48 MB, free: 1.383 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.00183/0.00183, allocations: 212.8 kB / 23.77 MB, free: 4.551 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.542/1.542, allocations: 207.7 MB / 234.6 MB, free: 9.797 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.2381/0.2381, allocations: 44.26 MB / 331.1 MB, free: 9.332 MB / 270.1 MB " [Timeout remaining time 180] 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.00214/0.00214, allocations: 70.55 kB / 468.3 MB, free: 4.367 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1137, allocations: 61.05 MB / 0.5169 GB, free: 7.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01363/0.1273, allocations: 10.96 MB / 0.5276 GB, free: 12.16 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007949/0.1353, allocations: 3.708 MB / 0.5313 GB, free: 8.441 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001812/0.1371, allocations: 67.75 kB / 0.5313 GB, free: 8.375 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003243/0.1404, allocations: 1.311 MB / 0.5326 GB, free: 7.059 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004689/0.145, allocations: 1.841 MB / 0.5344 GB, free: 5.211 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001152/0.1462, allocations: 439.2 kB / 0.5348 GB, free: 4.781 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005111/0.1513, allocations: 3.649 MB / 0.5384 GB, free: 1.121 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2144/0.3657, allocations: 1.878 MB / 0.5402 GB, free: 10.6 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002295/0.368, allocations: 1.259 MB / 0.5414 GB, free: 10.55 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002712/0.3707, allocations: 1.955 MB / 0.5434 GB, free: 10.33 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006242/0.3714, allocations: 243.7 kB / 0.5436 GB, free: 10.33 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001764/0.3731, allocations: 0.743 MB / 0.5443 GB, free: 10.33 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00157/0.3747, allocations: 1.667 MB / 0.5459 GB, free: 10.11 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00176/0.3764, allocations: 1.398 MB / 0.5473 GB, free: 9.539 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007742/0.3842, allocations: 6.325 MB / 0.5535 GB, free: 8.453 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.3842, allocations: 0 / 0.5535 GB, free: 8.453 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.966e-06/0.3842, allocations: 0.9375 kB / 0.5535 GB, free: 8.453 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002291/0.3844, allocations: 1.438 kB / 0.5535 GB, free: 8.453 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.008495/0.3929, allocations: 4.203 MB / 0.5576 GB, free: 6.582 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.393, allocations: 12.44 kB / 0.5576 GB, free: 6.582 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001307/0.3931, allocations: 98.02 kB / 0.5577 GB, free: 6.574 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009328/0.394, allocations: 0.7189 MB / 0.5584 GB, free: 6.27 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01001/0.404, allocations: 3.117 MB / 0.5614 GB, free: 5.867 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004899/0.4089, allocations: 2.363 MB / 0.5637 GB, free: 4.926 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001287/0.4091, allocations: 195 kB / 0.5639 GB, free: 4.875 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005887/0.4097, allocations: 258.2 kB / 0.5642 GB, free: 4.824 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01485/0.4245, allocations: 10.38 MB / 0.5743 GB, free: 15.56 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.476e-05/0.4246, allocations: 30.16 kB / 0.5743 GB, free: 15.55 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004388/0.425, allocations: 119.7 kB / 0.5745 GB, free: 15.52 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003976/0.429, allocations: 2.557 MB / 0.577 GB, free: 14.54 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01933/0.4484, allocations: 9.452 MB / 0.5862 GB, free: 9.207 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05172/0.5001, allocations: 30.67 MB / 0.6161 GB, free: 10.25 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005916/0.506, allocations: 2.369 MB / 0.6185 GB, free: 7.891 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001634/0.5076, allocations: 1.003 MB / 0.6194 GB, free: 6.887 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008437/0.5085, allocations: 426.7 kB / 0.6198 GB, free: 6.473 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.678e-05/0.5085, allocations: 47.88 kB / 0.6199 GB, free: 6.418 MB / 462.1 MB Notification: Performance of pre-optimization done (n=187): time 5.17e-06/0.5085, allocations: 0 / 0.6199 GB, free: 6.418 MB / 462.1 MB Notification: Performance of matching and sorting (n=193): time 0.02301/0.5315, allocations: 9.71 MB / 0.6294 GB, free: 12.69 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.879e-05/0.5316, allocations: 98.45 kB / 0.6295 GB, free: 12.57 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004363/0.536, allocations: 2.678 MB / 0.6321 GB, free: 9.879 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002124/0.5362, allocations: 49.7 kB / 0.6321 GB, free: 9.824 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002384/0.5386, allocations: 2.861 MB / 0.6349 GB, free: 6.969 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009624/0.5395, allocations: 0.7455 MB / 0.6356 GB, free: 6.234 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001474/0.541, allocations: 0.9879 MB / 0.6366 GB, free: 5.238 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.5412, allocations: 305.1 kB / 0.6369 GB, free: 4.938 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002637/0.5438, allocations: 1.556 MB / 0.6384 GB, free: 3.375 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005455/0.5493, allocations: 4.467 MB / 0.6428 GB, free: 13.51 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009136/0.5584, allocations: 6.689 MB / 0.6493 GB, free: 5.789 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001008/0.5585, allocations: 28 kB / 0.6493 GB, free: 5.762 MB / 494.1 MB Notification: Performance of matching and sorting (n=657) (initialization): time 0.01228/0.5708, allocations: 5.945 MB / 0.6551 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001164/0.5709, allocations: 51.94 kB / 0.6552 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001859/0.5711, allocations: 104 kB / 0.6553 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004308/0.5715, allocations: 177.6 kB / 0.6555 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003805/0.5753, allocations: 1.096 MB / 0.6565 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001949/0.5773, allocations: 1.69 MB / 0.6582 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003547/0.5808, allocations: 211.9 kB / 0.6584 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007684/0.5816, allocations: 307.7 kB / 0.6587 GB, free: 12.07 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.004989/0.5866, allocations: 2.024 MB / 0.6607 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005654/0.5871, allocations: 266.2 kB / 0.6609 GB, free: 9.773 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004211/0.5913, allocations: 2.537 MB / 0.6634 GB, free: 7.215 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.959e-05/0.5914, allocations: 20 kB / 0.6634 GB, free: 7.195 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.5914, allocations: 0 / 0.6634 GB, free: 7.195 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.592e-05/0.5914, allocations: 11.97 kB / 0.6634 GB, free: 7.184 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01502/0.6064, allocations: 7.928 MB / 0.6712 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.172e-05/0.6064, allocations: 12 kB / 0.6712 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001072/0.6075, allocations: 251.6 kB / 0.6714 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001747/0.6077, allocations: 56.83 kB / 0.6715 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001167/0.6078, allocations: 40.73 kB / 0.6715 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001633/0.6094, allocations: 1.531 MB / 0.673 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.256e-05/0.6095, allocations: 15.94 kB / 0.673 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006139/0.6156, allocations: 4.064 MB / 0.677 GB, free: 8.875 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001394/0.617, allocations: 450.1 kB / 0.6774 GB, free: 8.434 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003886/0.6174, allocations: 40 kB / 0.6775 GB, free: 8.395 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008662/0.6182, allocations: 63.89 kB / 0.6775 GB, free: 8.332 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002476/0.6185, allocations: 131.1 kB / 0.6776 GB, free: 8.207 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001428/0.6186, allocations: 63.98 kB / 0.6777 GB, free: 8.145 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003184/0.6218, allocations: 1.644 MB / 0.6793 GB, free: 6.492 MB / 0.5137 GB Notification: Performance of sort global known variables: time 6.1e-08/0.6218, allocations: 0 / 0.6793 GB, free: 6.492 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004873/0.6267, allocations: 0.8071 MB / 0.6801 GB, free: 5.688 MB / 0.5137 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.007249/0.6339, allocations: 4.747 MB / 0.6847 GB, free: 0.7852 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007757/0.6417, allocations: 3.755 MB / 0.6884 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.24e-05/0.6417, allocations: 4 kB / 0.6884 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002001/0.6437, allocations: 1.175 MB / 0.6895 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002262/0.646, allocations: 343.5 kB / 0.6899 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06228/0.7083, allocations: 34.25 MB / 0.7233 GB, free: 4.871 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004813/0.7131, allocations: 2.663 MB / 0.7259 GB, free: 2.172 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003973/0.7171, allocations: 1.738 MB / 0.7276 GB, free: 436 kB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003245/0.7203, allocations: 1.766 MB / 0.7293 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of SimCode: time 1.493e-06/0.7203, allocations: 0 / 0.7293 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3835/1.104, allocations: 48.18 MB / 0.7764 GB, free: 213.7 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.59/20.69, allocations: 2.219 kB / 0.7764 GB, free: 213.7 MB / 0.6075 GB " [Timeout remaining time 639] (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: 24.46653127693571]