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.001031/0.001031, allocations: 170.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.305/1.305, allocations: 221.5 MB / 230.7 MB, free: 7.562 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008656/0.0008656, allocations: 88.39 kB / 281.6 MB, free: 5.316 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.1819/0.1819, allocations: 44.14 MB / 376.5 MB, free: 3.039 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.296e-05/1.309e-05, allocations: 224 / 444.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1182, allocations: 61.92 MB / 0.4947 GB, free: 1.246 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4167/0.5349, allocations: 109.7 MB / 0.6018 GB, free: 2.773 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002696/0.5352, allocations: 83.95 kB / 0.6019 GB, free: 2.691 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.243/0.7783, allocations: 93.64 MB / 0.6933 GB, free: 4.418 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.793e-06/0.7783, allocations: 0 / 0.6933 GB, free: 4.418 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.00029/0.7786, allocations: 96 kB / 0.6934 GB, free: 4.324 MB / 0.4948 GB 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.3261/1.105, allocations: 5.356 MB / 0.6986 GB, free: 106.6 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.999e-05/1.105, allocations: 13.77 kB / 0.6987 GB, free: 106.6 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01167/1.116, allocations: 2.276 MB / 0.7009 GB, free: 106.2 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01326/1.13, allocations: 4.727 MB / 0.7055 GB, free: 105.9 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002367/1.13, allocations: 160.2 kB / 0.7057 GB, free: 105.9 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001929/1.132, allocations: 297.1 kB / 0.7059 GB, free: 105.9 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01582/1.148, allocations: 7.492 MB / 0.7133 GB, free: 105.9 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02104/1.169, allocations: 11.06 MB / 0.7241 GB, free: 103.1 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001812/1.169, allocations: 61.62 kB / 0.7241 GB, free: 103.1 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008793/1.17, allocations: 32.94 kB / 0.7241 GB, free: 103.1 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001405/1.171, allocations: 1.154 MB / 0.7253 GB, free: 103.1 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05527/1.227, allocations: 52.18 MB / 0.7762 GB, free: 69 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00444/1.231, allocations: 4.257 MB / 0.7804 GB, free: 66.89 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003036/1.234, allocations: 3.062 MB / 0.7834 GB, free: 65.61 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001246/1.236, allocations: 1.012 MB / 0.7844 GB, free: 64.73 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.075e-05/1.236, allocations: 58.11 kB / 0.7844 GB, free: 64.68 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=203): time 6.001e-06/1.236, allocations: 0 / 0.7844 GB, free: 64.68 MB / 0.4948 GB Notification: Performance of matching and sorting (n=234): time 0.04205/1.278, allocations: 21.96 MB / 0.8059 GB, free: 55.27 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.788e-05/1.278, allocations: 153 kB / 0.806 GB, free: 55.09 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004437/1.282, allocations: 3.201 MB / 0.8091 GB, free: 52.3 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006501/1.283, allocations: 25.7 kB / 0.8092 GB, free: 52.27 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001474/1.284, allocations: 3.494 MB / 0.8126 GB, free: 49.1 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009188/1.285, allocations: 0.8538 MB / 0.8134 GB, free: 48.34 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000299/1.286, allocations: 3.469 kB / 0.8134 GB, free: 48.34 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002666/1.286, allocations: 0.5891 MB / 0.814 GB, free: 47.82 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003096/1.289, allocations: 2.723 MB / 0.8166 GB, free: 45.42 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004902/1.294, allocations: 6.642 MB / 0.8231 GB, free: 37.32 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006115/1.3, allocations: 4.18 MB / 0.8272 GB, free: 33.78 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001353/1.3, allocations: 40 kB / 0.8272 GB, free: 33.74 MB / 0.4948 GB Notification: Performance of matching and sorting (n=880) (initialization): time 0.01777/1.318, allocations: 9.528 MB / 0.8365 GB, free: 25.66 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.411e-05/1.318, allocations: 67.95 kB / 0.8366 GB, free: 25.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001051/1.318, allocations: 140 kB / 0.8367 GB, free: 25.46 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002413/1.321, allocations: 1.129 MB / 0.8378 GB, free: 24.62 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005703/1.326, allocations: 1.678 MB / 0.8395 GB, free: 23.21 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005774/1.332, allocations: 5.624 MB / 0.845 GB, free: 18.26 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005563/1.338, allocations: 283.4 kB / 0.8453 GB, free: 18.04 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001434/1.339, allocations: 422.9 kB / 0.8457 GB, free: 17.66 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 639 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (841): * Single equations (assignments): 837 * 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.0009481/1.34, allocations: 470.4 kB / 0.8461 GB, free: 17.2 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000763/1.341, allocations: 355.4 kB / 0.8464 GB, free: 16.84 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007413/1.348, allocations: 5.021 MB / 0.8513 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.159e-05/1.348, allocations: 24 kB / 0.8514 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-05/1.348, allocations: 11.69 kB / 0.8514 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.794e-05/1.349, allocations: 9.516 kB / 0.8514 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01679/1.365, allocations: 10.52 MB / 0.8617 GB, free: 3.734 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.805e-05/1.365, allocations: 4 kB / 0.8617 GB, free: 3.73 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002517/1.368, allocations: 475.3 kB / 0.8621 GB, free: 3.266 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002242/1.37, allocations: 0.9391 MB / 0.863 GB, free: 2.324 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003429/1.371, allocations: 8 kB / 0.863 GB, free: 2.316 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006171/1.377, allocations: 5.343 MB / 0.8683 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.388e-06/1.377, allocations: 4 kB / 0.8683 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01275/1.39, allocations: 9.001 MB / 0.8771 GB, free: 3.746 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002267/1.392, allocations: 0.8126 MB / 0.8779 GB, free: 2.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009263/1.393, allocations: 11.75 kB / 0.8779 GB, free: 2.902 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002463/1.395, allocations: 139.8 kB / 0.878 GB, free: 2.766 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004229/1.396, allocations: 141.7 kB / 0.8781 GB, free: 2.629 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002015/1.396, allocations: 67.95 kB / 0.8782 GB, free: 2.562 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.00393/1.4, allocations: 2.131 MB / 0.8803 GB, free: 460 kB / 0.5105 GB Notification: Performance of sort global known variables: time 1.91e-07/1.4, allocations: 0 / 0.8803 GB, free: 460 kB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006511/1.406, allocations: 1.041 MB / 0.8813 GB, free: 15.41 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 () * 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.0006537/1.407, allocations: 161 kB / 0.8815 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01075/1.418, allocations: 6.494 MB / 0.8878 GB, free: 8.777 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.889e-06/1.418, allocations: 2.719 kB / 0.8878 GB, free: 8.777 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00377/1.422, allocations: 2.503 MB / 0.8902 GB, free: 6.273 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002459/1.424, allocations: 345.7 kB / 0.8906 GB, free: 5.941 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2947/1.719, allocations: 9.491 MB / 0.8998 GB, free: 123.8 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007288/1.726, allocations: 3.768 MB / 0.9035 GB, free: 123 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.007467/1.734, allocations: 2.215 MB / 0.9057 GB, free: 122.9 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00151/1.735, allocations: 278.9 kB / 0.9059 GB, free: 122.9 MB / 0.5261 GB Notification: Performance of SimCode: time 1.834e-06/1.735, allocations: 2.984 kB / 0.9059 GB, free: 122.9 MB / 0.5261 GB Notification: Performance of Templates: time 0.07237/1.808, allocations: 39.7 MB / 0.9447 GB, free: 121.4 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/jenkins/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