Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001093/0.001093, allocations: 200.7 kB / 18.11 MB, free: 3.719 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.379/1.379, allocations: 226.5 MB / 245.4 MB, free: 8.168 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008744/0.0008744, allocations: 105.1 kB / 297.5 MB, free: 6.859 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3126/0.3126, allocations: 44.82 MB / 394.3 MB, free: 35.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002473/0.0002472, allocations: 11.98 kB / 467.9 MB, free: 12 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3223/0.3226, allocations: 62.95 MB / 0.5184 GB, free: 37.31 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1311/0.4537, allocations: 111.3 MB / 0.6271 GB, free: 9.906 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002862/0.4541, allocations: 91.94 kB / 0.6272 GB, free: 9.82 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4928/0.9469, allocations: 94.63 MB / 0.7196 GB, free: 100.1 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.801e-06/0.947, allocations: 1.125 kB / 0.7196 GB, free: 100.1 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002971/0.9473, allocations: 98.92 kB / 0.7197 GB, free: 100.1 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.02191/0.9692, allocations: 5.481 MB / 0.7251 GB, free: 97.57 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.9693, allocations: 10.56 kB / 0.7251 GB, free: 97.57 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01022/0.9795, allocations: 2.298 MB / 0.7273 GB, free: 97.21 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009134/0.9887, allocations: 3.591 MB / 0.7308 GB, free: 95.52 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003616/0.9891, allocations: 381.6 kB / 0.7312 GB, free: 95.37 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002396/0.9915, allocations: 0.4902 MB / 0.7317 GB, free: 95.23 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02374/1.015, allocations: 12.45 MB / 0.7438 GB, free: 89.02 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001922/1.015, allocations: 72.34 kB / 0.7439 GB, free: 88.98 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007953/1.016, allocations: 246.6 kB / 0.7441 GB, free: 88.84 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001396/1.018, allocations: 1.148 MB / 0.7453 GB, free: 88.64 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02356/1.041, allocations: 10.75 MB / 0.7558 GB, free: 85.31 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07385/1.115, allocations: 54.21 MB / 0.8087 GB, free: 32.54 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01281/1.128, allocations: 5.039 MB / 0.8136 GB, free: 27.35 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003435/1.131, allocations: 3.178 MB / 0.8167 GB, free: 24.17 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001132/1.133, allocations: 1.004 MB / 0.8177 GB, free: 23.01 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.978e-05/1.133, allocations: 59.81 kB / 0.8178 GB, free: 22.94 MB / 490.7 MB Notification: Performance of pre-optimization done (n=203): time 5.089e-06/1.133, allocations: 0 / 0.8178 GB, free: 22.94 MB / 490.7 MB Notification: Performance of matching and sorting (n=234): time 0.06702/1.2, allocations: 24.49 MB / 0.8417 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.743e-05/1.2, allocations: 154.5 kB / 0.8418 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006617/1.206, allocations: 4.407 MB / 0.8461 GB, free: 9.727 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006307/1.207, allocations: 61.7 kB / 0.8462 GB, free: 9.66 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002558/1.21, allocations: 3.434 MB / 0.8495 GB, free: 6.223 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001184/1.211, allocations: 0.8921 MB / 0.8504 GB, free: 5.34 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003053/1.211, allocations: 128 kB / 0.8505 GB, free: 5.215 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003965/1.212, allocations: 0.5867 MB / 0.8511 GB, free: 4.621 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004499/1.216, allocations: 2.882 MB / 0.8539 GB, free: 1.734 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007189/1.223, allocations: 6.727 MB / 0.8605 GB, free: 9.109 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01306/1.236, allocations: 10.4 MB / 0.8707 GB, free: 12.81 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001137/1.237, allocations: 36 kB / 0.8707 GB, free: 12.78 MB / 0.5261 GB Notification: Performance of matching and sorting (n=856) (initialization): time 0.01999/1.257, allocations: 10.45 MB / 0.8809 GB, free: 2.316 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.014e-05/1.257, allocations: 64.19 kB / 0.8809 GB, free: 2.254 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001631/1.257, allocations: 136.3 kB / 0.8811 GB, free: 2.121 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002716/1.26, allocations: 1.109 MB / 0.8822 GB, free: 1.008 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2873/1.547, allocations: 1.628 MB / 0.8837 GB, free: 129.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007352/1.554, allocations: 5.923 MB / 0.8895 GB, free: 128.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00828/1.563, allocations: 415.2 kB / 0.8899 GB, free: 128.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001948/1.565, allocations: 410.2 kB / 0.8903 GB, free: 128.5 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.006372/1.571, allocations: 2.338 MB / 0.8926 GB, free: 128.4 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009467/1.572, allocations: 395.4 kB / 0.893 GB, free: 128.4 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008716/1.581, allocations: 5.301 MB / 0.8982 GB, free: 128.2 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.143e-05/1.581, allocations: 30.11 kB / 0.8982 GB, free: 128.2 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.249e-05/1.581, allocations: 7.969 kB / 0.8982 GB, free: 128.2 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.024e-05/1.581, allocations: 15.98 kB / 0.8982 GB, free: 128.2 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02167/1.603, allocations: 11.66 MB / 0.9096 GB, free: 124.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.217e-05/1.603, allocations: 4.141 kB / 0.9096 GB, free: 124.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002657/1.605, allocations: 479.5 kB / 0.9101 GB, free: 124.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002781/1.608, allocations: 0.9378 MB / 0.911 GB, free: 124.2 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003621/1.608, allocations: 49.41 kB / 0.911 GB, free: 124.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008231/1.617, allocations: 5.653 MB / 0.9165 GB, free: 121.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.165e-05/1.617, allocations: 6.219 kB / 0.9165 GB, free: 121.3 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01466/1.631, allocations: 9.029 MB / 0.9254 GB, free: 117.9 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00265/1.634, allocations: 0.8698 MB / 0.9262 GB, free: 117.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006261/1.635, allocations: 33.84 kB / 0.9262 GB, free: 117.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001887/1.637, allocations: 180 kB / 0.9264 GB, free: 117.6 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004145/1.637, allocations: 149.9 kB / 0.9266 GB, free: 117.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001747/1.637, allocations: 66.61 kB / 0.9266 GB, free: 117.5 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.004154/1.641, allocations: 2.757 MB / 0.9293 GB, free: 116.6 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.31e-07/1.641, allocations: 2.438 kB / 0.9293 GB, free: 116.6 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006148/1.648, allocations: 1.207 MB / 0.9305 GB, free: 116.5 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.0005671/1.648, allocations: 195.6 kB / 0.9307 GB, free: 116.3 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.009703/1.658, allocations: 6.909 MB / 0.9374 GB, free: 114.2 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.677e-06/1.658, allocations: 2.031 kB / 0.9374 GB, free: 114.2 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003346/1.661, allocations: 2.603 MB / 0.94 GB, free: 113.2 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006143/1.667, allocations: 487.6 kB / 0.9404 GB, free: 113 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02258/1.69, allocations: 13.5 MB / 0.9536 GB, free: 106.3 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00409/1.694, allocations: 3.667 MB / 0.9572 GB, free: 104.9 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.005428/1.7, allocations: 2.199 MB / 0.9594 GB, free: 104.8 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001115/1.701, allocations: 302.6 kB / 0.9596 GB, free: 104.7 MB / 0.5261 GB Notification: Performance of SimCode: time 7.32e-07/1.701, allocations: 3.625 kB / 0.9596 GB, free: 104.7 MB / 0.5261 GB Notification: Performance of Templates: time 0.07057/1.771, allocations: 46.08 MB / 1.005 GB, free: 68.81 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches