Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.001586/0.001586, allocations: 171.5 kB / 16.76 MB, free: 4.934 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.478/1.478, allocations: 205.4 MB / 222.9 MB, free: 8.941 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.0008047/0.0008046, allocations: 96.34 kB / 271.3 MB, free: 8.234 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.3442/0.3442, allocations: 43.56 MB / 363.1 MB, free: 52.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004031/0.0004031, allocations: 15.98 kB / 432.6 MB, free: 5.211 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1248, allocations: 58.85 MB / 491.5 MB, free: 10.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.397/0.5219, allocations: 104.8 MB / 0.5823 GB, free: 13.17 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002665/0.5222, allocations: 79.95 kB / 0.5824 GB, free: 13.09 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09202/0.6143, allocations: 34.2 MB / 0.6158 GB, free: 10.82 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.988e-06/0.6143, allocations: 3.938 kB / 0.6158 GB, free: 10.81 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001307/0.6145, allocations: 36 kB / 0.6158 GB, free: 10.78 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.005062/0.6195, allocations: 1.824 MB / 0.6176 GB, free: 8.895 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.6196, allocations: 8.031 kB / 0.6176 GB, free: 8.887 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0021/0.6217, allocations: 378.4 kB / 0.618 GB, free: 8.516 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003991/0.6257, allocations: 1.864 MB / 0.6198 GB, free: 6.605 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001181/0.6258, allocations: 111.3 kB / 0.6199 GB, free: 6.496 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005462/0.6264, allocations: 144.4 kB / 0.62 GB, free: 6.355 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006848/0.6333, allocations: 2.995 MB / 0.6229 GB, free: 3.137 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.924e-05/0.6334, allocations: 16.03 kB / 0.623 GB, free: 3.121 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002547/0.6336, allocations: 67.92 kB / 0.623 GB, free: 3.055 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004509/0.6341, allocations: 286.1 kB / 0.6233 GB, free: 2.773 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004721/0.6388, allocations: 2.156 MB / 0.6254 GB, free: 0.6094 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01487/0.6537, allocations: 11.57 MB / 0.6367 GB, free: 4.738 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00379/0.6576, allocations: 1.212 MB / 0.6379 GB, free: 3.508 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006154/0.6582, allocations: 402.1 kB / 0.6383 GB, free: 3.113 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004199/0.6624, allocations: 3.01 MB / 0.6412 GB, free: 15.85 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.929e-05/0.6625, allocations: 35 kB / 0.6412 GB, free: 15.81 MB / 474.7 MB Notification: Performance of pre-optimization done (n=51): time 3.105e-06/0.6625, allocations: 0 / 0.6412 GB, free: 15.81 MB / 474.7 MB Notification: Performance of matching and sorting (n=57): time 0.01139/0.6739, allocations: 3.78 MB / 0.6449 GB, free: 11.92 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.584e-05/0.674, allocations: 85.67 kB / 0.645 GB, free: 11.82 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002192/0.6762, allocations: 1.222 MB / 0.6462 GB, free: 10.58 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 4.463e-05/0.6763, allocations: 33.7 kB / 0.6462 GB, free: 10.54 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006882/0.677, allocations: 0.9434 MB / 0.6472 GB, free: 9.586 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002025/0.6772, allocations: 217.1 kB / 0.6474 GB, free: 9.371 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.172e-05/0.6773, allocations: 31.94 kB / 0.6474 GB, free: 9.34 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001798/0.6775, allocations: 373.9 kB / 0.6478 GB, free: 8.969 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006778/0.6781, allocations: 403.7 kB / 0.6481 GB, free: 8.574 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001249/0.6794, allocations: 1.256 MB / 0.6494 GB, free: 6.902 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002217/0.6816, allocations: 1.796 MB / 0.6511 GB, free: 4.688 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.879e-05/0.6817, allocations: 8 kB / 0.6511 GB, free: 4.68 MB / 474.7 MB Notification: Performance of matching and sorting (n=196) (initialization): time 0.003157/0.6848, allocations: 1.711 MB / 0.6528 GB, free: 2.957 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.707e-05/0.6849, allocations: 16 kB / 0.6528 GB, free: 2.941 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.165e-05/0.685, allocations: 32 kB / 0.6528 GB, free: 2.91 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002412/0.6852, allocations: 92.88 kB / 0.6529 GB, free: 2.816 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001116/0.6863, allocations: 359.3 kB / 0.6533 GB, free: 2.465 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001541/0.6879, allocations: 1.698 MB / 0.6549 GB, free: 0.6289 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001151/0.689, allocations: 75.98 kB / 0.655 GB, free: 0.5547 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001324/0.6892, allocations: 91.98 kB / 0.6551 GB, free: 476 kB / 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.001183/0.6904, allocations: 0.6362 MB / 0.6557 GB, free: 15.81 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002635/0.6907, allocations: 114.5 kB / 0.6558 GB, free: 15.7 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001326/0.692, allocations: 0.7107 MB / 0.6565 GB, free: 14.97 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.645e-06/0.692, allocations: 4 kB / 0.6565 GB, free: 14.97 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.692, allocations: 4 kB / 0.6565 GB, free: 14.96 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.692, allocations: 3.984 kB / 0.6565 GB, free: 14.96 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004389/0.6964, allocations: 2.264 MB / 0.6587 GB, free: 12.58 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.737e-06/0.6965, allocations: 4.5 kB / 0.6587 GB, free: 12.58 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003982/0.6969, allocations: 99.83 kB / 0.6588 GB, free: 12.48 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001899/0.6971, allocations: 68.92 kB / 0.6589 GB, free: 12.41 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.04e-05/0.6971, allocations: 20 kB / 0.6589 GB, free: 12.39 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001567/0.6987, allocations: 1.749 MB / 0.6606 GB, free: 10.51 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.6987, allocations: 4 kB / 0.6606 GB, free: 10.5 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001558/0.7003, allocations: 1.091 MB / 0.6617 GB, free: 9.344 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004542/0.7007, allocations: 227.6 kB / 0.6619 GB, free: 9.102 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000191/0.7009, allocations: 16 kB / 0.6619 GB, free: 9.086 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004704/0.7014, allocations: 27.92 kB / 0.662 GB, free: 9.059 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.171e-05/0.7015, allocations: 55.75 kB / 0.662 GB, free: 9.004 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-05/0.7016, allocations: 20 kB / 0.662 GB, free: 8.984 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001354/0.7029, allocations: 0.7719 MB / 0.6628 GB, free: 8.207 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.7029, allocations: 0 / 0.6628 GB, free: 8.207 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001739/0.7047, allocations: 308 kB / 0.6631 GB, free: 7.906 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.0002976/0.705, allocations: 135.1 kB / 0.6632 GB, free: 7.766 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002059/0.7071, allocations: 1.08 MB / 0.6643 GB, free: 6.688 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.194e-06/0.7071, allocations: 4 kB / 0.6643 GB, free: 6.684 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006083/0.7077, allocations: 404.4 kB / 0.6647 GB, free: 6.277 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0017/0.7094, allocations: 176.6 kB / 0.6648 GB, free: 6.105 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008346/0.7178, allocations: 3.397 MB / 0.6681 GB, free: 2.625 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00264/0.7205, allocations: 1.459 MB / 0.6696 GB, free: 1.137 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001626/0.7221, allocations: 417.8 kB / 0.67 GB, free: 0.7266 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002925/0.7224, allocations: 75.44 kB / 0.67 GB, free: 0.6523 MB / 490.7 MB Notification: Performance of SimCode: time 1.352e-06/0.7225, allocations: 0 / 0.67 GB, free: 0.6523 MB / 490.7 MB Notification: Performance of Templates: time 0.2448/0.9672, allocations: 9.851 MB / 0.6797 GB, free: 117.9 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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_ModelicaTest.MultiBody.Joints.PrismaticInit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches