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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_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_ModelicaTest.MultiBody.Joints.Prismatic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 101 kB / 16.94 MB, free: 6.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 191.6 kB / 17.86 MB, free: 5.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.323/1.323, allocations: 205.1 MB / 223.7 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2066/0.2066, allocations: 43.52 MB / 314.6 MB, free: 0.5195 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001555/0.001555, allocations: 78.97 kB / 383.4 MB, free: 56.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09844/0.1, allocations: 57.79 MB / 441.2 MB, free: 6.918 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01226/0.1123, allocations: 12.66 MB / 453.9 MB, free: 10.19 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009339/0.1217, allocations: 3.891 MB / 457.7 MB, free: 6.285 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002463/0.1242, allocations: 59.88 kB / 457.8 MB, free: 6.227 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00298/0.1272, allocations: 1.327 MB / 459.1 MB, free: 4.895 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00508/0.1324, allocations: 1.775 MB / 460.9 MB, free: 3.113 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001264/0.1337, allocations: 423.2 kB / 461.3 MB, free: 2.699 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004648/0.1383, allocations: 3.66 MB / 465 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002602/0.141, allocations: 2.048 MB / 467 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001937/0.1429, allocations: 1.23 MB / 468.3 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002336/0.1453, allocations: 1.771 MB / 470 MB, free: 9.938 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007343/0.146, allocations: 244 kB / 470.3 MB, free: 9.699 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001992/0.148, allocations: 0.8269 MB / 471.1 MB, free: 8.871 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001691/0.1497, allocations: 1.624 MB / 472.7 MB, free: 7.242 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002166/0.1519, allocations: 1.945 MB / 474.7 MB, free: 5.285 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006506/0.1584, allocations: 5.957 MB / 480.6 MB, free: 15.31 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.937e-06/0.1585, allocations: 4 kB / 480.6 MB, free: 15.3 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.657e-06/0.1585, allocations: 0 / 480.6 MB, free: 15.3 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002053/0.1587, allocations: 3.938 kB / 480.6 MB, free: 15.3 MB / 366.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.008004/0.1667, allocations: 4.14 MB / 484.8 MB, free: 11.09 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/0.1668, allocations: 11.89 kB / 484.8 MB, free: 11.08 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01118/0.178, allocations: 3.076 MB / 487.9 MB, free: 7.992 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004309/0.1823, allocations: 1.979 MB / 489.8 MB, free: 5.965 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001819/0.1826, allocations: 193.2 kB / 490 MB, free: 5.773 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009956/0.1836, allocations: 259.7 kB / 490.3 MB, free: 5.52 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01609/0.1997, allocations: 10.4 MB / 0.4889 GB, free: 10.66 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.159e-05/0.1998, allocations: 23.81 kB / 0.489 GB, free: 10.64 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003601/0.2002, allocations: 119.8 kB / 0.4891 GB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004108/0.2043, allocations: 2.557 MB / 0.4916 GB, free: 7.961 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01735/0.2216, allocations: 9.448 MB / 0.5008 GB, free: 14.5 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2526/0.4743, allocations: 32.47 MB / 0.5325 GB, free: 77.27 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00602/0.4803, allocations: 3.365 MB / 0.5358 GB, free: 76.09 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00172/0.4821, allocations: 1.079 MB / 0.5368 GB, free: 76.07 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001035/0.4832, allocations: 1.304 MB / 0.5381 GB, free: 74.94 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.401e-05/0.4832, allocations: 52.67 kB / 0.5382 GB, free: 74.89 MB / 414.1 MB Notification: Performance of pre-optimization done (n=187): time 4.99e-06/0.4832, allocations: 0.9688 kB / 0.5382 GB, free: 74.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=193): time 0.02219/0.5054, allocations: 9.78 MB / 0.5477 GB, free: 73.05 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.839e-05/0.5055, allocations: 92.64 kB / 0.5478 GB, free: 72.96 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002891/0.5084, allocations: 2.664 MB / 0.5504 GB, free: 72.12 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002386/0.5087, allocations: 46.08 kB / 0.5505 GB, free: 72.07 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001311/0.51, allocations: 2.75 MB / 0.5531 GB, free: 69.98 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006098/0.5106, allocations: 0.7082 MB / 0.5538 GB, free: 69.46 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001055/0.5117, allocations: 0.9818 MB / 0.5548 GB, free: 68.99 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 4.991e-05/0.5118, allocations: 308.2 kB / 0.5551 GB, free: 68.69 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001841/0.5136, allocations: 1.569 MB / 0.5566 GB, free: 68.23 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002997/0.5166, allocations: 4.479 MB / 0.561 GB, free: 63.89 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005622/0.5223, allocations: 6.693 MB / 0.5675 GB, free: 58.4 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.83e-05/0.5224, allocations: 26.62 kB / 0.5676 GB, free: 58.4 MB / 414.1 MB Notification: Performance of matching and sorting (n=661) (initialization): time 0.008869/0.5313, allocations: 5.961 MB / 0.5734 GB, free: 54.57 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.11e-05/0.5314, allocations: 48 kB / 0.5734 GB, free: 54.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001196/0.5315, allocations: 105.2 kB / 0.5735 GB, free: 54.42 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003026/0.5318, allocations: 176.8 kB / 0.5737 GB, free: 54.24 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002895/0.5347, allocations: 1.096 MB / 0.5748 GB, free: 53.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001273/0.536, allocations: 1.809 MB / 0.5765 GB, free: 51.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003115/0.5391, allocations: 212 kB / 0.5767 GB, free: 51 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005191/0.5397, allocations: 302.5 kB / 0.577 GB, free: 50.7 MB / 414.1 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 (609): * Single equations (assignments): 602 * 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.002821/0.5425, allocations: 2.028 MB / 0.579 GB, free: 48.66 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000516/0.543, allocations: 252.7 kB / 0.5792 GB, free: 48.42 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003212/0.5463, allocations: 2.541 MB / 0.5817 GB, free: 45.86 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.712e-05/0.5463, allocations: 20 kB / 0.5817 GB, free: 45.84 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.5463, allocations: 4.625 kB / 0.5817 GB, free: 45.83 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.368e-05/0.5463, allocations: 7.969 kB / 0.5818 GB, free: 45.82 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01162/0.558, allocations: 8.163 MB / 0.5897 GB, free: 37.49 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.702e-05/0.558, allocations: 15.81 kB / 0.5897 GB, free: 37.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009282/0.559, allocations: 255.5 kB / 0.59 GB, free: 37.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001525/0.5591, allocations: 60.81 kB / 0.59 GB, free: 37.16 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.443e-05/0.5592, allocations: 51.42 kB / 0.5901 GB, free: 37.12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00101/0.5603, allocations: 1.618 MB / 0.5917 GB, free: 35.36 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/0.5603, allocations: 15.94 kB / 0.5917 GB, free: 35.34 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004093/0.5644, allocations: 4.056 MB / 0.5956 GB, free: 31.13 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001118/0.5655, allocations: 0.5044 MB / 0.5961 GB, free: 30.61 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003362/0.5659, allocations: 43.45 kB / 0.5962 GB, free: 30.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008091/0.5667, allocations: 59.94 kB / 0.5962 GB, free: 30.51 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001865/0.5669, allocations: 120.6 kB / 0.5964 GB, free: 30.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001055/0.567, allocations: 63.98 kB / 0.5964 GB, free: 30.33 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002045/0.5691, allocations: 1.636 MB / 0.598 GB, free: 28.68 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5691, allocations: 0 / 0.598 GB, free: 28.68 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004069/0.5731, allocations: 0.8135 MB / 0.5988 GB, free: 27.88 MB / 414.1 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 (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.0004522/0.5736, allocations: 181.9 kB / 0.599 GB, free: 27.7 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.007536/0.5812, allocations: 5.542 MB / 0.6044 GB, free: 22.2 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.396e-05/0.5812, allocations: 4 kB / 0.6044 GB, free: 22.19 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001399/0.5826, allocations: 1.245 MB / 0.6056 GB, free: 20.93 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001978/0.5846, allocations: 344.5 kB / 0.6059 GB, free: 20.61 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01312/0.5978, allocations: 9.158 MB / 0.6149 GB, free: 11.3 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002826/0.6007, allocations: 3.202 MB / 0.618 GB, free: 8.082 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008218/0.6015, allocations: 235.4 kB / 0.6182 GB, free: 7.852 MB / 414.1 MB Notification: Performance of SimCode: time 1.323e-06/0.6015, allocations: 3.938 kB / 0.6182 GB, free: 7.848 MB / 414.1 MB Notification: Performance of Templates: time 0.08905/0.6906, allocations: 66.21 MB / 0.6829 GB, free: 5.633 MB / 478.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.makefile (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 & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) 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) Reference file matches