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/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.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/Complex 3.2.3+maint.om/package.mo): time 0.001599/0.0016, allocations: 175 kB / 16.76 MB, free: 5.047 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.412/1.412, allocations: 205.4 MB / 222.9 MB, free: 8.949 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.0007565/0.0007565, allocations: 82.41 kB / 271.3 MB, free: 8.25 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.3287/0.3287, allocations: 43.56 MB / 363.1 MB, free: 51.87 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003529/0.0003529, allocations: 16 kB / 432.6 MB, free: 4.988 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.1324, allocations: 58.85 MB / 491.5 MB, free: 10.05 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3623/0.4947, allocations: 102 MB / 0.5796 GB, free: 15.79 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002368/0.495, allocations: 81.8 kB / 0.5797 GB, free: 15.71 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2157/0.7107, allocations: 84.42 MB / 0.6621 GB, free: 10.65 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.575e-06/0.7107, allocations: 0 / 0.6621 GB, free: 10.65 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002187/0.711, allocations: 76 kB / 0.6622 GB, free: 10.58 MB / 490.7 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.01145/0.7224, allocations: 3.611 MB / 0.6657 GB, free: 6.895 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/0.7225, allocations: 12.02 kB / 0.6657 GB, free: 6.883 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01463/0.7371, allocations: 3.47 MB / 0.6691 GB, free: 3.402 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008444/0.7456, allocations: 3.13 MB / 0.6722 GB, free: 228 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.2296/0.9753, allocations: 300 kB / 0.6725 GB, free: 97.83 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002837/0.9782, allocations: 387.7 kB / 0.6728 GB, free: 97.83 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02189/1, allocations: 9.919 MB / 0.6825 GB, free: 96.58 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001127/1, allocations: 29.5 kB / 0.6825 GB, free: 96.58 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005453/1.001, allocations: 185.3 kB / 0.6827 GB, free: 96.58 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001492/1.002, allocations: 1.164 MB / 0.6839 GB, free: 96.57 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01759/1.02, allocations: 9.364 MB / 0.693 GB, free: 96.53 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04653/1.066, allocations: 32.51 MB / 0.7248 GB, free: 79.51 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006383/1.073, allocations: 3.356 MB / 0.728 GB, free: 77.71 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001762/1.075, allocations: 1.075 MB / 0.7291 GB, free: 77.36 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001068/1.076, allocations: 1.308 MB / 0.7304 GB, free: 76.18 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.196e-05/1.076, allocations: 51.05 kB / 0.7304 GB, free: 76.13 MB / 490.7 MB Notification: Performance of pre-optimization done (n=187): time 4.439e-06/1.076, allocations: 0 / 0.7304 GB, free: 76.13 MB / 490.7 MB Notification: Performance of matching and sorting (n=193): time 0.01836/1.094, allocations: 9.769 MB / 0.7399 GB, free: 72.39 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.263e-05/1.094, allocations: 99.86 kB / 0.74 GB, free: 72.29 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003015/1.097, allocations: 2.655 MB / 0.7426 GB, free: 71.34 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001202/1.097, allocations: 49.55 kB / 0.7427 GB, free: 71.29 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001202/1.099, allocations: 2.752 MB / 0.7454 GB, free: 69.31 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005237/1.099, allocations: 0.7112 MB / 0.7461 GB, free: 68.79 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000168/1.099, allocations: 97.22 kB / 0.7462 GB, free: 68.71 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002509/1.1, allocations: 0.5133 MB / 0.7467 GB, free: 68.32 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001991/1.102, allocations: 1.536 MB / 0.7482 GB, free: 67.86 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0031/1.105, allocations: 4.456 MB / 0.7525 GB, free: 63.48 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005614/1.11, allocations: 6.668 MB / 0.759 GB, free: 58.02 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.951e-05/1.11, allocations: 31.59 kB / 0.759 GB, free: 58.02 MB / 490.7 MB Notification: Performance of matching and sorting (n=656) (initialization): time 0.008351/1.119, allocations: 5.883 MB / 0.7648 GB, free: 55.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.708e-05/1.119, allocations: 50.97 kB / 0.7648 GB, free: 55.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001161/1.119, allocations: 101.6 kB / 0.7649 GB, free: 55.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003232/1.119, allocations: 183.9 kB / 0.7651 GB, free: 55.78 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002875/1.122, allocations: 1.098 MB / 0.7662 GB, free: 55.64 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001182/1.123, allocations: 1.671 MB / 0.7678 GB, free: 54.21 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002682/1.126, allocations: 221.6 kB / 0.768 GB, free: 54.13 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003842/1.127, allocations: 296.8 kB / 0.7683 GB, free: 54.09 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 467 * 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 (604): * Single equations (assignments): 597 * Array equations: 6 * 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.003375/1.13, allocations: 2.031 MB / 0.7703 GB, free: 53.19 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000527/1.13, allocations: 249.8 kB / 0.7705 GB, free: 53.05 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003235/1.134, allocations: 2.524 MB / 0.773 GB, free: 52.14 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.637e-05/1.134, allocations: 22.53 kB / 0.773 GB, free: 52.14 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/1.134, allocations: 4 kB / 0.773 GB, free: 52.13 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.522e-05/1.134, allocations: 10.48 kB / 0.773 GB, free: 52.13 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01052/1.144, allocations: 8.189 MB / 0.781 GB, free: 49.08 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-05/1.144, allocations: 10.31 kB / 0.781 GB, free: 49.08 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008982/1.145, allocations: 253.9 kB / 0.7813 GB, free: 49.06 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001376/1.145, allocations: 59.86 kB / 0.7813 GB, free: 49.04 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.662e-05/1.146, allocations: 47.52 kB / 0.7814 GB, free: 49.02 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009166/1.146, allocations: 1.493 MB / 0.7828 GB, free: 47.63 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-05/1.146, allocations: 19.69 kB / 0.7829 GB, free: 47.62 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004272/1.151, allocations: 4.054 MB / 0.7868 GB, free: 45.52 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009702/1.152, allocations: 0.5029 MB / 0.7873 GB, free: 45.03 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002401/1.152, allocations: 38.97 kB / 0.7874 GB, free: 45 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007395/1.153, allocations: 65.45 kB / 0.7874 GB, free: 44.95 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001844/1.153, allocations: 114.8 kB / 0.7875 GB, free: 44.87 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001018/1.153, allocations: 67.75 kB / 0.7876 GB, free: 44.8 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00216/1.155, allocations: 1.626 MB / 0.7892 GB, free: 43.46 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.7e-07/1.155, allocations: 4 kB / 0.7892 GB, free: 43.46 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003914/1.159, allocations: 0.8213 MB / 0.79 GB, free: 42.65 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 45 * 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 (142): * Single equations (assignments): 135 * Array equations: 6 * 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 Backend phase and start with SimCode phase: time 0.0004811/1.16, allocations: 179.4 kB / 0.7902 GB, free: 42.47 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004944/1.165, allocations: 3.868 MB / 0.7939 GB, free: 39.05 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/1.165, allocations: 384 / 0.7939 GB, free: 39.05 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001251/1.166, allocations: 1.236 MB / 0.7951 GB, free: 37.95 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004723/1.171, allocations: 328.3 kB / 0.7955 GB, free: 37.66 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0136/1.184, allocations: 10.47 MB / 0.8057 GB, free: 27.88 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002772/1.187, allocations: 3.197 MB / 0.8088 GB, free: 25.34 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.003569/1.191, allocations: 1.727 MB / 0.8105 GB, free: 24.26 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003928/1.191, allocations: 190.7 kB / 0.8107 GB, free: 24.09 MB / 490.7 MB Notification: Performance of SimCode: time 1.102e-06/1.191, allocations: 0 / 0.8107 GB, free: 24.09 MB / 490.7 MB Notification: Performance of Templates: time 0.03696/1.228, allocations: 22.09 MB / 0.8322 GB, free: 8.18 MB / 490.7 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Prismatic/Prismatic.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches