Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_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_cpp_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_cpp_ModelicaTest.MultiBody.InitializationConversion.Rotor1D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001074/0.001074, allocations: 197.5 kB / 16.78 MB, free: 5.035 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.228/1.228, allocations: 226.5 MB / 244.1 MB, free: 6.492 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0006976/0.0006976, allocations: 91.72 kB / 296.1 MB, free: 6.703 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2788/0.2788, allocations: 44.82 MB / 392.9 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002454/0.0002454, allocations: 8 kB / 465.9 MB, free: 12.74 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2895/0.2898, allocations: 62.95 MB / 0.5165 GB, free: 37.18 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.117/0.4068, allocations: 97.34 MB / 0.6115 GB, free: 8.055 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002302/0.4071, allocations: 75.97 kB / 0.6116 GB, free: 7.98 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4392/0.8463, allocations: 91.51 MB / 0.701 GB, free: 91.75 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.585e-06/0.8464, allocations: 0 / 0.701 GB, free: 91.75 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002318/0.8466, allocations: 95.27 kB / 0.7011 GB, free: 91.75 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.05484/0.9014, allocations: 9.859 MB / 0.7107 GB, free: 89.54 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/0.9015, allocations: 9.344 kB / 0.7107 GB, free: 89.54 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009635/0.9112, allocations: 2.07 MB / 0.7127 GB, free: 89.2 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009302/0.9205, allocations: 3.481 MB / 0.7161 GB, free: 88.52 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004294/0.921, allocations: 347.2 kB / 0.7164 GB, free: 88.51 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002991/0.924, allocations: 487.8 kB / 0.7169 GB, free: 88.49 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04669/0.9707, allocations: 15.46 MB / 0.732 GB, free: 84.69 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004147/0.9712, allocations: 63.55 kB / 0.7321 GB, free: 84.68 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002915/0.9741, allocations: 225.6 kB / 0.7323 GB, free: 84.56 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003283/0.9774, allocations: 1.116 MB / 0.7334 GB, free: 84.38 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04639/1.024, allocations: 15.36 MB / 0.7484 GB, free: 79.68 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09083/1.115, allocations: 55.65 MB / 0.8027 GB, free: 31.96 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04148/1.156, allocations: 7.231 MB / 0.8098 GB, free: 24.57 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003496/1.16, allocations: 2.846 MB / 0.8126 GB, free: 21.72 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00785/1.168, allocations: 6.566 MB / 0.819 GB, free: 14.59 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.655e-05/1.168, allocations: 47.56 kB / 0.819 GB, free: 14.54 MB / 490.7 MB Notification: Performance of pre-optimization done (n=176): time 5.03e-06/1.168, allocations: 0 / 0.819 GB, free: 14.54 MB / 490.7 MB Notification: Performance of matching and sorting (n=176): time 0.005136/1.173, allocations: 3.749 MB / 0.8227 GB, free: 10.79 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.1e-05/1.173, allocations: 145.5 kB / 0.8228 GB, free: 10.61 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007771/1.181, allocations: 4.785 MB / 0.8275 GB, free: 5.82 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002641/1.181, allocations: 49.7 kB / 0.8275 GB, free: 5.766 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001896/1.183, allocations: 3.602 MB / 0.831 GB, free: 2.168 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007429/1.184, allocations: 0.7169 MB / 0.8317 GB, free: 1.453 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005391/1.184, allocations: 135 kB / 0.8319 GB, free: 1.324 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004419/1.185, allocations: 0.5949 MB / 0.8325 GB, free: 0.7227 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003536/1.188, allocations: 2.203 MB / 0.8346 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006299/1.195, allocations: 6.488 MB / 0.8409 GB, free: 5.887 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01071/1.205, allocations: 9.443 MB / 0.8502 GB, free: 10.31 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000125/1.205, allocations: 44 kB / 0.8502 GB, free: 10.27 MB / 0.5105 GB Notification: Performance of matching and sorting (n=873) (initialization): time 0.01503/1.221, allocations: 8.476 MB / 0.8585 GB, free: 1.785 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001386/1.221, allocations: 75.98 kB / 0.8586 GB, free: 1.711 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002079/1.221, allocations: 152 kB / 0.8587 GB, free: 1.562 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000206/1.221, allocations: 203.9 kB / 0.8589 GB, free: 1.363 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005246/1.226, allocations: 1.618 MB / 0.8605 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002254/1.227, allocations: 302.8 kB / 0.8608 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00536/1.232, allocations: 0.9237 MB / 0.8617 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001126/1.233, allocations: 435.9 kB / 0.8621 GB, free: 14.09 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.004461/1.238, allocations: 2.31 MB / 0.8643 GB, free: 11.77 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009575/1.239, allocations: 406.7 kB / 0.8647 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00453/1.243, allocations: 2.533 MB / 0.8672 GB, free: 8.82 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-05/1.243, allocations: 23.98 kB / 0.8672 GB, free: 8.797 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.073e-05/1.243, allocations: 8 kB / 0.8672 GB, free: 8.789 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.791e-05/1.243, allocations: 10.78 kB / 0.8672 GB, free: 8.781 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008688/1.252, allocations: 4.28 MB / 0.8714 GB, free: 4.488 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.243e-05/1.252, allocations: 3.938 kB / 0.8714 GB, free: 4.484 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001878/1.254, allocations: 347.5 kB / 0.8718 GB, free: 4.145 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.156e-05/1.254, allocations: 8 kB / 0.8718 GB, free: 4.137 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002101/1.254, allocations: 39.92 kB / 0.8718 GB, free: 4.098 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.187e-05/1.254, allocations: 8 kB / 0.8718 GB, free: 4.09 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/1.254, allocations: 0 / 0.8718 GB, free: 4.09 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.263/1.517, allocations: 4.799 MB / 0.8765 GB, free: 123.7 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00153/1.519, allocations: 0.4901 MB / 0.877 GB, free: 123.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006943/1.519, allocations: 34.52 kB / 0.877 GB, free: 123.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00141/1.521, allocations: 66.64 kB / 0.8771 GB, free: 123.6 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002221/1.521, allocations: 92.11 kB / 0.8772 GB, free: 123.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001307/1.521, allocations: 54.33 kB / 0.8772 GB, free: 123.6 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.005207/1.526, allocations: 2.999 MB / 0.8801 GB, free: 123.4 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.6e-07/1.526, allocations: 0 / 0.8801 GB, free: 123.4 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005788/1.532, allocations: 1.352 MB / 0.8815 GB, free: 123.4 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.0005229/1.533, allocations: 185.1 kB / 0.8816 GB, free: 123.3 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.007239/1.54, allocations: 4.999 MB / 0.8865 GB, free: 123.3 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.134e-06/1.54, allocations: 3.938 kB / 0.8865 GB, free: 123.3 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001484/1.542, allocations: 1.266 MB / 0.8878 GB, free: 123.3 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00352/1.545, allocations: 0.5052 MB / 0.8883 GB, free: 123.3 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02223/1.567, allocations: 13.05 MB / 0.901 GB, free: 118 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005147/1.573, allocations: 3.576 MB / 0.9045 GB, free: 117.2 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001807/1.574, allocations: 362.8 kB / 0.9048 GB, free: 117.1 MB / 0.5261 GB Notification: Performance of SimCode: time 1.021e-06/1.574, allocations: 0 / 0.9048 GB, free: 117.1 MB / 0.5261 GB Notification: Performance of Templates: time 0.1018/1.676, allocations: 65.97 MB / 0.9693 GB, free: 95.54 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.InitializationConversion.Rotor1D --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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_cpp_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference: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 Variables in the result: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,time