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.001272/0.001272, allocations: 103.8 kB / 16.27 MB, free: 5.93 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.001372/0.001372, allocations: 193.2 kB / 17.2 MB, free: 5.574 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.411/1.411, allocations: 205.1 MB / 223.1 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.231/0.231, allocations: 43.53 MB / 313.9 MB, free: 0.5234 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.001617/0.001618, allocations: 75.66 kB / 382.7 MB, free: 56.74 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.143/0.1447, allocations: 57.79 MB / 440.5 MB, free: 6.898 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01256/0.1573, allocations: 12.66 MB / 453.2 MB, free: 10.16 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009386/0.1667, allocations: 3.887 MB / 457.1 MB, free: 6.27 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002683/0.1695, allocations: 67.88 kB / 457.1 MB, free: 6.203 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002908/0.1724, allocations: 1.323 MB / 458.5 MB, free: 4.875 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004643/0.1771, allocations: 1.778 MB / 460.2 MB, free: 3.09 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001219/0.1783, allocations: 423.2 kB / 460.7 MB, free: 2.676 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005383/0.1837, allocations: 3.657 MB / 464.3 MB, free: 15.01 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002883/0.1867, allocations: 2.036 MB / 466.3 MB, free: 12.94 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00218/0.1889, allocations: 1.23 MB / 467.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002719/0.1916, allocations: 1.775 MB / 469.4 MB, free: 9.922 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007148/0.1923, allocations: 244 kB / 469.6 MB, free: 9.684 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001942/0.1943, allocations: 0.8308 MB / 470.4 MB, free: 8.852 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001724/0.196, allocations: 1.624 MB / 472 MB, free: 7.223 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00233/0.1984, allocations: 1.941 MB / 474 MB, free: 5.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006969/0.2053, allocations: 5.957 MB / 479.9 MB, free: 15.29 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.396e-06/0.2054, allocations: 0 / 479.9 MB, free: 15.29 MB / 366.1 MB Notification: Performance of FrontEnd: time 4.548e-06/0.2054, allocations: 0 / 479.9 MB, free: 15.29 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001621/0.2056, allocations: 3.938 kB / 479.9 MB, free: 15.29 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.008947/0.2145, allocations: 4.148 MB / 484.1 MB, free: 11.07 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.257e-05/0.2146, allocations: 15.89 kB / 484.1 MB, free: 11.05 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01101/0.2256, allocations: 3.068 MB / 487.2 MB, free: 7.977 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005128/0.2308, allocations: 1.983 MB / 489.2 MB, free: 5.945 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001787/0.231, allocations: 193.2 kB / 489.3 MB, free: 5.754 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009023/0.2319, allocations: 255.8 kB / 489.6 MB, free: 5.504 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01789/0.2498, allocations: 10.4 MB / 500 MB, free: 10.64 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-05/0.25, allocations: 19.81 kB / 0.4883 GB, free: 10.62 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003816/0.2503, allocations: 123.8 kB / 0.4884 GB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004206/0.2546, allocations: 2.557 MB / 0.4909 GB, free: 7.945 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01881/0.2734, allocations: 9.456 MB / 0.5001 GB, free: 14.48 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3644/0.6378, allocations: 32.47 MB / 0.5319 GB, free: 77.22 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007405/0.6453, allocations: 3.372 MB / 0.5351 GB, free: 76.04 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002011/0.6473, allocations: 1.08 MB / 0.5362 GB, free: 76.03 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001253/0.6486, allocations: 1.301 MB / 0.5375 GB, free: 74.89 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.442e-05/0.6487, allocations: 49.34 kB / 0.5375 GB, free: 74.85 MB / 414.1 MB Notification: Performance of pre-optimization done (n=187): time 5.36e-06/0.6487, allocations: 0 / 0.5375 GB, free: 74.85 MB / 414.1 MB Notification: Performance of matching and sorting (n=193): time 0.02515/0.6739, allocations: 9.774 MB / 0.5471 GB, free: 73.01 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.264e-05/0.6739, allocations: 94.3 kB / 0.5472 GB, free: 72.91 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003083/0.677, allocations: 2.665 MB / 0.5498 GB, free: 72.05 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.612e-05/0.6771, allocations: 50.05 kB / 0.5498 GB, free: 72 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001273/0.6784, allocations: 2.747 MB / 0.5525 GB, free: 69.91 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004713/0.6789, allocations: 0.707 MB / 0.5532 GB, free: 69.39 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009622/0.6799, allocations: 0.9895 MB / 0.5541 GB, free: 68.92 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 7.742e-05/0.68, allocations: 304.7 kB / 0.5544 GB, free: 68.62 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001889/0.6818, allocations: 1.563 MB / 0.556 GB, free: 68.16 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00345/0.6853, allocations: 4.481 MB / 0.5603 GB, free: 63.82 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006163/0.6915, allocations: 6.696 MB / 0.5669 GB, free: 58.34 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.743e-05/0.6916, allocations: 28.03 kB / 0.5669 GB, free: 58.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=661) (initialization): time 0.008805/0.7004, allocations: 5.955 MB / 0.5727 GB, free: 54.52 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.903e-05/0.7005, allocations: 52 kB / 0.5728 GB, free: 54.47 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.977e-05/0.7006, allocations: 104 kB / 0.5729 GB, free: 54.37 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003281/0.7009, allocations: 173.4 kB / 0.573 GB, free: 54.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002731/0.7037, allocations: 1.096 MB / 0.5741 GB, free: 53.1 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001454/0.7051, allocations: 1.809 MB / 0.5759 GB, free: 51.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003131/0.7083, allocations: 214.4 kB / 0.5761 GB, free: 50.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003144/0.7086, allocations: 300 kB / 0.5764 GB, free: 50.66 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.002921/0.7116, allocations: 2.029 MB / 0.5783 GB, free: 48.62 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004906/0.712, allocations: 256.7 kB / 0.5786 GB, free: 48.37 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003147/0.7152, allocations: 2.534 MB / 0.5811 GB, free: 45.81 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.8e-05/0.7152, allocations: 24.97 kB / 0.5811 GB, free: 45.79 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.186e-06/0.7153, allocations: 4 kB / 0.5811 GB, free: 45.79 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.347e-05/0.7153, allocations: 7.969 kB / 0.5811 GB, free: 45.78 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01015/0.7254, allocations: 8.166 MB / 0.5891 GB, free: 37.44 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.49e-05/0.7255, allocations: 12.25 kB / 0.5891 GB, free: 37.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008879/0.7264, allocations: 259.5 kB / 0.5893 GB, free: 37.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001662/0.7266, allocations: 56.77 kB / 0.5894 GB, free: 37.12 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.542e-05/0.7267, allocations: 47.5 kB / 0.5894 GB, free: 37.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001172/0.7278, allocations: 1.623 MB / 0.591 GB, free: 35.32 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.628e-06/0.7279, allocations: 15.94 kB / 0.591 GB, free: 35.3 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004368/0.7322, allocations: 4.058 MB / 0.595 GB, free: 31.08 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009975/0.7333, allocations: 0.4978 MB / 0.5955 GB, free: 30.56 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002398/0.7335, allocations: 43.44 kB / 0.5955 GB, free: 30.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000737/0.7342, allocations: 59.95 kB / 0.5956 GB, free: 30.46 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001726/0.7344, allocations: 116.7 kB / 0.5957 GB, free: 30.35 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.397e-05/0.7345, allocations: 67.98 kB / 0.5958 GB, free: 30.29 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001982/0.7365, allocations: 1.632 MB / 0.5973 GB, free: 28.64 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.7365, allocations: 0 / 0.5973 GB, free: 28.64 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004152/0.7407, allocations: 0.8215 MB / 0.5981 GB, free: 27.83 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.0005029/0.7412, allocations: 177.5 kB / 0.5983 GB, free: 27.66 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.009081/0.7503, allocations: 5.543 MB / 0.6037 GB, free: 22.15 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.821e-05/0.7504, allocations: 5.594 kB / 0.6037 GB, free: 22.15 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001408/0.7518, allocations: 1.249 MB / 0.605 GB, free: 20.88 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002243/0.754, allocations: 337.7 kB / 0.6053 GB, free: 20.56 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01535/0.7694, allocations: 8.726 MB / 0.6138 GB, free: 11.7 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002816/0.7723, allocations: 3.196 MB / 0.6169 GB, free: 8.484 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.003666/0.776, allocations: 1.734 MB / 0.6186 GB, free: 6.746 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004212/0.7764, allocations: 195.3 kB / 0.6188 GB, free: 6.555 MB / 414.1 MB Notification: Performance of SimCode: time 1.012e-06/0.7764, allocations: 0 / 0.6188 GB, free: 6.555 MB / 414.1 MB Notification: Performance of Templates: time 0.05472/0.8311, allocations: 23.31 MB / 0.6416 GB, free: 15.35 MB / 446.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Prismatic/Prismatic.csv","/var/lib/jenkins/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