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.002278/0.002277, allocations: 181.6 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.552/2.552, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001068/0.001068, allocations: 86.66 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2771/0.2771, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.689e-05/3.698e-05, allocations: 4 kB / 425.3 MB, free: 23.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.1199, allocations: 58.87 MB / 484.2 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5157/0.6357, allocations: 104.6 MB / 0.5749 GB, free: 15.29 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002832/0.636, allocations: 74.84 kB / 0.575 GB, free: 15.25 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1735/0.8096, allocations: 34.68 MB / 0.6089 GB, free: 1.008 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.545e-06/0.8096, allocations: 0 / 0.6089 GB, free: 1.008 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002107/0.8098, allocations: 35.94 kB / 0.6089 GB, free: 0.9727 MB / 410.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.00649/0.8164, allocations: 1.687 MB / 0.6106 GB, free: 15.34 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.647e-05/0.8164, allocations: 8.031 kB / 0.6106 GB, free: 15.33 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003722/0.8202, allocations: 419.7 kB / 0.611 GB, free: 14.93 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01262/0.8329, allocations: 2.938 MB / 0.6138 GB, free: 12.43 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001404/0.833, allocations: 108.2 kB / 0.6139 GB, free: 12.37 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004838/0.8335, allocations: 148.5 kB / 0.6141 GB, free: 12.27 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01047/0.844, allocations: 3.013 MB / 0.617 GB, free: 9.789 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.934e-05/0.8442, allocations: 11.84 kB / 0.617 GB, free: 9.777 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002505/0.8444, allocations: 69.66 kB / 0.6171 GB, free: 9.75 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008168/0.8453, allocations: 284.1 kB / 0.6174 GB, free: 9.512 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008728/0.854, allocations: 2.181 MB / 0.6195 GB, free: 7.918 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02119/0.8753, allocations: 11.59 MB / 0.6308 GB, free: 13.78 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006744/0.8821, allocations: 1.196 MB / 0.632 GB, free: 12.56 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009544/0.8831, allocations: 388.8 kB / 0.6324 GB, free: 12.18 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006325/0.8894, allocations: 3.028 MB / 0.6353 GB, free: 8.895 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.852e-05/0.8895, allocations: 39 kB / 0.6353 GB, free: 8.848 MB / 442.7 MB Notification: Performance of pre-optimization done (n=51): time 4.358e-06/0.8895, allocations: 4 kB / 0.6353 GB, free: 8.844 MB / 442.7 MB Notification: Performance of matching and sorting (n=57): time 0.01897/0.9085, allocations: 3.378 MB / 0.6386 GB, free: 5.367 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.976e-05/0.9086, allocations: 85.67 kB / 0.6387 GB, free: 5.266 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002225/0.9109, allocations: 1.069 MB / 0.6398 GB, free: 4.184 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.073e-05/0.911, allocations: 33.7 kB / 0.6398 GB, free: 4.145 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008993/0.9119, allocations: 0.9574 MB / 0.6407 GB, free: 3.176 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002763/0.9122, allocations: 221 kB / 0.641 GB, free: 2.957 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.713e-05/0.9123, allocations: 28 kB / 0.641 GB, free: 2.93 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002148/0.9125, allocations: 382.7 kB / 0.6413 GB, free: 2.547 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009801/0.9135, allocations: 391.9 kB / 0.6417 GB, free: 2.164 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001721/0.9152, allocations: 1.229 MB / 0.6429 GB, free: 0.5195 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001532/0.9168, allocations: 0.6767 MB / 0.6436 GB, free: 15.84 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.941e-05/0.9168, allocations: 15.94 kB / 0.6436 GB, free: 15.83 MB / 458.7 MB Notification: Performance of matching and sorting (n=196) (initialization): time 0.003935/0.9208, allocations: 1.617 MB / 0.6452 GB, free: 14.2 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.949e-05/0.9208, allocations: 19.95 kB / 0.6452 GB, free: 14.18 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.49e-05/0.9209, allocations: 32 kB / 0.6452 GB, free: 14.15 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003208/0.9212, allocations: 93.45 kB / 0.6453 GB, free: 14.05 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002203/0.9234, allocations: 363.4 kB / 0.6457 GB, free: 13.7 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002182/0.9257, allocations: 1.694 MB / 0.6473 GB, free: 11.87 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001619/0.9273, allocations: 67.98 kB / 0.6474 GB, free: 11.8 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001687/0.9275, allocations: 88.19 kB / 0.6475 GB, free: 11.71 MB / 458.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 () * 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.0003627/0.9279, allocations: 231.3 kB / 0.6477 GB, free: 11.48 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002191/0.9281, allocations: 122.6 kB / 0.6478 GB, free: 11.36 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001864/0.93, allocations: 0.6989 MB / 0.6485 GB, free: 10.65 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.377e-05/0.93, allocations: 11.95 kB / 0.6485 GB, free: 10.64 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.93, allocations: 0 / 0.6485 GB, free: 10.64 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.466e-05/0.93, allocations: 3.984 kB / 0.6485 GB, free: 10.63 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005602/0.9357, allocations: 2.258 MB / 0.6507 GB, free: 8.254 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/0.9357, allocations: 4 kB / 0.6507 GB, free: 8.25 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007821/0.9365, allocations: 95.89 kB / 0.6508 GB, free: 8.156 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002857/0.9368, allocations: 68.75 kB / 0.6509 GB, free: 8.086 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.208e-05/0.9369, allocations: 12 kB / 0.6509 GB, free: 8.074 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002336/0.9392, allocations: 1.741 MB / 0.6526 GB, free: 6.199 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.364e-06/0.9392, allocations: 4 kB / 0.6526 GB, free: 6.195 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002482/0.9417, allocations: 1.286 MB / 0.6538 GB, free: 4.766 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005702/0.9423, allocations: 227.6 kB / 0.654 GB, free: 4.523 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001631/0.9425, allocations: 8 kB / 0.6541 GB, free: 4.516 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007046/0.9432, allocations: 27.98 kB / 0.6541 GB, free: 4.488 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001163/0.9434, allocations: 55.89 kB / 0.6541 GB, free: 4.434 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.734e-05/0.9434, allocations: 20 kB / 0.6542 GB, free: 4.414 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001701/0.9451, allocations: 0.7578 MB / 0.6549 GB, free: 3.648 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.9452, allocations: 0 / 0.6549 GB, free: 3.648 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001963/0.9471, allocations: 311.9 kB / 0.6552 GB, free: 3.344 MB / 458.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 () * 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.0003384/0.9475, allocations: 147.1 kB / 0.6553 GB, free: 3.191 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002586/0.9501, allocations: 1.054 MB / 0.6564 GB, free: 2.133 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.935e-06/0.9501, allocations: 192 / 0.6564 GB, free: 2.133 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008251/0.951, allocations: 406.3 kB / 0.6568 GB, free: 1.723 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00137/0.9523, allocations: 181.7 kB / 0.6569 GB, free: 1.543 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006032/0.9584, allocations: 2.34 MB / 0.6592 GB, free: 15.11 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001863/0.9603, allocations: 1.482 MB / 0.6607 GB, free: 13.6 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003989/0.9607, allocations: 87.44 kB / 0.6607 GB, free: 13.51 MB / 474.7 MB Notification: Performance of SimCode: time 1.192e-06/0.9607, allocations: 0 / 0.6607 GB, free: 13.51 MB / 474.7 MB Notification: Performance of Templates: time 0.04796/1.009, allocations: 21.67 MB / 0.6819 GB, free: 7.824 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