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.001525/0.001524, allocations: 185.9 kB / 16.41 MB, free: 5.727 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.929/1.929, allocations: 205.4 MB / 222.5 MB, free: 9.141 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.001102/0.001102, allocations: 93.09 kB / 270.9 MB, free: 8.402 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.6421/0.6421, allocations: 43.55 MB / 362.7 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004738/0.000474, allocations: 19.98 kB / 431.4 MB, free: 6.211 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1426/0.1431, allocations: 58.84 MB / 490.2 MB, free: 11.28 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4798/0.623, allocations: 104.7 MB / 0.5809 GB, free: 14.09 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002594/0.6233, allocations: 75.95 kB / 0.581 GB, free: 14.02 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1524/0.7758, allocations: 34.71 MB / 0.6149 GB, free: 11.22 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.126e-06/0.7759, allocations: 0 / 0.6149 GB, free: 11.22 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001042/0.776, allocations: 32 kB / 0.6149 GB, free: 11.19 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.006178/0.7822, allocations: 1.844 MB / 0.6167 GB, free: 9.293 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.996e-05/0.7822, allocations: 12.03 kB / 0.6168 GB, free: 9.281 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003426/0.7857, allocations: 412.8 kB / 0.6171 GB, free: 8.879 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01198/0.7977, allocations: 2.964 MB / 0.62 GB, free: 5.871 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000128/0.7979, allocations: 110.9 kB / 0.6201 GB, free: 5.762 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003826/0.7983, allocations: 144 kB / 0.6203 GB, free: 5.621 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009908/0.8082, allocations: 3.036 MB / 0.6232 GB, free: 2.359 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.522e-05/0.8083, allocations: 19.78 kB / 0.6233 GB, free: 2.34 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002456/0.8086, allocations: 65 kB / 0.6233 GB, free: 2.277 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007851/0.8094, allocations: 290.1 kB / 0.6236 GB, free: 1.992 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008769/0.8182, allocations: 2.214 MB / 0.6258 GB, free: 15.77 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02057/0.8388, allocations: 11.6 MB / 0.6371 GB, free: 3.863 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007029/0.8459, allocations: 1.214 MB / 0.6383 GB, free: 2.629 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006253/0.8522, allocations: 3.024 MB / 0.6412 GB, free: 15.35 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.92e-05/0.8522, allocations: 43 kB / 0.6413 GB, free: 15.3 MB / 474.7 MB Notification: Performance of pre-optimization done (n=51): time 4.087e-06/0.8523, allocations: 0 / 0.6413 GB, free: 15.3 MB / 474.7 MB Notification: Performance of matching and sorting (n=57): time 0.02065/0.8729, allocations: 3.765 MB / 0.6449 GB, free: 11.43 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.461e-05/0.873, allocations: 85.67 kB / 0.645 GB, free: 11.33 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002225/0.8753, allocations: 1.079 MB / 0.6461 GB, free: 10.24 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 6.766e-05/0.8754, allocations: 33.7 kB / 0.6461 GB, free: 10.2 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008926/0.8763, allocations: 0.9574 MB / 0.6471 GB, free: 9.23 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002909/0.8766, allocations: 217 kB / 0.6473 GB, free: 9.016 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001123/0.8767, allocations: 32 kB / 0.6473 GB, free: 8.984 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002752/0.877, allocations: 382.7 kB / 0.6477 GB, free: 8.602 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001144/0.8781, allocations: 403.7 kB / 0.648 GB, free: 8.207 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001854/0.88, allocations: 1.252 MB / 0.6493 GB, free: 6.539 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001591/0.8816, allocations: 0.6682 MB / 0.6499 GB, free: 5.867 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.909e-05/0.8816, allocations: 8 kB / 0.6499 GB, free: 5.859 MB / 474.7 MB Notification: Performance of matching and sorting (n=196) (initialization): time 0.003993/0.8857, allocations: 1.653 MB / 0.6515 GB, free: 4.199 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.324e-05/0.8857, allocations: 20 kB / 0.6516 GB, free: 4.18 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-05/0.8858, allocations: 31.95 kB / 0.6516 GB, free: 4.148 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003183/0.8861, allocations: 92.83 kB / 0.6517 GB, free: 4.055 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002103/0.8882, allocations: 371.2 kB / 0.652 GB, free: 3.691 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002126/0.8904, allocations: 1.706 MB / 0.6537 GB, free: 1.844 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001492/0.8919, allocations: 72.05 kB / 0.6538 GB, free: 1.773 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001622/0.8921, allocations: 88 kB / 0.6538 GB, free: 1.688 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.001429/0.8935, allocations: 0.64 MB / 0.6545 GB, free: 1.035 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002241/0.8938, allocations: 118.5 kB / 0.6546 GB, free: 0.918 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001938/0.8957, allocations: 0.7069 MB / 0.6553 GB, free: 200 kB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.157e-05/0.8957, allocations: 11.89 kB / 0.6553 GB, free: 188 kB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.8958, allocations: 192 / 0.6553 GB, free: 188 kB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.899e-06/0.8958, allocations: 3.984 kB / 0.6553 GB, free: 184 kB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005545/0.9013, allocations: 2.266 MB / 0.6575 GB, free: 13.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.148e-05/0.9014, allocations: 8.062 kB / 0.6575 GB, free: 13.79 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007492/0.9021, allocations: 95.89 kB / 0.6576 GB, free: 13.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002824/0.9024, allocations: 64.81 kB / 0.6577 GB, free: 13.63 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.404e-05/0.9025, allocations: 16 kB / 0.6577 GB, free: 13.61 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002266/0.9048, allocations: 1.768 MB / 0.6594 GB, free: 11.71 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.723e-06/0.9048, allocations: 4 kB / 0.6594 GB, free: 11.71 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002616/0.9074, allocations: 1.309 MB / 0.6607 GB, free: 10.26 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005375/0.908, allocations: 219.6 kB / 0.6609 GB, free: 10.02 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001756/0.9082, allocations: 16 kB / 0.6609 GB, free: 10.01 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006497/0.9089, allocations: 23.98 kB / 0.6609 GB, free: 9.984 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001169/0.909, allocations: 55.89 kB / 0.661 GB, free: 9.93 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.386e-05/0.909, allocations: 16 kB / 0.661 GB, free: 9.914 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001756/0.9108, allocations: 0.7719 MB / 0.6618 GB, free: 9.137 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.9108, allocations: 0 / 0.6618 GB, free: 9.137 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001973/0.9128, allocations: 315.9 kB / 0.6621 GB, free: 8.828 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.0003312/0.9132, allocations: 139.2 kB / 0.6622 GB, free: 8.68 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002744/0.9159, allocations: 1.075 MB / 0.6632 GB, free: 7.602 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.854e-06/0.916, allocations: 8.062 kB / 0.6633 GB, free: 7.594 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000907/0.9169, allocations: 406.5 kB / 0.6636 GB, free: 7.184 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001355/0.9182, allocations: 169.8 kB / 0.6638 GB, free: 7.016 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007642/0.9259, allocations: 3.542 MB / 0.6673 GB, free: 3.391 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001825/0.9278, allocations: 1.49 MB / 0.6687 GB, free: 1.867 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003948/0.9282, allocations: 83.44 kB / 0.6688 GB, free: 1.789 MB / 490.7 MB Notification: Performance of SimCode: time 1.443e-06/0.9282, allocations: 0 / 0.6688 GB, free: 1.789 MB / 490.7 MB Notification: Performance of Templates: time 0.3736/1.302, allocations: 21.68 MB / 0.69 GB, free: 115.3 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