Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.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.Parts.Rotor1D.Rotor1D_2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00217/0.00217, allocations: 178.3 kB / 17.41 MB, free: 4.285 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.133/3.133, allocations: 205.4 MB / 223.6 MB, free: 9 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.001238/0.001237, allocations: 97.53 kB / 271.9 MB, free: 8.246 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.6263/0.6263, allocations: 43.55 MB / 363.7 MB, free: 52.13 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006281/0.0006282, allocations: 19.94 kB / 432.6 MB, free: 5.883 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.231/0.2317, allocations: 58.85 MB / 491.4 MB, free: 10.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7009/0.9328, allocations: 108.7 MB / 0.5861 GB, free: 9.684 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004253/0.9333, allocations: 79.95 kB / 0.5861 GB, free: 9.605 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3333/1.267, allocations: 83.98 MB / 0.6682 GB, free: 5.086 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.833e-06/1.267, allocations: 0 / 0.6682 GB, free: 5.086 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0006792/1.267, allocations: 95.92 kB / 0.6682 GB, free: 4.992 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: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.03062/1.298, allocations: 4.618 MB / 0.6728 GB, free: 312 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001006/1.298, allocations: 8.031 kB / 0.6728 GB, free: 304 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.5083/1.807, allocations: 2.175 MB / 0.6749 GB, free: 90.97 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01698/1.824, allocations: 3.471 MB / 0.6783 GB, free: 90.66 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001089/1.825, allocations: 322.4 kB / 0.6786 GB, free: 90.64 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004435/1.829, allocations: 429.1 kB / 0.679 GB, free: 90.64 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04519/1.875, allocations: 10.74 MB / 0.6895 GB, free: 87.97 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004414/1.875, allocations: 60.03 kB / 0.6895 GB, free: 87.96 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00249/1.878, allocations: 212.4 kB / 0.6897 GB, free: 87.96 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002378/1.88, allocations: 1.015 MB / 0.6907 GB, free: 87.95 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02884/1.909, allocations: 9.002 MB / 0.6995 GB, free: 87.91 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1012/2.01, allocations: 47.48 MB / 0.7459 GB, free: 55.43 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01698/2.027, allocations: 3.615 MB / 0.7494 GB, free: 54.01 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004828/2.032, allocations: 1.83 MB / 0.7512 GB, free: 53.26 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01473/2.047, allocations: 4.723 MB / 0.7558 GB, free: 50.57 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.797e-05/2.047, allocations: 58.08 kB / 0.7559 GB, free: 50.52 MB / 490.7 MB Notification: Performance of pre-optimization done (n=142): time 1.108e-05/2.047, allocations: 0 / 0.7559 GB, free: 50.52 MB / 490.7 MB Notification: Performance of matching and sorting (n=148): time 0.04636/2.094, allocations: 12.12 MB / 0.7677 GB, free: 45.59 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001493/2.094, allocations: 143.1 kB / 0.7679 GB, free: 45.43 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01206/2.106, allocations: 4.089 MB / 0.7718 GB, free: 43.93 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006533/2.107, allocations: 48.56 kB / 0.7719 GB, free: 43.88 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003511/2.11, allocations: 3.154 MB / 0.775 GB, free: 41.45 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001352/2.112, allocations: 0.5927 MB / 0.7756 GB, free: 41.03 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007294/2.112, allocations: 111.2 kB / 0.7757 GB, free: 40.94 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004667/2.113, allocations: 0.5482 MB / 0.7762 GB, free: 40.53 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00467/2.117, allocations: 1.954 MB / 0.7781 GB, free: 39.91 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007998/2.126, allocations: 5.666 MB / 0.7836 GB, free: 34.18 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01364/2.139, allocations: 8.277 MB / 0.7917 GB, free: 27 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002059/2.14, allocations: 36.12 kB / 0.7918 GB, free: 27 MB / 490.7 MB Notification: Performance of matching and sorting (n=753) (initialization): time 0.02747/2.167, allocations: 8.075 MB / 0.7996 GB, free: 24.01 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002087/2.167, allocations: 62.16 kB / 0.7997 GB, free: 24.01 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003417/2.168, allocations: 129.3 kB / 0.7998 GB, free: 24.01 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003836/2.172, allocations: 0.9002 MB / 0.8007 GB, free: 23.88 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008045/2.18, allocations: 1.353 MB / 0.802 GB, free: 23.71 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00986/2.19, allocations: 4.789 MB / 0.8067 GB, free: 21.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008901/2.199, allocations: 316.5 kB / 0.807 GB, free: 21 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002381/2.201, allocations: 359.5 kB / 0.8073 GB, free: 20.95 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 601 * Number of states: 0 () * Number of discrete variables: 36 (rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],fixed.color[3],fixed.color[2],fixed.color[1],torque.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[1],torque.torqueColor[3],torque.torqueColor[2],torque.torqueColor[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],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],bodyCylinder.frameTranslation.color[3],bodyCylinder.frameTranslation.color[2],bodyCylinder.frameTranslation.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (714): * Single equations (assignments): 710 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008718/2.21, allocations: 2.091 MB / 0.8094 GB, free: 19.96 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00175/2.212, allocations: 345.4 kB / 0.8097 GB, free: 19.77 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00912/2.221, allocations: 2.897 MB / 0.8125 GB, free: 17.72 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.496e-05/2.221, allocations: 16 kB / 0.8126 GB, free: 17.7 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.046e-05/2.221, allocations: 4 kB / 0.8126 GB, free: 17.7 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.331e-05/2.221, allocations: 7.406 kB / 0.8126 GB, free: 17.7 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02464/2.246, allocations: 7.167 MB / 0.8196 GB, free: 11.97 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.896e-05/2.246, allocations: 0.75 kB / 0.8196 GB, free: 11.97 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002013/2.248, allocations: 245.8 kB / 0.8198 GB, free: 11.78 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002837/2.251, allocations: 0.7046 MB / 0.8205 GB, free: 11.32 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004809/2.251, allocations: 24 kB / 0.8205 GB, free: 11.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007348/2.259, allocations: 4.35 MB / 0.8248 GB, free: 7.406 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.172e-06/2.259, allocations: 3.938 kB / 0.8248 GB, free: 7.402 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01337/2.272, allocations: 5.152 MB / 0.8298 GB, free: 3.016 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003095/2.275, allocations: 0.6212 MB / 0.8304 GB, free: 2.422 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001714/2.277, allocations: 27.28 kB / 0.8304 GB, free: 2.398 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003263/2.28, allocations: 90.42 kB / 0.8305 GB, free: 2.34 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007166/2.281, allocations: 87.39 kB / 0.8306 GB, free: 2.289 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003689/2.282, allocations: 36 kB / 0.8306 GB, free: 2.254 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.009273/2.291, allocations: 2.556 MB / 0.8331 GB, free: 136 kB / 490.7 MB Notification: Performance of sort global known variables: time 1.232e-06/2.291, allocations: 0 / 0.8331 GB, free: 136 kB / 490.7 MB Notification: Performance of remove unused functions: time 0.01216/2.303, allocations: 0.9602 MB / 0.8341 GB, free: 15.18 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.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 (117): * Single equations (assignments): 113 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001205/2.304, allocations: 151.4 kB / 0.8342 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01536/2.32, allocations: 4.715 MB / 0.8388 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.791e-05/2.32, allocations: 0 / 0.8388 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004124/2.324, allocations: 1.394 MB / 0.8402 GB, free: 9.676 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007437/2.332, allocations: 411.1 kB / 0.8406 GB, free: 9.324 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03436/2.366, allocations: 11 MB / 0.8513 GB, free: 15.51 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00805/2.374, allocations: 3.247 MB / 0.8545 GB, free: 12.98 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001642/2.376, allocations: 284.7 kB / 0.8548 GB, free: 12.71 MB / 0.5105 GB Notification: Performance of SimCode: time 1.112e-06/2.376, allocations: 0 / 0.8548 GB, free: 12.71 MB / 0.5105 GB Notification: Performance of Templates: time 0.6301/3.006, allocations: 73.72 MB / 0.9268 GB, free: 93.3 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_2/Rotor1D_2.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches