Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.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.InitializationConversion.Rotor1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rotor1D1.phi|rotor1D1.w|rotor1D10.phi|rotor1D10.w|rotor1D2.phi|rotor1D2.w|rotor1D3.phi|rotor1D3.w|rotor1D4.phi|rotor1D4.w|rotor1D5.phi|rotor1D5.w|rotor1D6.phi|rotor1D6.w|rotor1D7.phi|rotor1D7.w|rotor1D8.phi|rotor1D8.w|rotor1D9.phi|rotor1D9.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Rotor1D") translateModel(ModelicaTest.MultiBody.InitializationConversion.Rotor1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rotor1D1.phi|rotor1D1.w|rotor1D10.phi|rotor1D10.w|rotor1D2.phi|rotor1D2.w|rotor1D3.phi|rotor1D3.w|rotor1D4.phi|rotor1D4.w|rotor1D5.phi|rotor1D5.w|rotor1D6.phi|rotor1D6.w|rotor1D7.phi|rotor1D7.w|rotor1D8.phi|rotor1D8.w|rotor1D9.phi|rotor1D9.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Rotor1D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009527/0.0009527, allocations: 179 kB / 18.09 MB, free: 3.75 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.319/1.319, allocations: 223.3 MB / 242.1 MB, free: 11.69 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.0007938/0.0007939, allocations: 98.25 kB / 293.3 MB, free: 10.78 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.3359/0.3359, allocations: 44.14 MB / 388.5 MB, free: 38.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003803/0.0003804, allocations: 16 kB / 461.1 MB, free: 1.332 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3456/0.346, allocations: 61.87 MB / 0.5107 GB, free: 37.88 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1223/0.4683, allocations: 96.42 MB / 0.6049 GB, free: 14.66 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002494/0.4686, allocations: 83.94 kB / 0.605 GB, free: 14.59 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4836/0.9523, allocations: 91.38 MB / 0.6942 GB, free: 87.8 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.805e-06/0.9523, allocations: 3.344 kB / 0.6942 GB, free: 87.8 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003875/0.9527, allocations: 95.66 kB / 0.6943 GB, free: 87.8 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: 1705 * Number of variables: 1705 Notification: Performance of Generate backend data structure: time 0.0568/1.01, allocations: 9.628 MB / 0.7037 GB, free: 85.69 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/1.01, allocations: 6.938 kB / 0.7037 GB, free: 85.69 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00976/1.019, allocations: 2.061 MB / 0.7057 GB, free: 85.35 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01147/1.031, allocations: 3.482 MB / 0.7091 GB, free: 84.68 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006183/1.032, allocations: 355.4 kB / 0.7095 GB, free: 84.66 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003872/1.035, allocations: 476.5 kB / 0.7099 GB, free: 84.65 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04886/1.084, allocations: 15.47 MB / 0.725 GB, free: 81.89 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008224/1.085, allocations: 68.95 kB / 0.7251 GB, free: 81.88 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003669/1.089, allocations: 215.9 kB / 0.7253 GB, free: 81.88 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002525/1.091, allocations: 1.119 MB / 0.7264 GB, free: 81.86 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03765/1.129, allocations: 15.36 MB / 0.7414 GB, free: 77.82 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07553/1.205, allocations: 55.65 MB / 0.7957 GB, free: 38.68 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03791/1.243, allocations: 7.231 MB / 0.8028 GB, free: 34.66 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003685/1.246, allocations: 2.833 MB / 0.8056 GB, free: 31.81 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009083/1.256, allocations: 6.575 MB / 0.812 GB, free: 24.68 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.95e-05/1.256, allocations: 59.5 kB / 0.812 GB, free: 24.61 MB / 490.7 MB Notification: Performance of pre-optimization done (n=176): time 4.779e-06/1.256, allocations: 0 / 0.812 GB, free: 24.61 MB / 490.7 MB Notification: Performance of matching and sorting (n=176): time 0.005771/1.261, allocations: 3.737 MB / 0.8157 GB, free: 20.87 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.451e-05/1.261, allocations: 156.1 kB / 0.8158 GB, free: 20.69 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00977/1.271, allocations: 4.789 MB / 0.8205 GB, free: 15.89 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003316/1.272, allocations: 45.7 kB / 0.8206 GB, free: 15.84 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002392/1.274, allocations: 3.602 MB / 0.8241 GB, free: 12.24 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001126/1.275, allocations: 0.7246 MB / 0.8248 GB, free: 11.52 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006406/1.276, allocations: 132 kB / 0.8249 GB, free: 11.39 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0005809/1.276, allocations: 0.5832 MB / 0.8255 GB, free: 10.8 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003799/1.28, allocations: 2.203 MB / 0.8276 GB, free: 8.598 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005186/1.285, allocations: 6.5 MB / 0.834 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01238/1.298, allocations: 9.438 MB / 0.8432 GB, free: 4.387 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000119/1.298, allocations: 44 kB / 0.8432 GB, free: 4.344 MB / 0.4948 GB Notification: Performance of matching and sorting (n=873) (initialization): time 0.01674/1.315, allocations: 8.472 MB / 0.8515 GB, free: 11.87 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001378/1.315, allocations: 72 kB / 0.8516 GB, free: 11.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002262/1.315, allocations: 152 kB / 0.8517 GB, free: 11.65 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002416/1.315, allocations: 200 kB / 0.8519 GB, free: 11.45 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005778/1.321, allocations: 1.626 MB / 0.8535 GB, free: 9.824 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002989/1.322, allocations: 298.8 kB / 0.8538 GB, free: 9.531 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007203/1.329, allocations: 0.9237 MB / 0.8547 GB, free: 8.598 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001325/1.33, allocations: 448.2 kB / 0.8551 GB, free: 8.16 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 695 * Number of states: 0 () * Number of discrete variables: 42 (rotor1D10.cylinderColor[3],rotor1D10.cylinderColor[2],rotor1D10.cylinderColor[1],rotor1D9.cylinderColor[3],rotor1D9.cylinderColor[2],rotor1D9.cylinderColor[1],rotor1D8.cylinderColor[3],rotor1D8.cylinderColor[2],rotor1D8.cylinderColor[1],rotor1D7.cylinderColor[3],rotor1D7.cylinderColor[2],rotor1D7.cylinderColor[1],rotor1D6.cylinderColor[3],rotor1D6.cylinderColor[2],rotor1D6.cylinderColor[1],rotor1D5.cylinderColor[3],rotor1D5.cylinderColor[2],rotor1D5.cylinderColor[1],rotor1D4.cylinderColor[3],rotor1D4.cylinderColor[2],rotor1D4.cylinderColor[1],rotor1D3.cylinderColor[3],rotor1D3.cylinderColor[2],rotor1D3.cylinderColor[1],rotor1D2.cylinderColor[3],rotor1D2.cylinderColor[2],rotor1D2.cylinderColor[1],rotor1D1.cylinderColor[3],rotor1D1.cylinderColor[2],rotor1D1.cylinderColor[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (849): * Single equations (assignments): 846 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005251/1.335, allocations: 2.31 MB / 0.8574 GB, free: 5.844 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001046/1.336, allocations: 398.8 kB / 0.8577 GB, free: 5.449 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004994/1.341, allocations: 2.536 MB / 0.8602 GB, free: 2.91 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.461e-05/1.341, allocations: 27.94 kB / 0.8603 GB, free: 2.883 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.153e-05/1.341, allocations: 0 / 0.8603 GB, free: 2.883 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.115e-05/1.342, allocations: 7.969 kB / 0.8603 GB, free: 2.875 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01009/1.352, allocations: 4.281 MB / 0.8644 GB, free: 14.58 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-05/1.352, allocations: 0 / 0.8644 GB, free: 14.58 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001975/1.354, allocations: 343.5 kB / 0.8648 GB, free: 14.24 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.753e-05/1.354, allocations: 8 kB / 0.8648 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002827/1.354, allocations: 39.98 kB / 0.8648 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.867e-05/1.354, allocations: 11.88 kB / 0.8648 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.701e-06/1.354, allocations: 7.938 kB / 0.8648 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006761/1.361, allocations: 4.797 MB / 0.8695 GB, free: 9.359 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00153/1.362, allocations: 0.4993 MB / 0.87 GB, free: 8.836 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001106/1.363, allocations: 28 kB / 0.87 GB, free: 8.809 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001958/1.365, allocations: 67.88 kB / 0.8701 GB, free: 8.742 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002433/1.366, allocations: 108.7 kB / 0.8702 GB, free: 8.641 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001294/1.366, allocations: 48 kB / 0.8702 GB, free: 8.594 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.006614/1.372, allocations: 2.996 MB / 0.8732 GB, free: 5.602 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.11e-07/1.373, allocations: 0 / 0.8732 GB, free: 5.602 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007242/1.38, allocations: 1.344 MB / 0.8745 GB, free: 4.254 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 20 (rotor1D1.phi,rotor1D1.w,rotor1D2.phi,rotor1D2.w,rotor1D3.phi,rotor1D3.w,rotor1D4.phi,rotor1D4.w,rotor1D5.phi,rotor1D5.w,rotor1D6.phi,rotor1D6.w,rotor1D7.phi,rotor1D7.w,rotor1D8.phi,rotor1D8.w,rotor1D9.phi,rotor1D9.w,rotor1D10.phi,rotor1D10.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 (172): * Single equations (assignments): 169 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007033/1.38, allocations: 182 kB / 0.8747 GB, free: 4.066 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.2753/1.656, allocations: 4.996 MB / 0.8795 GB, free: 122.6 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.577e-06/1.656, allocations: 0 / 0.8795 GB, free: 122.6 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002047/1.658, allocations: 1.267 MB / 0.8808 GB, free: 122.6 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003581/1.661, allocations: 0.4955 MB / 0.8813 GB, free: 122.6 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01887/1.68, allocations: 12.52 MB / 0.8935 GB, free: 117.5 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003616/1.684, allocations: 3.57 MB / 0.897 GB, free: 116.6 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.005279/1.689, allocations: 2.061 MB / 0.899 GB, free: 116.5 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009658/1.69, allocations: 308.5 kB / 0.8993 GB, free: 116.4 MB / 0.5261 GB Notification: Performance of SimCode: time 8.11e-07/1.69, allocations: 4 kB / 0.8993 GB, free: 116.4 MB / 0.5261 GB Notification: Performance of Templates: time 0.07881/1.769, allocations: 40.4 MB / 0.9387 GB, free: 114.3 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Rotor1D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Rotor1D_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/InitializationConversion/Rotor1D/Rotor1D.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches