Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic") translateModel(ModelicaTest.MultiBody.Joints.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001348/0.001348, allocations: 112.4 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001412/0.001412, allocations: 208 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.44/1.44, allocations: 227.4 MB / 247.6 MB, free: 10.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2243/0.2243, allocations: 46.13 MB / 345 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002216/0.002216, allocations: 79.86 kB / 482.1 MB, free: 3.969 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3134/0.3156, allocations: 62.44 MB / 0.5317 GB, free: 13.54 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01583/0.3315, allocations: 12.31 MB / 0.5438 GB, free: 3.918 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008663/0.3401, allocations: 3.864 MB / 0.5475 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001783/0.3419, allocations: 62 kB / 0.5476 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002711/0.3446, allocations: 1.34 MB / 0.5489 GB, free: 16 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004401/0.349, allocations: 1.755 MB / 0.5506 GB, free: 14.26 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001116/0.3501, allocations: 419.3 kB / 0.551 GB, free: 13.85 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005044/0.3552, allocations: 3.606 MB / 0.5545 GB, free: 10.23 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002559/0.3577, allocations: 1.767 MB / 0.5563 GB, free: 8.434 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001785/0.3595, allocations: 1.195 MB / 0.5574 GB, free: 7.234 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002156/0.3617, allocations: 1.74 MB / 0.5591 GB, free: 5.488 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004786/0.3622, allocations: 236 kB / 0.5593 GB, free: 5.258 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001615/0.3638, allocations: 0.8113 MB / 0.5601 GB, free: 4.445 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001537/0.3653, allocations: 1.601 MB / 0.5617 GB, free: 2.84 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001939/0.3673, allocations: 1.871 MB / 0.5635 GB, free: 0.957 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007318/0.3746, allocations: 6.095 MB / 0.5695 GB, free: 10.84 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.3746, allocations: 0 / 0.5695 GB, free: 10.84 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.3746, allocations: 0 / 0.5695 GB, free: 10.84 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001527/0.3747, allocations: 0 / 0.5695 GB, free: 10.84 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1514 * Number of variables: 1514 Notification: Performance of Generate backend data structure: time 0.007612/0.3823, allocations: 4.132 MB / 0.5735 GB, free: 6.633 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.3824, allocations: 12.03 kB / 0.5735 GB, free: 6.621 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01156/0.3939, allocations: 3.094 MB / 0.5766 GB, free: 3.52 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005087/0.399, allocations: 1.917 MB / 0.5784 GB, free: 1.551 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001951/0.3992, allocations: 185 kB / 0.5786 GB, free: 1.367 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001061/0.4003, allocations: 247.8 kB / 0.5788 GB, free: 1.125 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01682/0.4171, allocations: 10.18 MB / 0.5888 GB, free: 6.512 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.565e-05/0.4172, allocations: 31.75 kB / 0.5888 GB, free: 6.48 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003758/0.4176, allocations: 115.8 kB / 0.5889 GB, free: 6.367 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004249/0.4218, allocations: 2.467 MB / 0.5913 GB, free: 3.895 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01851/0.4403, allocations: 9.349 MB / 0.6005 GB, free: 10.54 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04858/0.4889, allocations: 31.53 MB / 0.6312 GB, free: 10.18 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006421/0.4953, allocations: 3.246 MB / 0.6344 GB, free: 6.715 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001581/0.4969, allocations: 0.9925 MB / 0.6354 GB, free: 5.723 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001384/0.4983, allocations: 1.306 MB / 0.6367 GB, free: 4.195 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.684e-05/0.4983, allocations: 51.88 kB / 0.6367 GB, free: 4.137 MB / 494.1 MB Notification: Performance of pre-optimization done (n=185): time 4.137e-06/0.4983, allocations: 3.938 kB / 0.6367 GB, free: 4.133 MB / 494.1 MB Notification: Performance of matching and sorting (n=191): time 0.02116/0.5195, allocations: 9.166 MB / 0.6457 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.719e-05/0.5196, allocations: 68.72 kB / 0.6457 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003679/0.5232, allocations: 2.615 MB / 0.6483 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001918/0.5234, allocations: 57.7 kB / 0.6483 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002075/0.5255, allocations: 2.772 MB / 0.651 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007805/0.5263, allocations: 0.7364 MB / 0.6518 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001239/0.5275, allocations: 0.9654 MB / 0.6527 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.5277, allocations: 309.1 kB / 0.653 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00244/0.5301, allocations: 1.548 MB / 0.6545 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00502/0.5351, allocations: 4.383 MB / 0.6588 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008395/0.5435, allocations: 6.567 MB / 0.6652 GB, free: 3.965 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.887e-05/0.5436, allocations: 28 kB / 0.6652 GB, free: 3.938 MB / 0.5137 GB Notification: Performance of matching and sorting (n=648) (initialization): time 0.01014/0.5537, allocations: 5.867 MB / 0.671 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.615e-05/0.5538, allocations: 48 kB / 0.671 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001139/0.5539, allocations: 100 kB / 0.6711 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003581/0.5543, allocations: 173.6 kB / 0.6713 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003142/0.5574, allocations: 1.076 MB / 0.6723 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002027/0.5594, allocations: 1.794 MB / 0.6741 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002968/0.5624, allocations: 215.9 kB / 0.6743 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004635/0.5629, allocations: 292 kB / 0.6746 GB, free: 10.24 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 453 * Number of states: 0 () * Number of discrete variables: 29 (axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,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 (596): * Single equations (assignments): 589 * 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.003449/0.5663, allocations: 1.993 MB / 0.6765 GB, free: 8.234 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004241/0.5668, allocations: 254.3 kB / 0.6767 GB, free: 7.984 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004069/0.5708, allocations: 2.534 MB / 0.6792 GB, free: 5.422 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.152e-05/0.5709, allocations: 20 kB / 0.6792 GB, free: 5.402 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.5709, allocations: 0 / 0.6792 GB, free: 5.402 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.665e-05/0.5709, allocations: 7.969 kB / 0.6792 GB, free: 5.395 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01378/0.5847, allocations: 7.937 MB / 0.687 GB, free: 13.26 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.671e-05/0.5847, allocations: 12.03 kB / 0.687 GB, free: 13.25 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001025/0.5857, allocations: 247.6 kB / 0.6872 GB, free: 13 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001738/0.5859, allocations: 56.89 kB / 0.6873 GB, free: 12.95 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.922e-05/0.586, allocations: 43.98 kB / 0.6873 GB, free: 12.9 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001562/0.5875, allocations: 1.633 MB / 0.6889 GB, free: 11.13 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-05/0.5875, allocations: 11.94 kB / 0.6889 GB, free: 11.12 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005528/0.5931, allocations: 4.032 MB / 0.6929 GB, free: 6.938 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006803/0.5938, allocations: 307.3 kB / 0.6932 GB, free: 6.617 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002407/0.594, allocations: 36 kB / 0.6932 GB, free: 6.582 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000764/0.5948, allocations: 60 kB / 0.6933 GB, free: 6.523 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000212/0.595, allocations: 124.6 kB / 0.6934 GB, free: 6.402 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000116/0.5951, allocations: 63.98 kB / 0.6935 GB, free: 6.34 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002334/0.5974, allocations: 1.603 MB / 0.695 GB, free: 4.727 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5974, allocations: 0 / 0.695 GB, free: 4.727 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00344/0.6009, allocations: 0.7772 MB / 0.6958 GB, free: 3.949 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * 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 (139): * Single equations (assignments): 132 * 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.0003952/0.6013, allocations: 181.7 kB / 0.6959 GB, free: 3.766 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.006112/0.6074, allocations: 3.728 MB / 0.6996 GB, free: 48 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.688e-06/0.6074, allocations: 8.25 kB / 0.6996 GB, free: 40 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001742/0.6091, allocations: 1.163 MB / 0.7007 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001838/0.611, allocations: 358.6 kB / 0.7011 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01575/0.6267, allocations: 8.545 MB / 0.7094 GB, free: 5.805 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004056/0.6308, allocations: 3.129 MB / 0.7125 GB, free: 2.648 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003991/0.6348, allocations: 1.71 MB / 0.7141 GB, free: 0.9336 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005326/0.6353, allocations: 187.4 kB / 0.7143 GB, free: 0.75 MB / 0.5606 GB Notification: Performance of SimCode: time 1.563e-06/0.6353, allocations: 0 / 0.7143 GB, free: 0.75 MB / 0.5606 GB Notification: Performance of Templates: time 0.3002/0.9355, allocations: 20.97 MB / 0.7348 GB, free: 177.2 MB / 0.5762 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Prismatic/Prismatic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches