Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.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.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_trunk_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_trunk_ModelicaTest.MultiBody.InitializationConversion.Rotor1D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002045/0.002045, allocations: 196.8 kB / 18.11 MB, free: 3.734 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.533/1.533, allocations: 226.5 MB / 245.4 MB, free: 6.465 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007986/0.0007987, allocations: 92.38 kB / 297.5 MB, free: 6.656 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3161/0.3161, allocations: 44.82 MB / 394.3 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002441/0.0002441, allocations: 8 kB / 467.9 MB, free: 12.04 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3198/0.3201, allocations: 62.96 MB / 0.5184 GB, free: 37.5 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1299/0.45, allocations: 97.32 MB / 0.6135 GB, free: 7.957 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002573/0.4503, allocations: 87.94 kB / 0.6135 GB, free: 7.875 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4953/0.9456, allocations: 91.51 MB / 0.7029 GB, free: 92.17 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.9457, allocations: 0 / 0.7029 GB, free: 92.17 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000334/0.946, allocations: 99.27 kB / 0.703 GB, free: 92.17 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.05621/1.002, allocations: 9.85 MB / 0.7126 GB, free: 89.98 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/1.002, allocations: 12.06 kB / 0.7126 GB, free: 89.98 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009716/1.012, allocations: 2.071 MB / 0.7147 GB, free: 89.64 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009817/1.022, allocations: 3.477 MB / 0.7181 GB, free: 88.96 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004833/1.022, allocations: 349.8 kB / 0.7184 GB, free: 88.95 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003303/1.026, allocations: 484.6 kB / 0.7189 GB, free: 88.93 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04171/1.067, allocations: 15.46 MB / 0.734 GB, free: 85.12 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002645/1.068, allocations: 67.06 kB / 0.734 GB, free: 85.11 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00202/1.07, allocations: 218.1 kB / 0.7342 GB, free: 84.99 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002213/1.072, allocations: 1.121 MB / 0.7353 GB, free: 84.8 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03475/1.107, allocations: 15.35 MB / 0.7503 GB, free: 80.09 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06323/1.17, allocations: 55.65 MB / 0.8047 GB, free: 31.83 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03507/1.205, allocations: 7.234 MB / 0.8117 GB, free: 24.45 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003498/1.209, allocations: 2.847 MB / 0.8145 GB, free: 21.59 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008597/1.217, allocations: 6.561 MB / 0.8209 GB, free: 14.48 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.266e-05/1.217, allocations: 55.5 kB / 0.821 GB, free: 14.41 MB / 490.7 MB Notification: Performance of pre-optimization done (n=176): time 4.899e-06/1.217, allocations: 0 / 0.821 GB, free: 14.41 MB / 490.7 MB Notification: Performance of matching and sorting (n=176): time 0.005137/1.223, allocations: 3.744 MB / 0.8246 GB, free: 10.67 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.748e-05/1.223, allocations: 145.5 kB / 0.8248 GB, free: 10.5 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007123/1.23, allocations: 4.789 MB / 0.8294 GB, free: 5.699 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002986/1.23, allocations: 53.7 kB / 0.8295 GB, free: 5.641 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001826/1.232, allocations: 3.599 MB / 0.833 GB, free: 2.043 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008401/1.233, allocations: 0.7193 MB / 0.8337 GB, free: 1.328 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002869/1.233, allocations: 136 kB / 0.8338 GB, free: 1.195 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003118/1.233, allocations: 0.5832 MB / 0.8344 GB, free: 0.6055 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003312/1.237, allocations: 2.211 MB / 0.8366 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0068/1.244, allocations: 6.488 MB / 0.8429 GB, free: 5.762 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01116/1.255, allocations: 9.445 MB / 0.8521 GB, free: 10.18 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001341/1.255, allocations: 44 kB / 0.8522 GB, free: 10.14 MB / 0.5105 GB Notification: Performance of matching and sorting (n=873) (initialization): time 0.01729/1.272, allocations: 8.474 MB / 0.8604 GB, free: 1.66 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001887/1.272, allocations: 68 kB / 0.8605 GB, free: 1.594 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002671/1.273, allocations: 152 kB / 0.8606 GB, free: 1.445 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002989/1.273, allocations: 203.9 kB / 0.8608 GB, free: 1.246 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006711/1.28, allocations: 1.623 MB / 0.8624 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003353/1.28, allocations: 298.9 kB / 0.8627 GB, free: 15.33 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006511/1.287, allocations: 0.9311 MB / 0.8636 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001572/1.288, allocations: 446.6 kB / 0.864 GB, free: 13.96 MB / 0.5261 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.006085/1.294, allocations: 2.303 MB / 0.8663 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001231/1.296, allocations: 398.8 kB / 0.8667 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004999/1.301, allocations: 2.549 MB / 0.8692 GB, free: 8.688 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.953e-05/1.301, allocations: 20 kB / 0.8692 GB, free: 8.668 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-05/1.301, allocations: 0 / 0.8692 GB, free: 8.668 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.127e-05/1.301, allocations: 7.969 kB / 0.8692 GB, free: 8.66 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01024/1.311, allocations: 4.283 MB / 0.8734 GB, free: 4.363 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.522e-05/1.311, allocations: 4 kB / 0.8734 GB, free: 4.359 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002071/1.313, allocations: 343.5 kB / 0.8737 GB, free: 4.023 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.203e-05/1.313, allocations: 7.984 kB / 0.8737 GB, free: 4.016 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003085/1.313, allocations: 43.94 kB / 0.8738 GB, free: 3.973 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-05/1.314, allocations: 8 kB / 0.8738 GB, free: 3.965 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/1.314, allocations: 0 / 0.8738 GB, free: 3.965 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3273/1.641, allocations: 4.795 MB / 0.8784 GB, free: 124.6 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002491/1.643, allocations: 498.6 kB / 0.8789 GB, free: 124.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002067/1.646, allocations: 42.36 kB / 0.879 GB, free: 124.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004031/1.65, allocations: 63.3 kB / 0.879 GB, free: 124.5 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006792/1.65, allocations: 92.61 kB / 0.8791 GB, free: 124.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003904/1.651, allocations: 53.12 kB / 0.8792 GB, free: 124.5 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0104/1.661, allocations: 2.994 MB / 0.8821 GB, free: 124.3 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.705e-06/1.661, allocations: 0 / 0.8821 GB, free: 124.3 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01148/1.673, allocations: 1.359 MB / 0.8834 GB, free: 124.3 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.0009415/1.674, allocations: 182.6 kB / 0.8836 GB, free: 124.2 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01307/1.687, allocations: 5.001 MB / 0.8885 GB, free: 124.2 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.957e-06/1.687, allocations: 0 / 0.8885 GB, free: 124.2 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0032/1.69, allocations: 1.274 MB / 0.8897 GB, free: 124.2 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008261/1.698, allocations: 0.4966 MB / 0.8902 GB, free: 124.2 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03532/1.734, allocations: 12.51 MB / 0.9024 GB, free: 118.9 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01128/1.745, allocations: 3.58 MB / 0.9059 GB, free: 118.1 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.01297/1.758, allocations: 2.057 MB / 0.9079 GB, free: 117.9 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002679/1.761, allocations: 314.5 kB / 0.9082 GB, free: 117.9 MB / 0.5261 GB Notification: Performance of SimCode: time 3.717e-06/1.761, allocations: 1.188 kB / 0.9082 GB, free: 117.9 MB / 0.5261 GB Notification: Performance of Templates: time 0.09143/1.852, allocations: 40.4 MB / 0.9477 GB, free: 115.1 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.InitializationConversion.Rotor1D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches