Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.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.Parts.Rotor1D.Rotor1D_3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|r1.phi|r1.w|r2.phi|r2.w|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|r1.phi|r1.w|r2.phi|r2.w|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001111/0.001111, allocations: 178.5 kB / 18.09 MB, free: 3.746 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.392/1.392, allocations: 223.3 MB / 242.1 MB, free: 9.965 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007763/0.0007758, allocations: 97.97 kB / 293.3 MB, free: 10.55 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3101/0.3101, allocations: 44.15 MB / 388.5 MB, free: 38.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003682/0.0003683, allocations: 12 kB / 461.1 MB, free: 1.551 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3268/0.3272, allocations: 61.89 MB / 0.5107 GB, free: 37.81 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.142/0.4692, allocations: 110.6 MB / 0.6187 GB, free: 496 kB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002714/0.4695, allocations: 91.94 kB / 0.6188 GB, free: 408 kB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5019/0.9715, allocations: 94.49 MB / 0.7111 GB, free: 95.5 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.945e-06/0.9715, allocations: 1.375 kB / 0.7111 GB, free: 95.5 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004185/0.9719, allocations: 104.2 kB / 0.7112 GB, free: 95.49 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: 1765 * Number of variables: 1765 Notification: Performance of Generate backend data structure: time 0.02195/0.9939, allocations: 5.384 MB / 0.7164 GB, free: 93.38 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.432e-05/0.994, allocations: 9.219 kB / 0.7164 GB, free: 93.38 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01164/1.006, allocations: 2.245 MB / 0.7186 GB, free: 93.03 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01004/1.016, allocations: 3.687 MB / 0.7222 GB, free: 92.27 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004687/1.016, allocations: 381 kB / 0.7226 GB, free: 92.26 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002451/1.019, allocations: 0.4986 MB / 0.7231 GB, free: 92.25 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02872/1.047, allocations: 12.46 MB / 0.7352 GB, free: 86.05 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003288/1.048, allocations: 63.64 kB / 0.7353 GB, free: 86.01 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002089/1.05, allocations: 239.9 kB / 0.7355 GB, free: 85.88 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001649/1.052, allocations: 1.147 MB / 0.7367 GB, free: 85.67 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02224/1.074, allocations: 10.75 MB / 0.7472 GB, free: 82.34 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05835/1.132, allocations: 54.21 MB / 0.8001 GB, free: 41.41 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01227/1.145, allocations: 5.041 MB / 0.805 GB, free: 37.21 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003394/1.148, allocations: 3.161 MB / 0.8081 GB, free: 34.09 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001143/1.149, allocations: 1.02 MB / 0.8091 GB, free: 32.92 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.911e-05/1.149, allocations: 51.81 kB / 0.8092 GB, free: 32.86 MB / 490.7 MB Notification: Performance of pre-optimization done (n=203): time 4.839e-06/1.149, allocations: 4 kB / 0.8092 GB, free: 32.86 MB / 490.7 MB Notification: Performance of matching and sorting (n=234): time 0.05589/1.205, allocations: 24.48 MB / 0.8331 GB, free: 8.262 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.314e-05/1.205, allocations: 154.5 kB / 0.8332 GB, free: 8.078 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005756/1.211, allocations: 4.415 MB / 0.8375 GB, free: 3.641 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007289/1.212, allocations: 57.7 kB / 0.8376 GB, free: 3.578 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001844/1.214, allocations: 3.438 MB / 0.8409 GB, free: 144 kB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001366/1.215, allocations: 0.8876 MB / 0.8418 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000367/1.215, allocations: 128 kB / 0.8419 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0004015/1.216, allocations: 0.5828 MB / 0.8425 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004241/1.22, allocations: 2.886 MB / 0.8453 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00686/1.227, allocations: 6.727 MB / 0.8519 GB, free: 3.023 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01551/1.242, allocations: 10.4 MB / 0.862 GB, free: 6.734 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001386/1.243, allocations: 40 kB / 0.8621 GB, free: 6.695 MB / 0.5105 GB Notification: Performance of matching and sorting (n=856) (initialization): time 0.02211/1.265, allocations: 10.44 MB / 0.8723 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001013/1.265, allocations: 64 kB / 0.8723 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001554/1.265, allocations: 132 kB / 0.8725 GB, free: 12.05 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002647/1.268, allocations: 1.115 MB / 0.8735 GB, free: 10.94 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006371/1.274, allocations: 1.637 MB / 0.8751 GB, free: 9.297 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007527/1.282, allocations: 5.919 MB / 0.8809 GB, free: 3.238 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006488/1.288, allocations: 411.5 kB / 0.8813 GB, free: 2.84 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001726/1.29, allocations: 407.9 kB / 0.8817 GB, free: 2.441 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 615 * Number of states: 0 () * Number of discrete variables: 44 (fixed.color[3],fixed.color[2],fixed.color[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.cylinderColor[1],rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],torque.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[1],torque.torqueArrow.arrowLine.twoHeadedArrow,torque.torqueArrow.headAtOrigin,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 (817): * Single equations (assignments): 813 * 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.007903/1.298, allocations: 2.346 MB / 0.884 GB, free: 84 kB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.3226/1.62, allocations: 396.6 kB / 0.8844 GB, free: 131.4 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009925/1.63, allocations: 5.297 MB / 0.8895 GB, free: 131.2 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.16e-05/1.63, allocations: 27.62 kB / 0.8896 GB, free: 131.2 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.729e-05/1.631, allocations: 8.328 kB / 0.8896 GB, free: 131.2 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.419e-05/1.631, allocations: 10.78 kB / 0.8896 GB, free: 131.2 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01984/1.65, allocations: 11.68 MB / 0.901 GB, free: 130.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.516e-05/1.65, allocations: 2.75 kB / 0.901 GB, free: 130.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002273/1.653, allocations: 479.7 kB / 0.9015 GB, free: 130.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002253/1.655, allocations: 0.9395 MB / 0.9024 GB, free: 130.4 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002512/1.655, allocations: 46.64 kB / 0.9024 GB, free: 130.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006405/1.662, allocations: 5.654 MB / 0.9079 GB, free: 127.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.611e-06/1.662, allocations: 7.578 kB / 0.908 GB, free: 127.5 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01532/1.677, allocations: 9.033 MB / 0.9168 GB, free: 124.1 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002624/1.68, allocations: 0.8696 MB / 0.9176 GB, free: 123.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001143/1.681, allocations: 44.22 kB / 0.9177 GB, free: 123.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002369/1.683, allocations: 172.7 kB / 0.9178 GB, free: 123.8 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004662/1.684, allocations: 150.1 kB / 0.918 GB, free: 123.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001893/1.684, allocations: 62.44 kB / 0.918 GB, free: 123.7 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.005186/1.689, allocations: 2.763 MB / 0.9207 GB, free: 122.8 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.81e-07/1.689, allocations: 0 / 0.9207 GB, free: 122.8 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00689/1.696, allocations: 1.207 MB / 0.9219 GB, free: 122.6 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 8 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w,r1.phi,r1.w,r2.phi,r2.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 (206): * Single equations (assignments): 202 * 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 Backend phase and start with SimCode phase: time 0.0006876/1.697, allocations: 191.2 kB / 0.9221 GB, free: 122.5 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01038/1.707, allocations: 6.902 MB / 0.9288 GB, free: 120.4 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.608e-06/1.707, allocations: 0 / 0.9288 GB, free: 120.4 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003535/1.711, allocations: 2.611 MB / 0.9314 GB, free: 119.4 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005252/1.716, allocations: 480.2 kB / 0.9318 GB, free: 119.2 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02267/1.739, allocations: 13.5 MB / 0.945 GB, free: 112.6 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004236/1.743, allocations: 3.664 MB / 0.9486 GB, free: 111.2 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.005702/1.749, allocations: 2.196 MB / 0.9507 GB, free: 111 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001366/1.75, allocations: 301.8 kB / 0.951 GB, free: 111 MB / 0.5261 GB Notification: Performance of SimCode: time 1.212e-06/1.75, allocations: 0 / 0.951 GB, free: 111 MB / 0.5261 GB Notification: Performance of Templates: time 0.0757/1.826, allocations: 46.1 MB / 0.996 GB, free: 83.41 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_3/Rotor1D_3.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches