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.001395/0.001395, allocations: 109.6 kB / 17.09 MB, free: 5.984 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.001585/0.001585, allocations: 199.3 kB / 18.02 MB, free: 5.066 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.417/1.417, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.2187/0.2187, allocations: 43.53 MB / 314.8 MB, free: 448 kB / 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.001579/0.001579, allocations: 77.45 kB / 442.5 MB, free: 5.629 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.1225, allocations: 57.78 MB / 0.4886 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01385/0.1364, allocations: 12.66 MB / 0.5009 GB, free: 15.05 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008575/0.145, allocations: 3.894 MB / 0.5047 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00208/0.1472, allocations: 67.81 kB / 0.5048 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003033/0.1503, allocations: 1.319 MB / 0.5061 GB, free: 9.754 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004963/0.1553, allocations: 1.778 MB / 0.5078 GB, free: 7.969 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00131/0.1566, allocations: 435.2 kB / 0.5082 GB, free: 7.543 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00525/0.1619, allocations: 3.661 MB / 0.5118 GB, free: 3.871 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003091/0.165, allocations: 2.036 MB / 0.5138 GB, free: 1.793 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002338/0.1673, allocations: 1.242 MB / 0.515 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002977/0.1703, allocations: 1.768 MB / 0.5167 GB, free: 14.77 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009158/0.1712, allocations: 247.9 kB / 0.517 GB, free: 14.53 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00222/0.1735, allocations: 0.8269 MB / 0.5178 GB, free: 13.7 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002189/0.1757, allocations: 1.628 MB / 0.5194 GB, free: 12.07 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003087/0.1788, allocations: 1.929 MB / 0.5212 GB, free: 10.13 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007808/0.1866, allocations: 6.266 MB / 0.5274 GB, free: 3.84 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.1866, allocations: 0 / 0.5274 GB, free: 3.84 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.1866, allocations: 0 / 0.5274 GB, free: 3.84 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002584/0.1869, allocations: 0 / 0.5274 GB, free: 3.84 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.266/0.4529, allocations: 4.138 MB / 0.5314 GB, free: 38.09 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.626e-05/0.453, allocations: 13.23 kB / 0.5314 GB, free: 38.09 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01157/0.4646, allocations: 3.075 MB / 0.5344 GB, free: 37.82 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004704/0.4693, allocations: 1.991 MB / 0.5364 GB, free: 37.2 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002361/0.4696, allocations: 198.5 kB / 0.5366 GB, free: 37.19 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001306/0.4709, allocations: 251.7 kB / 0.5368 GB, free: 37.19 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01999/0.4909, allocations: 10.39 MB / 0.5469 GB, free: 33.32 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001589/0.4911, allocations: 22.59 kB / 0.547 GB, free: 33.3 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008636/0.492, allocations: 129.4 kB / 0.5471 GB, free: 33.26 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004347/0.4963, allocations: 2.558 MB / 0.5496 GB, free: 32.75 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0177/0.514, allocations: 9.459 MB / 0.5588 GB, free: 26.65 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04028/0.5544, allocations: 32.24 MB / 0.5903 GB, free: 9.613 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005734/0.5601, allocations: 3.374 MB / 0.5936 GB, free: 6.008 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00152/0.5617, allocations: 1.085 MB / 0.5947 GB, free: 4.922 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00111/0.5628, allocations: 1.304 MB / 0.5959 GB, free: 3.398 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.308e-05/0.5629, allocations: 48.75 kB / 0.596 GB, free: 3.344 MB / 430.1 MB Notification: Performance of pre-optimization done (n=187): time 5.851e-06/0.5629, allocations: 3.984 kB / 0.596 GB, free: 3.34 MB / 430.1 MB Notification: Performance of matching and sorting (n=193): time 0.02218/0.5851, allocations: 9.779 MB / 0.6055 GB, free: 9.445 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.808e-05/0.5852, allocations: 94.42 kB / 0.6056 GB, free: 9.332 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004631/0.5898, allocations: 2.656 MB / 0.6082 GB, free: 6.656 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002213/0.5901, allocations: 49.7 kB / 0.6083 GB, free: 6.602 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002208/0.5923, allocations: 2.747 MB / 0.6109 GB, free: 3.812 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008061/0.5931, allocations: 0.7132 MB / 0.6116 GB, free: 3.09 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001614/0.5947, allocations: 0.9839 MB / 0.6126 GB, free: 2.098 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001653/0.5949, allocations: 305.1 kB / 0.6129 GB, free: 1.797 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002703/0.5976, allocations: 1.567 MB / 0.6144 GB, free: 228 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005608/0.6032, allocations: 4.481 MB / 0.6188 GB, free: 10.29 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008747/0.612, allocations: 6.699 MB / 0.6253 GB, free: 2.164 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001927/0.6122, allocations: 28 kB / 0.6254 GB, free: 2.137 MB / 462.1 MB Notification: Performance of matching and sorting (n=661) (initialization): time 0.01181/0.6241, allocations: 5.956 MB / 0.6312 GB, free: 12.16 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.801e-05/0.6242, allocations: 48 kB / 0.6312 GB, free: 12.11 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001346/0.6243, allocations: 104.1 kB / 0.6313 GB, free: 12.01 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003644/0.6247, allocations: 180.8 kB / 0.6315 GB, free: 11.83 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003337/0.6281, allocations: 1.092 MB / 0.6326 GB, free: 10.73 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00194/0.63, allocations: 1.8 MB / 0.6343 GB, free: 8.797 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003017/0.633, allocations: 215.9 kB / 0.6345 GB, free: 8.586 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005932/0.6337, allocations: 300 kB / 0.6348 GB, free: 8.293 MB / 478.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.003477/0.6371, allocations: 2.04 MB / 0.6368 GB, free: 6.238 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004849/0.6376, allocations: 248.7 kB / 0.6371 GB, free: 5.992 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004005/0.6416, allocations: 2.534 MB / 0.6395 GB, free: 3.434 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.583e-05/0.6417, allocations: 7.969 kB / 0.6395 GB, free: 3.426 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.6417, allocations: 4 kB / 0.6395 GB, free: 3.422 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009242/0.6426, allocations: 497.7 kB / 0.64 GB, free: 2.914 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003764/0.643, allocations: 28 kB / 0.64 GB, free: 2.887 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007692/0.6438, allocations: 55.92 kB / 0.6401 GB, free: 2.832 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001796/0.644, allocations: 81.19 kB / 0.6402 GB, free: 2.754 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003456/0.6474, allocations: 2.326 MB / 0.6424 GB, free: 424 kB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004703/0.6521, allocations: 3.889 MB / 0.6462 GB, free: 12.51 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001211/0.6534, allocations: 0.9945 MB / 0.6472 GB, free: 11.52 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002503/0.6559, allocations: 1.62 MB / 0.6488 GB, free: 9.891 MB / 494.1 MB Notification: Performance of Backend: time 5.41e-07/0.6559, allocations: 4 kB / 0.6488 GB, free: 9.887 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005807/0.6617, allocations: 3.185 MB / 0.6519 GB, free: 6.719 MB / 494.1 MB Notification: Performance of SimCode: time 0.01294/0.6747, allocations: 8.325 MB / 0.66 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of Templates: time 0.06038/0.7351, allocations: 31.2 MB / 0.6905 GB, free: 15.15 MB / 0.5294 GB 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