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.001768/0.001768, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001853/0.001853, allocations: 217.7 kB / 22.99 MB, free: 4.977 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.404/1.404, allocations: 207.7 MB / 233.8 MB, free: 9.805 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.2244/0.2244, allocations: 44.27 MB / 330.3 MB, free: 9.309 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Prismatic,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Prismatic",fmuType="me",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.002301/0.002301, allocations: 68.36 kB / 467.5 MB, free: 4.344 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1261, allocations: 61.05 MB / 0.5162 GB, free: 7.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01364/0.1397, allocations: 11.04 MB / 0.5269 GB, free: 12.06 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008621/0.1484, allocations: 3.724 MB / 0.5306 GB, free: 8.328 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001923/0.1503, allocations: 71.75 kB / 0.5306 GB, free: 8.258 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003012/0.1533, allocations: 1.308 MB / 0.5319 GB, free: 6.945 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004636/0.1579, allocations: 1.853 MB / 0.5337 GB, free: 5.086 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00126/0.1592, allocations: 423.2 kB / 0.5341 GB, free: 4.672 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005359/0.1645, allocations: 3.657 MB / 0.5377 GB, free: 1.004 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2271/0.3916, allocations: 1.871 MB / 0.5395 GB, free: 10.52 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002455/0.3941, allocations: 1.26 MB / 0.5408 GB, free: 10.47 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00337/0.3974, allocations: 1.883 MB / 0.5426 GB, free: 10.25 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001021/0.3985, allocations: 242.9 kB / 0.5428 GB, free: 10.25 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002238/0.4007, allocations: 0.7289 MB / 0.5436 GB, free: 10.25 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002113/0.4028, allocations: 1.667 MB / 0.5452 GB, free: 10.03 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002633/0.4054, allocations: 1.394 MB / 0.5465 GB, free: 9.461 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009813/0.4153, allocations: 6.324 MB / 0.5527 GB, free: 8.375 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.795e-06/0.4153, allocations: 0.5156 kB / 0.5527 GB, free: 8.375 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.4153, allocations: 3.094 kB / 0.5527 GB, free: 8.375 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002397/0.4155, allocations: 1.812 kB / 0.5527 GB, free: 8.375 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.01184/0.4273, allocations: 4.206 MB / 0.5568 GB, free: 6.551 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.205e-05/0.4274, allocations: 10.47 kB / 0.5568 GB, free: 6.551 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001563/0.429, allocations: 0.7177 MB / 0.5575 GB, free: 6.312 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01102/0.44, allocations: 3.117 MB / 0.5606 GB, free: 5.91 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006854/0.4468, allocations: 2.362 MB / 0.5629 GB, free: 4.965 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002199/0.4471, allocations: 196.5 kB / 0.5631 GB, free: 4.914 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001201/0.4483, allocations: 256.1 kB / 0.5633 GB, free: 4.863 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02137/0.4696, allocations: 10.39 MB / 0.5735 GB, free: 15.59 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001065/0.4697, allocations: 21.94 kB / 0.5735 GB, free: 15.59 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006862/0.4704, allocations: 123.7 kB / 0.5736 GB, free: 15.55 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004568/0.475, allocations: 2.556 MB / 0.5761 GB, free: 14.57 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02053/0.4955, allocations: 9.432 MB / 0.5853 GB, free: 9.332 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05342/0.5489, allocations: 30.66 MB / 0.6153 GB, free: 10.38 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00601/0.555, allocations: 2.371 MB / 0.6176 GB, free: 8.016 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00168/0.5566, allocations: 1.007 MB / 0.6186 GB, free: 7.012 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009155/0.5575, allocations: 430 kB / 0.619 GB, free: 6.598 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.016e-05/0.5576, allocations: 43.88 kB / 0.619 GB, free: 6.547 MB / 462.1 MB Notification: Performance of pre-optimization done (n=187): time 4.298e-06/0.5576, allocations: 4 kB / 0.619 GB, free: 6.543 MB / 462.1 MB Notification: Performance of matching and sorting (n=193): time 0.02211/0.5797, allocations: 9.706 MB / 0.6285 GB, free: 12.81 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.546e-05/0.5798, allocations: 100.5 kB / 0.6286 GB, free: 12.7 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004286/0.5841, allocations: 2.85 MB / 0.6314 GB, free: 9.828 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002445/0.5843, allocations: 49.7 kB / 0.6314 GB, free: 9.773 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002244/0.5866, allocations: 2.854 MB / 0.6342 GB, free: 6.926 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009084/0.5875, allocations: 0.7476 MB / 0.6349 GB, free: 6.188 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001431/0.5889, allocations: 0.9811 MB / 0.6359 GB, free: 5.199 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.589, allocations: 309.1 kB / 0.6362 GB, free: 4.895 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002574/0.5916, allocations: 1.556 MB / 0.6377 GB, free: 3.332 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005089/0.5967, allocations: 4.471 MB / 0.6421 GB, free: 13.46 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008956/0.6057, allocations: 6.681 MB / 0.6486 GB, free: 5.762 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.49e-05/0.6058, allocations: 34.75 kB / 0.6486 GB, free: 5.73 MB / 494.1 MB Notification: Performance of matching and sorting (n=657) (initialization): time 0.01081/0.6166, allocations: 5.938 MB / 0.6544 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.195e-05/0.6166, allocations: 55.94 kB / 0.6545 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001139/0.6168, allocations: 100 kB / 0.6546 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003394/0.6171, allocations: 181.5 kB / 0.6548 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003244/0.6203, allocations: 1.092 MB / 0.6558 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001748/0.6221, allocations: 1.689 MB / 0.6575 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002924/0.625, allocations: 215.9 kB / 0.6577 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006179/0.6256, allocations: 301.8 kB / 0.658 GB, free: 12.05 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.003887/0.6295, allocations: 2.037 MB / 0.66 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004989/0.63, allocations: 266.2 kB / 0.6602 GB, free: 9.746 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004112/0.6341, allocations: 2.536 MB / 0.6627 GB, free: 7.188 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.258e-05/0.6342, allocations: 20.94 kB / 0.6627 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.6342, allocations: 0 / 0.6627 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.65e-05/0.6342, allocations: 11.97 kB / 0.6627 GB, free: 7.156 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01465/0.6488, allocations: 7.925 MB / 0.6705 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.647e-05/0.6489, allocations: 8 kB / 0.6705 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001045/0.6499, allocations: 255.6 kB / 0.6707 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001695/0.6501, allocations: 56.83 kB / 0.6708 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001083/0.6502, allocations: 40 kB / 0.6708 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001599/0.6518, allocations: 1.521 MB / 0.6723 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.418e-05/0.6518, allocations: 15.94 kB / 0.6723 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006086/0.6579, allocations: 4.074 MB / 0.6763 GB, free: 8.855 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001701/0.6596, allocations: 450.1 kB / 0.6767 GB, free: 8.414 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004846/0.6601, allocations: 32.44 kB / 0.6767 GB, free: 8.383 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001001/0.6611, allocations: 63.94 kB / 0.6768 GB, free: 8.32 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002573/0.6613, allocations: 134.5 kB / 0.6769 GB, free: 8.191 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001418/0.6615, allocations: 71.98 kB / 0.677 GB, free: 8.121 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003073/0.6645, allocations: 1.64 MB / 0.6786 GB, free: 6.473 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9.1e-08/0.6645, allocations: 0 / 0.6786 GB, free: 6.473 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004398/0.6689, allocations: 0.812 MB / 0.6794 GB, free: 5.664 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.00649/0.6754, allocations: 4.74 MB / 0.684 GB, free: 0.7656 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006697/0.6821, allocations: 3.763 MB / 0.6877 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.306e-05/0.6821, allocations: 4 kB / 0.6877 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001817/0.684, allocations: 1.172 MB / 0.6888 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002065/0.686, allocations: 338.6 kB / 0.6892 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05976/0.7458, allocations: 34.24 MB / 0.7226 GB, free: 4.859 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004172/0.7499, allocations: 2.651 MB / 0.7252 GB, free: 2.176 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004206/0.7542, allocations: 1.742 MB / 0.7269 GB, free: 436 kB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003283/0.7574, allocations: 1.753 MB / 0.7286 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of SimCode: time 1.613e-06/0.7574, allocations: 4 kB / 0.7286 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1078/0.8652, allocations: 46.06 MB / 0.7736 GB, free: 0.625 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.89/15.75, allocations: 3.906 kB / 0.7736 GB, free: 0.6211 MB / 0.6075 GB " [Timeout remaining time 644] (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: 19.1616248562932]