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.001047/0.001047, allocations: 196.8 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.224/1.224, allocations: 225.4 MB / 240.1 MB, free: 15.14 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008296/0.0008296, allocations: 96.33 kB / 292.1 MB, free: 5.914 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1683/0.1683, allocations: 45.15 MB / 389.3 MB, free: 11.88 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.628e-05/2.63e-05, allocations: 0 / 460.4 MB, free: 70.04 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09432/0.09436, allocations: 63.25 MB / 0.5114 GB, free: 6.809 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3607/0.4551, allocations: 97.35 MB / 0.6064 GB, free: 12.77 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002147/0.4554, allocations: 72.72 kB / 0.6065 GB, free: 12.74 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2144/0.6698, allocations: 92.31 MB / 0.6966 GB, free: 8.395 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.6698, allocations: 0 / 0.6966 GB, free: 8.395 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002114/0.67, allocations: 100 kB / 0.6967 GB, free: 8.297 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.05925/0.7293, allocations: 9.889 MB / 0.7064 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.743e-05/0.7293, allocations: 11.97 kB / 0.7064 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009118/0.7385, allocations: 2.076 MB / 0.7084 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007955/0.7465, allocations: 3.406 MB / 0.7118 GB, free: 8.77 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003981/0.7469, allocations: 345.1 kB / 0.7121 GB, free: 8.43 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002696/0.7496, allocations: 495.5 kB / 0.7126 GB, free: 7.945 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03849/0.7881, allocations: 15.33 MB / 0.7275 GB, free: 7.605 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001791/0.7883, allocations: 55.47 kB / 0.7276 GB, free: 7.551 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001054/0.7894, allocations: 223.8 kB / 0.7278 GB, free: 7.332 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002149/0.7915, allocations: 1.12 MB / 0.7289 GB, free: 6.207 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03575/0.8273, allocations: 15.18 MB / 0.7437 GB, free: 6.996 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3243/1.152, allocations: 55.62 MB / 0.798 GB, free: 88.75 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04104/1.193, allocations: 7.209 MB / 0.8051 GB, free: 88.08 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003744/1.197, allocations: 2.816 MB / 0.8078 GB, free: 88.04 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007509/1.204, allocations: 6.567 MB / 0.8142 GB, free: 84.45 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.458e-05/1.204, allocations: 55.09 kB / 0.8143 GB, free: 84.41 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=176): time 4.088e-06/1.204, allocations: 0 / 0.8143 GB, free: 84.41 MB / 0.5261 GB Notification: Performance of matching and sorting (n=176): time 0.003271/1.207, allocations: 2.688 MB / 0.8169 GB, free: 84.12 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.18e-05/1.207, allocations: 158 kB / 0.8171 GB, free: 83.96 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004781/1.212, allocations: 4.24 MB / 0.8212 GB, free: 83.56 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001045/1.212, allocations: 51.42 kB / 0.8213 GB, free: 83.53 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001444/1.214, allocations: 3.589 MB / 0.8248 GB, free: 81.92 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004231/1.214, allocations: 0.722 MB / 0.8255 GB, free: 81.53 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002189/1.214, allocations: 134.7 kB / 0.8256 GB, free: 81.53 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002442/1.215, allocations: 0.5819 MB / 0.8262 GB, free: 81.14 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002338/1.217, allocations: 2.168 MB / 0.8283 GB, free: 80.42 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00358/1.221, allocations: 6.427 MB / 0.8346 GB, free: 73.94 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003874/1.225, allocations: 3.712 MB / 0.8382 GB, free: 72.72 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.594e-05/1.225, allocations: 47.22 kB / 0.8382 GB, free: 72.72 MB / 0.5261 GB Notification: Performance of matching and sorting (n=873) (initialization): time 0.01075/1.235, allocations: 8.384 MB / 0.8464 GB, free: 69.98 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 8.36e-05/1.235, allocations: 79.75 kB / 0.8465 GB, free: 69.97 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000132/1.236, allocations: 149.9 kB / 0.8466 GB, free: 69.97 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001826/1.236, allocations: 222.2 kB / 0.8469 GB, free: 69.97 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004435/1.24, allocations: 1.62 MB / 0.8484 GB, free: 69.78 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001554/1.24, allocations: 306.4 kB / 0.8487 GB, free: 69.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004845/1.245, allocations: 0.928 MB / 0.8496 GB, free: 69.11 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005713/1.246, allocations: 440.9 kB / 0.8501 GB, free: 69.06 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 () * 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.0006733/1.247, allocations: 0.629 MB / 0.8507 GB, free: 68.54 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006446/1.247, allocations: 400.5 kB / 0.851 GB, free: 68.32 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003353/1.251, allocations: 2.523 MB / 0.8535 GB, free: 67.36 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.627e-05/1.251, allocations: 19.16 kB / 0.8535 GB, free: 67.36 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.103e-05/1.251, allocations: 3.781 kB / 0.8535 GB, free: 67.36 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.473e-05/1.251, allocations: 7.547 kB / 0.8535 GB, free: 67.36 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005703/1.256, allocations: 4.291 MB / 0.8577 GB, free: 65.81 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.308e-06/1.256, allocations: 0 / 0.8577 GB, free: 65.81 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001673/1.258, allocations: 347.6 kB / 0.8581 GB, free: 65.78 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.548e-05/1.258, allocations: 7.938 kB / 0.8581 GB, free: 65.78 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001211/1.258, allocations: 41.95 kB / 0.8581 GB, free: 65.76 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.274e-06/1.258, allocations: 7.875 kB / 0.8581 GB, free: 65.75 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/1.258, allocations: 3.938 kB / 0.8581 GB, free: 65.75 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004604/1.263, allocations: 4.855 MB / 0.8629 GB, free: 63.58 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001089/1.264, allocations: 0.4931 MB / 0.8633 GB, free: 63.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003867/1.264, allocations: 35.31 kB / 0.8634 GB, free: 63.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001395/1.266, allocations: 66.88 kB / 0.8634 GB, free: 63.16 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001841/1.266, allocations: 99.28 kB / 0.8635 GB, free: 63.14 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001092/1.266, allocations: 46.62 kB / 0.8636 GB, free: 63.13 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.004007/1.27, allocations: 2.952 MB / 0.8665 GB, free: 62.07 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.323e-06/1.27, allocations: 0 / 0.8665 GB, free: 62.07 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004899/1.275, allocations: 1.361 MB / 0.8678 GB, free: 61.72 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 () * 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.0003958/1.275, allocations: 175.5 kB / 0.868 GB, free: 61.59 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005863/1.281, allocations: 4.945 MB / 0.8728 GB, free: 57.37 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/1.281, allocations: 4.062 kB / 0.8728 GB, free: 57.36 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001193/1.282, allocations: 1.261 MB / 0.874 GB, free: 56.23 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002036/1.284, allocations: 491.7 kB / 0.8745 GB, free: 55.82 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01223/1.297, allocations: 8.75 MB / 0.883 GB, free: 48.07 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002967/1.3, allocations: 3.676 MB / 0.8866 GB, free: 45.3 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004944/1.305, allocations: 2.057 MB / 0.8886 GB, free: 43.98 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009207/1.306, allocations: 317.6 kB / 0.8889 GB, free: 43.7 MB / 0.5261 GB Notification: Performance of SimCode: time 1.573e-06/1.306, allocations: 0 / 0.8889 GB, free: 43.7 MB / 0.5261 GB Notification: Performance of Templates: time 0.06293/1.369, allocations: 40.24 MB / 0.9282 GB, free: 8.703 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