Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.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.Forces.FrameForcesAndTorques2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001198/0.001198, allocations: 181.1 kB / 8.007 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.735/1.735, allocations: 205.3 MB / 213.7 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009037/0.0009037, allocations: 94.62 kB / 261.8 MB, free: 1.672 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.2286/0.2286, allocations: 43.5 MB / 353.2 MB, free: 276 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.738e-05/1.739e-05, allocations: 4 kB / 418.3 MB, free: 28.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1133, allocations: 58.86 MB / 477.1 MB, free: 1.621 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4087/0.5221, allocations: 106.8 MB / 0.5702 GB, free: 4.973 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002351/0.5223, allocations: 75.81 kB / 0.5703 GB, free: 4.938 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3254/0.8478, allocations: 130.6 MB / 0.6978 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.353e-06/0.8479, allocations: 0 / 0.6978 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0003862/0.8483, allocations: 128 kB / 0.6979 GB, free: 9.949 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2413 * Number of variables: 2413 Notification: Performance of Generate backend data structure: time 0.02226/0.8705, allocations: 6.446 MB / 0.7042 GB, free: 3.43 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.8706, allocations: 8.031 kB / 0.7042 GB, free: 3.422 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3077/1.178, allocations: 7.123 MB / 0.7112 GB, free: 99.23 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01928/1.198, allocations: 7.239 MB / 0.7182 GB, free: 98.86 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003612/1.198, allocations: 220.8 kB / 0.7185 GB, free: 98.86 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00258/1.201, allocations: 402.4 kB / 0.7188 GB, free: 98.85 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01627/1.217, allocations: 9.526 MB / 0.7281 GB, free: 98.82 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02453/1.242, allocations: 14.41 MB / 0.7422 GB, free: 95.2 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002242/1.242, allocations: 90.38 kB / 0.7423 GB, free: 95.19 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007373/1.243, allocations: 40.09 kB / 0.7423 GB, free: 95.19 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001835/1.244, allocations: 1.559 MB / 0.7439 GB, free: 95.18 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06599/1.31, allocations: 67.27 MB / 0.8096 GB, free: 52.21 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006355/1.317, allocations: 5.585 MB / 0.815 GB, free: 49.63 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004417/1.321, allocations: 3.802 MB / 0.8187 GB, free: 48.07 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002067/1.321, allocations: 58.27 kB / 0.8188 GB, free: 48.05 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.904e-05/1.322, allocations: 67.91 kB / 0.8188 GB, free: 47.99 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=290): time 7.975e-06/1.322, allocations: 0 / 0.8188 GB, free: 47.99 MB / 0.4948 GB Notification: Performance of matching and sorting (n=334): time 0.05761/1.379, allocations: 29.33 MB / 0.8475 GB, free: 30.65 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.307e-05/1.379, allocations: 229.9 kB / 0.8477 GB, free: 30.38 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006429/1.386, allocations: 4.264 MB / 0.8519 GB, free: 26.64 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0009553/1.387, allocations: 33.2 kB / 0.8519 GB, free: 26.61 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002497/1.389, allocations: 4.709 MB / 0.8565 GB, free: 22.34 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001769/1.391, allocations: 1.204 MB / 0.8577 GB, free: 21.26 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006022/1.392, allocations: 0 / 0.8577 GB, free: 21.26 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003922/1.392, allocations: 0.682 MB / 0.8583 GB, free: 20.68 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004264/1.396, allocations: 3.625 MB / 0.8619 GB, free: 17.44 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007194/1.404, allocations: 8.649 MB / 0.8703 GB, free: 6.969 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007322/1.411, allocations: 5.518 MB / 0.8757 GB, free: 2.273 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001498/1.411, allocations: 55.89 kB / 0.8758 GB, free: 2.219 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1166) (initialization): time 0.03005/1.441, allocations: 12.76 MB / 0.8882 GB, free: 7.594 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003152/1.441, allocations: 80.97 kB / 0.8883 GB, free: 7.516 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004157/1.442, allocations: 180 kB / 0.8885 GB, free: 7.34 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004425/1.446, allocations: 1.699 MB / 0.8901 GB, free: 6.062 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008569/1.455, allocations: 2.179 MB / 0.8923 GB, free: 4.227 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3205/1.775, allocations: 10.77 MB / 0.9028 GB, free: 96.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007382/1.783, allocations: 378.1 kB / 0.9031 GB, free: 96.96 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002124/1.785, allocations: 0.5233 MB / 0.9037 GB, free: 96.96 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 815 * Number of states: 0 () * Number of discrete variables: 54 (Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1094): * Single equations (assignments): 1089 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,75.0%) 21,(4,75.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002856/1.788, allocations: 0.556 MB / 0.9042 GB, free: 96.86 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001387/1.789, allocations: 489.1 kB / 0.9047 GB, free: 96.86 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01521/1.805, allocations: 7.141 MB / 0.9116 GB, free: 96.63 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.132e-05/1.805, allocations: 35.44 kB / 0.9117 GB, free: 96.63 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.363e-05/1.805, allocations: 11.78 kB / 0.9117 GB, free: 96.63 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-05/1.805, allocations: 17.52 kB / 0.9117 GB, free: 96.63 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03101/1.836, allocations: 15 MB / 0.9264 GB, free: 95.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.237e-05/1.836, allocations: 5.812 kB / 0.9264 GB, free: 95.84 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003447/1.839, allocations: 0.6521 MB / 0.927 GB, free: 95.84 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00353/1.843, allocations: 1.406 MB / 0.9284 GB, free: 95.82 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006828/1.844, allocations: 18.31 kB / 0.9284 GB, free: 95.82 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0108/1.854, allocations: 9.851 MB / 0.938 GB, free: 93.26 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.174e-06/1.854, allocations: 3.719 kB / 0.938 GB, free: 93.26 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01535/1.87, allocations: 12.34 MB / 0.9501 GB, free: 91.38 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002804/1.873, allocations: 1.096 MB / 0.9511 GB, free: 90.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008927/1.874, allocations: 3.969 kB / 0.9511 GB, free: 90.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002655/1.876, allocations: 225.7 kB / 0.9514 GB, free: 90.98 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004634/1.877, allocations: 206.1 kB / 0.9515 GB, free: 90.95 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002385/1.877, allocations: 85.77 kB / 0.9516 GB, free: 90.93 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.004389/1.881, allocations: 2.864 MB / 0.9544 GB, free: 89.89 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.61e-07/1.881, allocations: 0 / 0.9544 GB, free: 89.89 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.009368/1.891, allocations: 1.441 MB / 0.9558 GB, free: 89.89 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (280): * Single equations (assignments): 275 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009213/1.892, allocations: 162.1 kB / 0.956 GB, free: 89.8 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01487/1.907, allocations: 9.097 MB / 0.9649 GB, free: 86.87 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.517e-06/1.907, allocations: 0 / 0.9649 GB, free: 86.87 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005197/1.912, allocations: 3.637 MB / 0.9684 GB, free: 85.43 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003028/1.915, allocations: 0.4883 MB / 0.9689 GB, free: 85.23 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02345/1.938, allocations: 13.18 MB / 0.9818 GB, free: 80.57 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006293/1.945, allocations: 5.006 MB / 0.9867 GB, free: 78.91 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.007951/1.953, allocations: 2.925 MB / 0.9895 GB, free: 78.86 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001779/1.955, allocations: 364.8 kB / 0.9899 GB, free: 78.84 MB / 0.5105 GB Notification: Performance of SimCode: time 1.222e-06/1.955, allocations: 0 / 0.9899 GB, free: 78.84 MB / 0.5105 GB Notification: Performance of Templates: time 0.08493/2.039, allocations: 53.74 MB / 1.042 GB, free: 40.47 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameForcesAndTorques2/FrameForcesAndTorques2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches