Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.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.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009129/0.0009129, allocations: 172.9 kB / 16.76 MB, free: 4.93 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.329/1.329, allocations: 205.4 MB / 222.9 MB, free: 9.023 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.0006904/0.0006904, allocations: 88.34 kB / 271.3 MB, free: 8.242 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.2935/0.2935, allocations: 43.56 MB / 363.1 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003792/0.0003793, allocations: 12 kB / 432.6 MB, free: 5.219 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.105, allocations: 58.85 MB / 491.5 MB, free: 10.28 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3091/0.4141, allocations: 107.2 MB / 0.5846 GB, free: 10.79 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002606/0.4145, allocations: 71.97 kB / 0.5847 GB, free: 10.71 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4705/0.885, allocations: 113.2 MB / 0.6952 GB, free: 85.86 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.687e-06/0.885, allocations: 3.219 kB / 0.6952 GB, free: 85.86 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003926/0.8854, allocations: 103.2 kB / 0.6953 GB, free: 85.86 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: 1959 * Number of variables: 1959 Notification: Performance of Generate backend data structure: time 0.017/0.9024, allocations: 5.727 MB / 0.7009 GB, free: 83.39 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.9025, allocations: 13.12 kB / 0.7009 GB, free: 83.39 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02169/0.9242, allocations: 5.314 MB / 0.7061 GB, free: 83 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01279/0.937, allocations: 5.755 MB / 0.7117 GB, free: 82.15 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005956/0.9376, allocations: 414.7 kB / 0.7121 GB, free: 82.14 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002733/0.9404, allocations: 0.5433 MB / 0.7127 GB, free: 82.14 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02904/0.9695, allocations: 13.31 MB / 0.7257 GB, free: 78.67 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004234/0.9699, allocations: 87.27 kB / 0.7258 GB, free: 78.66 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001912/0.9718, allocations: 271.1 kB / 0.726 GB, free: 78.65 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00164/0.9735, allocations: 1.26 MB / 0.7272 GB, free: 78.63 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01793/0.9914, allocations: 10.56 MB / 0.7376 GB, free: 75.95 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05585/1.047, allocations: 59.69 MB / 0.7958 GB, free: 30.82 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01015/1.058, allocations: 4.635 MB / 0.8004 GB, free: 29.05 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002659/1.06, allocations: 2.252 MB / 0.8026 GB, free: 28.08 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009909/1.07, allocations: 6.438 MB / 0.8089 GB, free: 24.85 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.597e-05/1.07, allocations: 65.84 kB / 0.8089 GB, free: 24.78 MB / 490.7 MB Notification: Performance of pre-optimization done (n=183): time 5.791e-06/1.07, allocations: 0 / 0.8089 GB, free: 24.78 MB / 490.7 MB Notification: Performance of matching and sorting (n=195): time 0.03559/1.106, allocations: 16.67 MB / 0.8252 GB, free: 13.88 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.296e-05/1.106, allocations: 231.1 kB / 0.8254 GB, free: 13.6 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006894/1.113, allocations: 5.861 MB / 0.8311 GB, free: 8.73 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003392/1.113, allocations: 57.7 kB / 0.8312 GB, free: 8.668 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001915/1.115, allocations: 4.14 MB / 0.8352 GB, free: 4.945 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007262/1.116, allocations: 0.7656 MB / 0.836 GB, free: 4.273 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003782/1.116, allocations: 140 kB / 0.8361 GB, free: 4.137 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003574/1.117, allocations: 0.6096 MB / 0.8367 GB, free: 3.609 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003261/1.12, allocations: 2.305 MB / 0.839 GB, free: 1.68 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007953/1.128, allocations: 6.941 MB / 0.8458 GB, free: 9.336 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01284/1.141, allocations: 9.944 MB / 0.8555 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001565/1.141, allocations: 48 kB / 0.8555 GB, free: 13.29 MB / 0.5105 GB Notification: Performance of matching and sorting (n=937) (initialization): time 0.02018/1.161, allocations: 9.285 MB / 0.8646 GB, free: 3.992 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001957/1.161, allocations: 76 kB / 0.8646 GB, free: 3.918 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002588/1.162, allocations: 167.9 kB / 0.8648 GB, free: 3.754 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001713/1.163, allocations: 0.5912 MB / 0.8654 GB, free: 3.156 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005934/1.169, allocations: 1.641 MB / 0.867 GB, free: 1.512 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2551/1.424, allocations: 5.744 MB / 0.8726 GB, free: 101.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005798/1.43, allocations: 385.8 kB / 0.873 GB, free: 101.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001489/1.432, allocations: 443.8 kB / 0.8734 GB, free: 101.6 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 731 * Number of states: 0 () * Number of discrete variables: 45 (Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (885): * Single equations (assignments): 880 * 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.006539/1.438, allocations: 2.706 MB / 0.876 GB, free: 101.5 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001111/1.439, allocations: 494 kB / 0.8765 GB, free: 101.5 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0052/1.445, allocations: 3.056 MB / 0.8795 GB, free: 101.4 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.317e-05/1.445, allocations: 21.69 kB / 0.8795 GB, free: 101.4 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.334e-05/1.445, allocations: 9.125 kB / 0.8795 GB, free: 101.4 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.023e-05/1.445, allocations: 11.16 kB / 0.8795 GB, free: 101.4 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01576/1.461, allocations: 8.479 MB / 0.8878 GB, free: 100.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.083e-05/1.461, allocations: 4.5 kB / 0.8878 GB, free: 100.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001532/1.462, allocations: 323.1 kB / 0.8881 GB, free: 100.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00097/1.463, allocations: 364.2 kB / 0.8885 GB, free: 100.8 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001743/1.463, allocations: 32.47 kB / 0.8885 GB, free: 100.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004551/1.468, allocations: 5.089 MB / 0.8935 GB, free: 98.11 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/1.468, allocations: 3.578 kB / 0.8935 GB, free: 98.11 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007623/1.476, allocations: 5.637 MB / 0.899 GB, free: 97.48 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002419/1.478, allocations: 0.8013 MB / 0.8998 GB, free: 97.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002016/1.48, allocations: 37.58 kB / 0.8998 GB, free: 97.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002819/1.483, allocations: 97.38 kB / 0.8999 GB, free: 97.38 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003361/1.483, allocations: 117.5 kB / 0.9 GB, free: 97.38 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00015/1.483, allocations: 55.44 kB / 0.9001 GB, free: 97.38 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.006927/1.49, allocations: 3.743 MB / 0.9037 GB, free: 97.2 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.91e-07/1.49, allocations: 2.719 kB / 0.9037 GB, free: 97.2 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007058/1.497, allocations: 1.229 MB / 0.9049 GB, free: 97.16 MB / 0.5105 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (154): * Single equations (assignments): 149 * 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.0005734/1.498, allocations: 180.3 kB / 0.9051 GB, free: 97.04 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0109/1.509, allocations: 5.718 MB / 0.9107 GB, free: 95.41 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.024e-05/1.509, allocations: 1.75 kB / 0.9107 GB, free: 95.41 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003059/1.512, allocations: 1.705 MB / 0.9123 GB, free: 94.68 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007997/1.52, allocations: 0.6291 MB / 0.9129 GB, free: 94.41 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02536/1.546, allocations: 13.83 MB / 0.9265 GB, free: 87.57 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00695/1.553, allocations: 4.131 MB / 0.9305 GB, free: 86.08 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.006736/1.559, allocations: 2.326 MB / 0.9328 GB, free: 86.03 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00119/1.56, allocations: 318 kB / 0.9331 GB, free: 86.02 MB / 0.5105 GB Notification: Performance of SimCode: time 8.71e-07/1.561, allocations: 4 kB / 0.9331 GB, free: 86.02 MB / 0.5105 GB Notification: Performance of Templates: time 0.08061/1.641, allocations: 43.49 MB / 0.9755 GB, free: 80.9 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameTorques/FrameTorques.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches