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.001286/0.001286, allocations: 198.4 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.286/1.286, allocations: 227.2 MB / 245 MB, free: 5.77 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007927/0.0007927, allocations: 110.2 kB / 297.3 MB, free: 5.957 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3061/0.3061, allocations: 45.22 MB / 394.7 MB, free: 31.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003378/0.0003378, allocations: 8 kB / 468.4 MB, free: 7.727 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2822/0.2825, allocations: 63.25 MB / 0.5192 GB, free: 37.53 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1143/0.3969, allocations: 97.42 MB / 0.6143 GB, free: 5.996 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001756/0.3971, allocations: 75.95 kB / 0.6144 GB, free: 5.922 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4979/0.8951, allocations: 92.21 MB / 0.7044 GB, free: 94.33 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.777e-06/0.8951, allocations: 3.141 kB / 0.7045 GB, free: 94.33 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004309/0.8955, allocations: 101.4 kB / 0.7045 GB, free: 94.33 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.06942/0.965, allocations: 10.2 MB / 0.7145 GB, free: 92.14 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.965, allocations: 13.22 kB / 0.7145 GB, free: 92.13 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009423/0.9745, allocations: 2.074 MB / 0.7166 GB, free: 91.79 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009878/0.9844, allocations: 3.422 MB / 0.7199 GB, free: 91.18 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003517/0.9848, allocations: 348.1 kB / 0.7202 GB, free: 91.16 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002987/0.9878, allocations: 476.9 kB / 0.7207 GB, free: 91.15 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04094/1.029, allocations: 15.43 MB / 0.7358 GB, free: 86.47 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003204/1.029, allocations: 57.89 kB / 0.7358 GB, free: 86.44 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002335/1.031, allocations: 223.8 kB / 0.736 GB, free: 86.32 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002252/1.034, allocations: 1.118 MB / 0.7371 GB, free: 86.12 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03584/1.07, allocations: 15.35 MB / 0.7521 GB, free: 81.41 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07098/1.141, allocations: 55.63 MB / 0.8064 GB, free: 28.53 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04363/1.184, allocations: 7.252 MB / 0.8135 GB, free: 21.13 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01013/1.194, allocations: 6.564 MB / 0.8199 GB, free: 14.02 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.271e-05/1.195, allocations: 55.52 kB / 0.82 GB, free: 13.96 MB / 490.7 MB Notification: Performance of pre-optimization done (n=176): time 4.568e-06/1.195, allocations: 0 / 0.82 GB, free: 13.96 MB / 490.7 MB Notification: Performance of matching and sorting (n=176): time 0.00552/1.2, allocations: 3.996 MB / 0.8239 GB, free: 9.898 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.403e-05/1.2, allocations: 145.5 kB / 0.824 GB, free: 9.727 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008925/1.209, allocations: 4.282 MB / 0.8282 GB, free: 5.441 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003622/1.209, allocations: 49.7 kB / 0.8282 GB, free: 5.387 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002291/1.212, allocations: 3.601 MB / 0.8318 GB, free: 1.785 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009081/1.213, allocations: 0.7222 MB / 0.8325 GB, free: 1.07 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003554/1.213, allocations: 132 kB / 0.8326 GB, free: 0.9414 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000255/1.213, allocations: 0.5871 MB / 0.8332 GB, free: 356 kB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003075/1.216, allocations: 2.203 MB / 0.8353 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006226/1.223, allocations: 6.472 MB / 0.8416 GB, free: 5.527 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005574/1.228, allocations: 3.705 MB / 0.8453 GB, free: 1.824 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.085e-05/1.228, allocations: 44 kB / 0.8453 GB, free: 1.781 MB / 0.4948 GB Notification: Performance of matching and sorting (n=873) (initialization): time 0.01579/1.244, allocations: 8.475 MB / 0.8536 GB, free: 9.301 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.638e-05/1.244, allocations: 72 kB / 0.8536 GB, free: 9.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001748/1.244, allocations: 152.1 kB / 0.8538 GB, free: 9.082 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002072/1.245, allocations: 232 kB / 0.854 GB, free: 8.855 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005517/1.25, allocations: 1.618 MB / 0.8556 GB, free: 7.234 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000232/1.25, allocations: 302.8 kB / 0.8559 GB, free: 6.938 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006074/1.257, allocations: 0.9275 MB / 0.8568 GB, free: 6.004 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001172/1.258, allocations: 443 kB / 0.8572 GB, free: 5.574 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.004223/1.262, allocations: 2.299 MB / 0.8595 GB, free: 3.262 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008877/1.263, allocations: 406.7 kB / 0.8598 GB, free: 2.859 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00405/1.267, allocations: 2.541 MB / 0.8623 GB, free: 312 kB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.78e-05/1.267, allocations: 23.95 kB / 0.8623 GB, free: 288 kB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.377e-06/1.267, allocations: 0 / 0.8623 GB, free: 288 kB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.002e-05/1.267, allocations: 11.97 kB / 0.8624 GB, free: 276 kB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007902/1.275, allocations: 4.284 MB / 0.8665 GB, free: 11.97 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.574e-05/1.275, allocations: 4 kB / 0.8665 GB, free: 11.96 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001942/1.277, allocations: 347.5 kB / 0.8669 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.765e-05/1.277, allocations: 8.844 kB / 0.8669 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00014/1.277, allocations: 32 kB / 0.8669 GB, free: 11.59 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.444e-05/1.277, allocations: 11.98 kB / 0.8669 GB, free: 11.57 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.72e-06/1.277, allocations: 7.891 kB / 0.8669 GB, free: 11.57 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006172/1.283, allocations: 4.891 MB / 0.8717 GB, free: 6.633 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001463/1.285, allocations: 499.3 kB / 0.8722 GB, free: 6.121 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004687/1.285, allocations: 32 kB / 0.8722 GB, free: 6.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001399/1.287, allocations: 59.94 kB / 0.8723 GB, free: 6.031 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002096/1.287, allocations: 101.1 kB / 0.8724 GB, free: 5.934 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001191/1.287, allocations: 55.92 kB / 0.8724 GB, free: 5.879 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.004812/1.292, allocations: 3 MB / 0.8754 GB, free: 2.883 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.11e-07/1.292, allocations: 0 / 0.8754 GB, free: 2.883 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005711/1.298, allocations: 1.358 MB / 0.8767 GB, free: 1.523 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.0004808/1.298, allocations: 186.5 kB / 0.8769 GB, free: 1.336 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.2649/1.563, allocations: 4.994 MB / 0.8817 GB, free: 129 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.123e-06/1.563, allocations: 3 kB / 0.8817 GB, free: 129 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001504/1.565, allocations: 1.266 MB / 0.883 GB, free: 129 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002565/1.567, allocations: 488.1 kB / 0.8834 GB, free: 129 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01907/1.586, allocations: 12.46 MB / 0.8956 GB, free: 123.8 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004475/1.591, allocations: 3.686 MB / 0.8992 GB, free: 122.9 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.00611/1.597, allocations: 2.054 MB / 0.9012 GB, free: 122.7 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001055/1.598, allocations: 312.3 kB / 0.9015 GB, free: 122.7 MB / 0.5261 GB Notification: Performance of SimCode: time 1.964e-06/1.598, allocations: 0 / 0.9015 GB, free: 122.7 MB / 0.5261 GB Notification: Performance of Templates: time 0.073/1.671, allocations: 40.23 MB / 0.9408 GB, free: 119 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/jenkins/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