Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques") translateModel(ModelicaTest.MultiBody.Forces.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009872/0.0009871, allocations: 179.6 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.226/1.226, allocations: 221.3 MB / 236 MB, free: 2.945 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007929/0.0007931, allocations: 92.05 kB / 287 MB, free: 232 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1635/0.1635, allocations: 44.15 MB / 382 MB, free: 14.66 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.365e-05/3.369e-05, allocations: 4.219 kB / 451.8 MB, free: 9.418 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1191, allocations: 61.91 MB / 0.5017 GB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3642/0.4834, allocations: 108.2 MB / 0.6073 GB, free: 13.09 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002114/0.4836, allocations: 79.73 kB / 0.6074 GB, free: 13.02 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2557/0.7393, allocations: 108.2 MB / 0.7131 GB, free: 164 kB / 0.5105 GB Notification: Performance of FrontEnd: time 3.897e-06/0.7394, allocations: 0 / 0.7131 GB, free: 164 kB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002975/0.7397, allocations: 103.9 kB / 0.7132 GB, free: 60 kB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1787 * Number of variables: 1787 Notification: Performance of Generate backend data structure: time 0.2816/1.021, allocations: 5.144 MB / 0.7182 GB, free: 114.2 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.41e-05/1.021, allocations: 9.031 kB / 0.7182 GB, free: 114.2 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03002/1.051, allocations: 6.885 MB / 0.7249 GB, free: 113.9 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01717/1.069, allocations: 6.379 MB / 0.7312 GB, free: 113.3 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005322/1.069, allocations: 386.2 kB / 0.7315 GB, free: 113.3 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00236/1.072, allocations: 0.4967 MB / 0.732 GB, free: 113.3 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02558/1.097, allocations: 12.34 MB / 0.7441 GB, free: 110 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000372/1.098, allocations: 81.09 kB / 0.7441 GB, free: 110 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001811/1.099, allocations: 246.7 kB / 0.7444 GB, free: 110 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001439/1.101, allocations: 1.137 MB / 0.7455 GB, free: 109.9 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0176/1.118, allocations: 9.665 MB / 0.7549 GB, free: 109.9 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0489/1.167, allocations: 56.39 MB / 0.81 GB, free: 68.14 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009052/1.176, allocations: 4.242 MB / 0.8141 GB, free: 66.55 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001991/1.178, allocations: 1.909 MB / 0.816 GB, free: 65.72 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009252/1.188, allocations: 5.661 MB / 0.8215 GB, free: 62.81 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.53e-05/1.188, allocations: 58.14 kB / 0.8216 GB, free: 62.75 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=150): time 4.949e-06/1.188, allocations: 0 / 0.8216 GB, free: 62.75 MB / 0.5105 GB Notification: Performance of matching and sorting (n=162): time 0.03096/1.219, allocations: 12.93 MB / 0.8342 GB, free: 56.27 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.091e-05/1.219, allocations: 231.8 kB / 0.8344 GB, free: 56 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006078/1.225, allocations: 4.958 MB / 0.8393 GB, free: 51.64 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002021/1.225, allocations: 49.7 kB / 0.8393 GB, free: 51.58 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001588/1.227, allocations: 3.859 MB / 0.8431 GB, free: 48.11 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004434/1.227, allocations: 0.6563 MB / 0.8437 GB, free: 47.54 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002025/1.227, allocations: 132 kB / 0.8439 GB, free: 47.41 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002319/1.228, allocations: 0.5886 MB / 0.8444 GB, free: 46.89 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002125/1.23, allocations: 1.927 MB / 0.8463 GB, free: 45.16 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003322/1.233, allocations: 6.205 MB / 0.8524 GB, free: 37.2 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003443/1.237, allocations: 3.461 MB / 0.8558 GB, free: 34.22 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.213e-05/1.237, allocations: 44 kB / 0.8558 GB, free: 34.18 MB / 0.5105 GB Notification: Performance of matching and sorting (n=861) (initialization): time 0.00992/1.247, allocations: 8.276 MB / 0.8639 GB, free: 26.86 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 6.758e-05/1.247, allocations: 72.97 kB / 0.864 GB, free: 26.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.627e-05/1.247, allocations: 152 kB / 0.8641 GB, free: 26.64 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00107/1.248, allocations: 0.5961 MB / 0.8647 GB, free: 26.13 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003553/1.251, allocations: 1.499 MB / 0.8662 GB, free: 24.81 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004638/1.256, allocations: 5.713 MB / 0.8717 GB, free: 19.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004387/1.261, allocations: 344.3 kB / 0.8721 GB, free: 19.06 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006391/1.261, allocations: 419.7 kB / 0.8725 GB, free: 18.66 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 697 * Number of states: 0 () * Number of discrete variables: 49 (Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.arrow.arrowLine.twoHeadedArrow,frameTorque2.arrow.headAtOrigin,frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.arrow.arrowLine.twoHeadedArrow,frameTorque1.arrow.headAtOrigin,frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[1],FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[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 (809): * Single equations (assignments): 804 * 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 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006962/1.262, allocations: 0.6306 MB / 0.8731 GB, free: 18.02 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000671/1.263, allocations: 462 kB / 0.8735 GB, free: 17.57 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003466/1.266, allocations: 2.417 MB / 0.8759 GB, free: 15.55 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.107e-05/1.266, allocations: 20 kB / 0.8759 GB, free: 15.54 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/1.266, allocations: 4 kB / 0.8759 GB, free: 15.53 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.266e-05/1.266, allocations: 10.75 kB / 0.8759 GB, free: 15.53 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009706/1.276, allocations: 7.214 MB / 0.883 GB, free: 9.637 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.504e-06/1.276, allocations: 8.062 kB / 0.883 GB, free: 9.629 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001053/1.277, allocations: 256.3 kB / 0.8832 GB, free: 9.43 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008395/1.278, allocations: 362 kB / 0.8836 GB, free: 9.156 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.036e-05/1.278, allocations: 35.67 kB / 0.8836 GB, free: 9.125 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003939/1.282, allocations: 5.046 MB / 0.8885 GB, free: 4.254 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.798e-06/1.282, allocations: 7.938 kB / 0.8885 GB, free: 4.246 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005172/1.287, allocations: 5.083 MB / 0.8935 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001504/1.288, allocations: 0.5297 MB / 0.894 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004861/1.289, allocations: 28 kB / 0.894 GB, free: 14.78 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001344/1.29, allocations: 67.92 kB / 0.8941 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002184/1.291, allocations: 100.8 kB / 0.8942 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001028/1.291, allocations: 51.81 kB / 0.8942 GB, free: 14.56 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.005454/1.296, allocations: 3.536 MB / 0.8977 GB, free: 11.05 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.91e-07/1.296, allocations: 0 / 0.8977 GB, free: 11.05 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006322/1.302, allocations: 1.113 MB / 0.8988 GB, free: 9.938 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 4 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (120): * Single equations (assignments): 115 * 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 {(1,100.0%) 11,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004542/1.303, allocations: 163 kB / 0.8989 GB, free: 9.766 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.007219/1.31, allocations: 4.901 MB / 0.9037 GB, free: 4.883 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.139e-06/1.31, allocations: 192 / 0.9037 GB, free: 4.883 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001759/1.312, allocations: 1.393 MB / 0.9051 GB, free: 3.465 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002921/1.315, allocations: 0.5895 MB / 0.9057 GB, free: 2.895 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2579/1.573, allocations: 8.699 MB / 0.9142 GB, free: 113.5 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004986/1.578, allocations: 3.971 MB / 0.918 GB, free: 112.7 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.005499/1.583, allocations: 2.137 MB / 0.9201 GB, free: 112.7 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007592/1.584, allocations: 292.6 kB / 0.9204 GB, free: 112.7 MB / 0.5261 GB Notification: Performance of SimCode: time 6.11e-07/1.584, allocations: 0 / 0.9204 GB, free: 112.7 MB / 0.5261 GB Notification: Performance of Templates: time 0.06669/1.651, allocations: 40 MB / 0.9595 GB, free: 111.2 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameTorques/FrameTorques.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches