Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Prismatic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Prismatic") translateModel(ModelicaTest.MultiBody.Joints.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Prismatic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001578/0.001578, allocations: 183.1 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.002/2.002, allocations: 205.4 MB / 222.5 MB, free: 9.105 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001149/0.001149, allocations: 101 kB / 270.9 MB, free: 8.359 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5152/0.5152, allocations: 43.56 MB / 362.7 MB, free: 52.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004755/0.0004755, allocations: 12 kB / 431.4 MB, free: 6.176 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1272, allocations: 58.85 MB / 490.2 MB, free: 11.24 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.3544/0.4816, allocations: 25.67 MB / 0.5038 GB, free: 32.31 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01875/0.5004, allocations: 6.605 MB / 0.5102 GB, free: 27.93 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00624/0.5067, allocations: 117.1 kB / 0.5104 GB, free: 27.91 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004909/0.5117, allocations: 1.292 MB / 0.5116 GB, free: 27.5 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01554/0.5273, allocations: 3.946 MB / 0.5155 GB, free: 25.71 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002489/0.5298, allocations: 364.7 kB / 0.5158 GB, free: 25.59 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004944/0.5348, allocations: 1.998 MB / 0.5178 GB, free: 24.73 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004568/0.5395, allocations: 2.263 MB / 0.52 GB, free: 23.84 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002092/0.5416, allocations: 0.8941 MB / 0.5209 GB, free: 23.54 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002602/0.5443, allocations: 1.254 MB / 0.5221 GB, free: 23.15 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009321/0.5452, allocations: 133.7 kB / 0.5222 GB, free: 23.15 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002413/0.5477, allocations: 0.6313 MB / 0.5228 GB, free: 23.02 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002213/0.55, allocations: 1.39 MB / 0.5242 GB, free: 22.57 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001324/0.5513, allocations: 0.7624 MB / 0.5249 GB, free: 22.01 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00715/0.5585, allocations: 4.735 MB / 0.5295 GB, free: 21.04 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.5586, allocations: 0 / 0.5295 GB, free: 21.04 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.356e-06/0.5586, allocations: 0 / 0.5295 GB, free: 21.04 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002968/0.5589, allocations: 0 / 0.5295 GB, free: 21.04 MB / 378.7 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.009811/0.5687, allocations: 3.462 MB / 0.5329 GB, free: 19 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/0.5688, allocations: 9.609 kB / 0.5329 GB, free: 19 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02306/0.5919, allocations: 3.723 MB / 0.5366 GB, free: 18.38 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006546/0.5985, allocations: 2.151 MB / 0.5387 GB, free: 17.07 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002967/0.5988, allocations: 191.7 kB / 0.5389 GB, free: 16.98 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001764/0.6006, allocations: 260.4 kB / 0.5391 GB, free: 16.88 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02839/0.629, allocations: 10.43 MB / 0.5493 GB, free: 11.13 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001934/0.6293, allocations: 23.34 kB / 0.5493 GB, free: 11.12 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001553/0.6308, allocations: 123.2 kB / 0.5494 GB, free: 11.03 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00736/0.6382, allocations: 2.553 MB / 0.5519 GB, free: 10.02 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02736/0.6656, allocations: 9.487 MB / 0.5612 GB, free: 1.328 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07377/0.7395, allocations: 32.57 MB / 0.593 GB, free: 15.89 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01027/0.7498, allocations: 3.374 MB / 0.5963 GB, free: 12.29 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001975/0.7518, allocations: 1.308 MB / 0.5976 GB, free: 10.77 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.738e-05/0.7519, allocations: 43.88 kB / 0.5976 GB, free: 10.71 MB / 426.7 MB Notification: Performance of pre-optimization done (n=187): time 8.917e-06/0.7519, allocations: 0 / 0.5976 GB, free: 10.71 MB / 426.7 MB Notification: Performance of matching and sorting (n=193): time 0.03884/0.7908, allocations: 10.33 MB / 0.6077 GB, free: 168 kB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.03e-05/0.791, allocations: 94.42 kB / 0.6078 GB, free: 56 kB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006157/0.7971, allocations: 2.763 MB / 0.6105 GB, free: 13.27 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000343/0.7975, allocations: 49.69 kB / 0.6105 GB, free: 13.22 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002873/0.8004, allocations: 2.75 MB / 0.6132 GB, free: 10.43 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001166/0.8016, allocations: 0.7132 MB / 0.6139 GB, free: 9.707 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004807/0.8021, allocations: 100 kB / 0.614 GB, free: 9.609 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0004759/0.8026, allocations: 0.5177 MB / 0.6145 GB, free: 9.082 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004653/0.8073, allocations: 1.54 MB / 0.616 GB, free: 7.535 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007734/0.8151, allocations: 4.43 MB / 0.6204 GB, free: 1.66 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006994/0.8221, allocations: 2.632 MB / 0.6229 GB, free: 15.01 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001157/0.8223, allocations: 28 kB / 0.6229 GB, free: 14.98 MB / 458.7 MB Notification: Performance of matching and sorting (n=657) (initialization): time 0.01687/0.8392, allocations: 5.828 MB / 0.6286 GB, free: 9.152 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001048/0.8394, allocations: 50.66 kB / 0.6287 GB, free: 9.105 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001883/0.8396, allocations: 104 kB / 0.6288 GB, free: 9.004 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005336/0.8401, allocations: 201.5 kB / 0.629 GB, free: 8.805 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00668/0.8468, allocations: 1.092 MB / 0.63 GB, free: 7.711 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002435/0.8493, allocations: 1.713 MB / 0.6317 GB, free: 5.867 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004259/0.8536, allocations: 216 kB / 0.6319 GB, free: 5.656 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009873/0.8546, allocations: 300 kB / 0.6322 GB, free: 5.363 MB / 458.7 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005791/0.8605, allocations: 2.024 MB / 0.6342 GB, free: 3.324 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006584/0.8611, allocations: 252.6 kB / 0.6344 GB, free: 3.074 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007369/0.8685, allocations: 2.53 MB / 0.6369 GB, free: 0.5195 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.684e-05/0.8686, allocations: 20 kB / 0.6369 GB, free: 0.5 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.854e-06/0.8687, allocations: 4 kB / 0.6369 GB, free: 0.4961 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.764e-05/0.8687, allocations: 7.969 kB / 0.6369 GB, free: 500 kB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02451/0.8932, allocations: 8.157 MB / 0.6449 GB, free: 8.129 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-05/0.8933, allocations: 12.22 kB / 0.6449 GB, free: 8.117 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002243/0.8956, allocations: 255.6 kB / 0.6451 GB, free: 7.867 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003009/0.8959, allocations: 60.83 kB / 0.6452 GB, free: 7.805 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00029/0.8962, allocations: 43.98 kB / 0.6452 GB, free: 7.762 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002001/0.8982, allocations: 1.523 MB / 0.6467 GB, free: 6.109 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.057e-05/0.8983, allocations: 15.94 kB / 0.6468 GB, free: 6.094 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01086/0.9092, allocations: 4.88 MB / 0.6515 GB, free: 0.793 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002018/0.9113, allocations: 0.5016 MB / 0.652 GB, free: 276 kB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006845/0.912, allocations: 39.98 kB / 0.652 GB, free: 236 kB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001782/0.9138, allocations: 71.83 kB / 0.6521 GB, free: 168 kB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005517/0.9144, allocations: 116.7 kB / 0.6522 GB, free: 52 kB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002413/0.9147, allocations: 68.06 kB / 0.6523 GB, free: 15.98 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.004604/0.9193, allocations: 1.694 MB / 0.6539 GB, free: 14.28 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.12e-07/0.9193, allocations: 4 kB / 0.6539 GB, free: 14.27 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006146/0.9255, allocations: 0.8319 MB / 0.6548 GB, free: 13.45 MB / 490.7 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008148/0.9264, allocations: 194.8 kB / 0.6549 GB, free: 13.25 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01014/0.9365, allocations: 3.861 MB / 0.6587 GB, free: 9.398 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-05/0.9366, allocations: 4 kB / 0.6587 GB, free: 9.395 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003326/0.9399, allocations: 1.229 MB / 0.6599 GB, free: 8.156 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002695/0.9427, allocations: 308.8 kB / 0.6602 GB, free: 7.855 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03371/0.9764, allocations: 10.88 MB / 0.6708 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01142/0.9879, allocations: 3.29 MB / 0.6741 GB, free: 9.477 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00197/0.99, allocations: 227.4 kB / 0.6743 GB, free: 9.258 MB / 0.4948 GB Notification: Performance of SimCode: time 1.713e-06/0.99, allocations: 0 / 0.6743 GB, free: 9.258 MB / 0.4948 GB Notification: Performance of Templates: time 0.6349/1.625, allocations: 64.11 MB / 0.7369 GB, free: 130.5 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Prismatic.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Prismatic.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Prismatic --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Prismatic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches