Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.PrismaticInit.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.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.PrismaticInit") translateModel(ModelicaTest.MultiBody.Joints.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.PrismaticInit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001511/0.001511, allocations: 177.3 kB / 17.41 MB, free: 4.418 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.356/1.356, allocations: 205.4 MB / 223.6 MB, free: 9.035 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.0007112/0.0007115, allocations: 83.94 kB / 271.9 MB, free: 8.27 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.3163/0.3163, allocations: 43.56 MB / 363.8 MB, free: 52.13 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000394/0.0003941, allocations: 12 kB / 432.6 MB, free: 5.91 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1077, allocations: 58.86 MB / 491.4 MB, free: 10.97 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3149/0.4226, allocations: 104.8 MB / 0.5823 GB, free: 13.62 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002259/0.4229, allocations: 83.95 kB / 0.5824 GB, free: 13.54 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09661/0.5195, allocations: 34.2 MB / 0.6158 GB, free: 11.26 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.896e-06/0.5195, allocations: 0 / 0.6158 GB, free: 11.26 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001453/0.5197, allocations: 36 kB / 0.6158 GB, free: 11.22 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 449 * Number of variables: 449 Notification: Performance of Generate backend data structure: time 0.005412/0.5251, allocations: 1.824 MB / 0.6176 GB, free: 9.34 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.5252, allocations: 8.031 kB / 0.6176 GB, free: 9.332 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002187/0.5274, allocations: 374.4 kB / 0.6179 GB, free: 8.965 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004224/0.5316, allocations: 1.864 MB / 0.6198 GB, free: 7.055 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001159/0.5318, allocations: 111.3 kB / 0.6199 GB, free: 6.945 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005257/0.5323, allocations: 144.4 kB / 0.62 GB, free: 6.805 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007503/0.5398, allocations: 2.991 MB / 0.6229 GB, free: 3.59 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.454e-05/0.54, allocations: 19.97 kB / 0.6229 GB, free: 3.57 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000384/0.5404, allocations: 75.91 kB / 0.623 GB, free: 3.496 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005653/0.541, allocations: 278.1 kB / 0.6233 GB, free: 3.223 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005633/0.5466, allocations: 2.156 MB / 0.6254 GB, free: 1.059 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01645/0.5631, allocations: 11.56 MB / 0.6367 GB, free: 5.191 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003854/0.567, allocations: 1.208 MB / 0.6378 GB, free: 3.965 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006315/0.5677, allocations: 406.1 kB / 0.6382 GB, free: 3.566 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004421/0.5721, allocations: 3.005 MB / 0.6412 GB, free: 316 kB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.499e-05/0.5722, allocations: 39 kB / 0.6412 GB, free: 268 kB / 458.7 MB Notification: Performance of pre-optimization done (n=51): time 3.657e-06/0.5722, allocations: 0 / 0.6412 GB, free: 268 kB / 458.7 MB Notification: Performance of matching and sorting (n=57): time 0.01195/0.5842, allocations: 3.778 MB / 0.6449 GB, free: 12.38 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.818e-05/0.5843, allocations: 85.61 kB / 0.645 GB, free: 12.27 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002195/0.5865, allocations: 1.222 MB / 0.6462 GB, free: 11.04 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 6.238e-05/0.5866, allocations: 41.69 kB / 0.6462 GB, free: 10.99 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006804/0.5873, allocations: 0.9434 MB / 0.6471 GB, free: 10.04 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002003/0.5875, allocations: 217.1 kB / 0.6473 GB, free: 9.82 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8e-05/0.5876, allocations: 32 kB / 0.6474 GB, free: 9.789 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.5877, allocations: 369.9 kB / 0.6477 GB, free: 9.422 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006981/0.5884, allocations: 407.7 kB / 0.6481 GB, free: 9.023 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001188/0.5896, allocations: 1.252 MB / 0.6493 GB, free: 7.355 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00216/0.5918, allocations: 1.8 MB / 0.6511 GB, free: 5.137 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.901e-05/0.5919, allocations: 12 kB / 0.6511 GB, free: 5.125 MB / 474.7 MB Notification: Performance of matching and sorting (n=196) (initialization): time 0.003089/0.595, allocations: 1.711 MB / 0.6528 GB, free: 3.402 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.974e-05/0.595, allocations: 19.94 kB / 0.6528 GB, free: 3.383 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.441e-05/0.5951, allocations: 32 kB / 0.6528 GB, free: 3.352 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002492/0.5953, allocations: 88.81 kB / 0.6529 GB, free: 3.262 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001131/0.5965, allocations: 359.8 kB / 0.6533 GB, free: 2.91 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001681/0.5982, allocations: 1.694 MB / 0.6549 GB, free: 1.078 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001151/0.5993, allocations: 68.05 kB / 0.655 GB, free: 1.012 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001787/0.5995, allocations: 88 kB / 0.6551 GB, free: 0.9258 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 136 * Number of states: 0 () * Number of discrete variables: 27 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[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 (192): * Single equations (assignments): 191 * Array equations: 0 * 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.001336/0.6009, allocations: 0.6439 MB / 0.6557 GB, free: 272 kB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00027/0.6012, allocations: 114.5 kB / 0.6558 GB, free: 156 kB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001456/0.6026, allocations: 0.7108 MB / 0.6565 GB, free: 15.43 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.696e-06/0.6026, allocations: 7.984 kB / 0.6565 GB, free: 15.42 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/0.6027, allocations: 4 kB / 0.6565 GB, free: 15.41 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/0.6027, allocations: 3.984 kB / 0.6565 GB, free: 15.41 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004493/0.6072, allocations: 2.256 MB / 0.6587 GB, free: 13.04 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.758e-06/0.6072, allocations: 8.031 kB / 0.6587 GB, free: 13.03 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004045/0.6076, allocations: 103.8 kB / 0.6588 GB, free: 12.93 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001967/0.6078, allocations: 72.78 kB / 0.6589 GB, free: 12.85 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.823e-05/0.6079, allocations: 16 kB / 0.6589 GB, free: 12.84 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001677/0.6096, allocations: 1.745 MB / 0.6606 GB, free: 10.96 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.6096, allocations: 4 kB / 0.6606 GB, free: 10.95 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00169/0.6113, allocations: 1.095 MB / 0.6617 GB, free: 9.789 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005075/0.6118, allocations: 223.5 kB / 0.6619 GB, free: 9.551 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002143/0.612, allocations: 20.06 kB / 0.6619 GB, free: 9.531 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004784/0.6125, allocations: 27.92 kB / 0.6619 GB, free: 9.504 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.857e-05/0.6126, allocations: 51.89 kB / 0.662 GB, free: 9.453 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-05/0.6127, allocations: 20 kB / 0.662 GB, free: 9.434 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00152/0.6142, allocations: 0.7719 MB / 0.6628 GB, free: 8.656 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6142, allocations: 0 / 0.6628 GB, free: 8.656 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001731/0.616, allocations: 304 kB / 0.663 GB, free: 8.359 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (53): * Single equations (assignments): 52 * Array equations: 0 * 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%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003016/0.6163, allocations: 139 kB / 0.6632 GB, free: 8.215 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002089/0.6184, allocations: 1.08 MB / 0.6642 GB, free: 7.137 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/0.6184, allocations: 1.562 kB / 0.6642 GB, free: 7.137 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006136/0.619, allocations: 411.6 kB / 0.6646 GB, free: 6.723 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001779/0.6208, allocations: 180.5 kB / 0.6648 GB, free: 6.547 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006302/0.6271, allocations: 3.55 MB / 0.6683 GB, free: 2.906 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00172/0.6289, allocations: 1.459 MB / 0.6697 GB, free: 1.418 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002991/0.6292, allocations: 87.42 kB / 0.6698 GB, free: 1.332 MB / 490.7 MB Notification: Performance of SimCode: time 8.41e-07/0.6292, allocations: 0 / 0.6698 GB, free: 1.332 MB / 490.7 MB Notification: Performance of Templates: time 0.2248/0.854, allocations: 22.26 MB / 0.6915 GB, free: 115.9 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.PrismaticInit.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.PrismaticInit --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/PrismaticInit/PrismaticInit.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.PrismaticInit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches