Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.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_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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001643/0.001643, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.508/1.508, allocations: 205.3 MB / 213.7 MB, free: 1.742 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008458/0.0008457, allocations: 91.97 kB / 261.7 MB, free: 1.688 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.1835/0.1835, allocations: 43.49 MB / 353.2 MB, free: 288 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.813e-05/1.814e-05, allocations: 4 kB / 418.3 MB, free: 28.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.101, allocations: 58.86 MB / 477.1 MB, free: 1.637 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3704/0.4714, allocations: 108.5 MB / 0.5719 GB, free: 3.262 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002417/0.4717, allocations: 85.42 kB / 0.572 GB, free: 3.219 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2365/0.7083, allocations: 96.37 MB / 0.6661 GB, free: 10.73 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.7083, allocations: 0 / 0.6661 GB, free: 10.73 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002299/0.7086, allocations: 104 kB / 0.6662 GB, free: 10.63 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1851 * Number of variables: 1851 Notification: Performance of Generate backend data structure: time 0.01969/0.7283, allocations: 5.511 MB / 0.6716 GB, free: 5.055 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.7283, allocations: 8.031 kB / 0.6716 GB, free: 5.047 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01063/0.739, allocations: 2.317 MB / 0.6739 GB, free: 2.719 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01274/0.7518, allocations: 4.98 MB / 0.6787 GB, free: 13.67 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002648/0.7521, allocations: 168 kB / 0.6789 GB, free: 13.51 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002193/0.7543, allocations: 315.6 kB / 0.6792 GB, free: 13.2 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01513/0.7694, allocations: 7.822 MB / 0.6868 GB, free: 5.375 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02406/0.7935, allocations: 11.49 MB / 0.6981 GB, free: 8.824 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002258/0.7938, allocations: 63.39 kB / 0.6981 GB, free: 8.762 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001007/0.7948, allocations: 32 kB / 0.6981 GB, free: 8.73 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001757/0.7966, allocations: 1.216 MB / 0.6993 GB, free: 7.508 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3731/1.17, allocations: 53.64 MB / 0.7517 GB, free: 84.38 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00541/1.175, allocations: 4.462 MB / 0.7561 GB, free: 83.7 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003544/1.179, allocations: 3.217 MB / 0.7592 GB, free: 83.67 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00139/1.18, allocations: 1.006 MB / 0.7602 GB, free: 82.82 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.965e-05/1.18, allocations: 65.97 kB / 0.7603 GB, free: 82.78 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=224): time 5.781e-06/1.18, allocations: 3.938 kB / 0.7603 GB, free: 82.78 MB / 0.4948 GB Notification: Performance of matching and sorting (n=255): time 0.04268/1.223, allocations: 22.93 MB / 0.7827 GB, free: 76.54 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.075e-05/1.223, allocations: 156.3 kB / 0.7828 GB, free: 76.38 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005483/1.228, allocations: 3.302 MB / 0.786 GB, free: 75.2 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0007872/1.229, allocations: 25.7 kB / 0.786 GB, free: 75.16 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002077/1.231, allocations: 3.616 MB / 0.7896 GB, free: 72.75 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001319/1.233, allocations: 0.9294 MB / 0.7905 GB, free: 72.06 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003338/1.233, allocations: 0.8438 kB / 0.7905 GB, free: 72.06 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003101/1.233, allocations: 0.603 MB / 0.7911 GB, free: 71.63 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003503/1.237, allocations: 2.883 MB / 0.7939 GB, free: 70.6 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005719/1.243, allocations: 6.951 MB / 0.8007 GB, free: 64.09 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006607/1.249, allocations: 4.397 MB / 0.805 GB, free: 62.74 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001217/1.249, allocations: 45.22 kB / 0.805 GB, free: 62.74 MB / 0.4948 GB Notification: Performance of matching and sorting (n=924) (initialization): time 0.01943/1.269, allocations: 9.978 MB / 0.8148 GB, free: 59.6 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001188/1.269, allocations: 71.23 kB / 0.8148 GB, free: 59.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002051/1.269, allocations: 150.4 kB / 0.815 GB, free: 59.59 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002774/1.272, allocations: 1.132 MB / 0.8161 GB, free: 59.41 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007019/1.279, allocations: 1.767 MB / 0.8178 GB, free: 59.21 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006239/1.285, allocations: 5.622 MB / 0.8233 GB, free: 54.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007048/1.292, allocations: 298.1 kB / 0.8236 GB, free: 54.06 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001833/1.294, allocations: 444.6 kB / 0.824 GB, free: 53.66 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 662 * Number of states: 0 () * Number of discrete variables: 42 (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.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (885): * Single equations (assignments): 881 * 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.001504/1.296, allocations: 485.5 kB / 0.8245 GB, free: 53.18 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00108/1.297, allocations: 367.3 kB / 0.8248 GB, free: 52.82 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008066/1.305, allocations: 5.369 MB / 0.8301 GB, free: 48.54 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.967e-05/1.305, allocations: 28 kB / 0.8301 GB, free: 48.51 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.502e-05/1.305, allocations: 4 kB / 0.8301 GB, free: 48.5 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.522e-05/1.305, allocations: 11.16 kB / 0.8301 GB, free: 48.5 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01825/1.323, allocations: 11.16 MB / 0.841 GB, free: 39.49 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.685e-05/1.323, allocations: 15.48 kB / 0.841 GB, free: 39.48 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002579/1.326, allocations: 0.5038 MB / 0.8415 GB, free: 39.09 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002218/1.328, allocations: 0.9381 MB / 0.8424 GB, free: 38.45 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002613/1.329, allocations: 12 kB / 0.8424 GB, free: 38.44 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005537/1.334, allocations: 5.345 MB / 0.8477 GB, free: 33.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.685e-06/1.334, allocations: 4 kB / 0.8477 GB, free: 33.73 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01223/1.346, allocations: 9.576 MB / 0.857 GB, free: 25.3 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002232/1.349, allocations: 0.8564 MB / 0.8578 GB, free: 24.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005321/1.349, allocations: 4 kB / 0.8578 GB, free: 24.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001981/1.351, allocations: 149.7 kB / 0.858 GB, free: 24.42 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003612/1.352, allocations: 156.7 kB / 0.8581 GB, free: 24.32 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001844/1.352, allocations: 67.52 kB / 0.8582 GB, free: 24.26 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.003212/1.355, allocations: 2.2 MB / 0.8604 GB, free: 22.36 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.41e-07/1.355, allocations: 0 / 0.8604 GB, free: 22.36 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006148/1.361, allocations: 1.091 MB / 0.8614 GB, free: 21.27 MB / 0.4948 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (228): * Single equations (assignments): 224 * 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.0005693/1.362, allocations: 154 kB / 0.8616 GB, free: 21.12 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.009673/1.371, allocations: 6.887 MB / 0.8683 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.167e-06/1.371, allocations: 8 kB / 0.8683 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003235/1.375, allocations: 2.659 MB / 0.8709 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00219/1.377, allocations: 352.1 kB / 0.8712 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01801/1.395, allocations: 9.986 MB / 0.881 GB, free: 3.41 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004177/1.399, allocations: 3.911 MB / 0.8848 GB, free: 52 kB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.006521/1.406, allocations: 2.317 MB / 0.8871 GB, free: 13.74 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001205/1.407, allocations: 295.3 kB / 0.8873 GB, free: 13.45 MB / 0.5105 GB Notification: Performance of SimCode: time 1.393e-06/1.407, allocations: 0 / 0.8873 GB, free: 13.45 MB / 0.5105 GB Notification: Performance of Templates: time 0.3898/1.797, allocations: 41.19 MB / 0.9276 GB, free: 113.2 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_3/Rotor1D_3.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches