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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001189/0.001189, allocations: 103.5 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001196/0.001196, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.509/1.509, allocations: 227.4 MB / 246.3 MB, free: 10.77 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2257/0.2257, allocations: 46.1 MB / 343.6 MB, free: 11.82 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 84.69 kB / 416.8 MB, free: 20.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1192, allocations: 62.45 MB / 479.3 MB, free: 5.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.InitializationConversion.Rotor1D): time 0.3686/0.4878, allocations: 85.31 MB / 0.5514 GB, free: 9.277 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0391/0.527, allocations: 15.18 MB / 0.5662 GB, free: 14.02 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.025/0.552, allocations: 359.9 kB / 0.5665 GB, free: 13.96 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007124/0.5593, allocations: 3.077 MB / 0.5696 GB, free: 10.98 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005995/0.5653, allocations: 1.645 MB / 0.5712 GB, free: 9.324 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001666/0.567, allocations: 415.5 kB / 0.5716 GB, free: 8.918 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.007859/0.5749, allocations: 5.79 MB / 0.5772 GB, free: 3.117 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00535/0.5803, allocations: 3.562 MB / 0.5807 GB, free: 15.52 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002706/0.583, allocations: 1.67 MB / 0.5823 GB, free: 13.85 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004466/0.5875, allocations: 3.108 MB / 0.5854 GB, free: 10.73 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001351/0.5889, allocations: 332 kB / 0.5857 GB, free: 10.41 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003045/0.5919, allocations: 0.8154 MB / 0.5865 GB, free: 9.59 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003066/0.595, allocations: 2.1 MB / 0.5885 GB, free: 7.484 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0049/0.6, allocations: 2.629 MB / 0.5911 GB, free: 4.84 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01192/0.6119, allocations: 8.267 MB / 0.5992 GB, free: 12.55 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.606e-06/0.6119, allocations: 0 / 0.5992 GB, free: 12.55 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.612, allocations: 0 / 0.5992 GB, free: 12.55 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003978/0.6124, allocations: 0 / 0.5992 GB, free: 12.55 MB / 446.1 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.09212/0.7045, allocations: 11.18 MB / 0.6101 GB, free: 1.289 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.624e-05/0.7046, allocations: 12.88 kB / 0.6101 GB, free: 1.277 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008717/0.7133, allocations: 1.861 MB / 0.6119 GB, free: 15.41 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00843/0.7218, allocations: 3.278 MB / 0.6151 GB, free: 12.07 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003469/0.7221, allocations: 295.5 kB / 0.6154 GB, free: 11.78 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002669/0.7248, allocations: 415.5 kB / 0.6158 GB, free: 11.37 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05739/0.7822, allocations: 19.54 MB / 0.6349 GB, free: 7.109 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001698/0.7824, allocations: 47.58 kB / 0.6349 GB, free: 7.062 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001152/0.7836, allocations: 187.8 kB / 0.6351 GB, free: 6.879 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005548/0.7892, allocations: 2.342 MB / 0.6374 GB, free: 4.531 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05623/0.8454, allocations: 22.4 MB / 0.6592 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08207/0.9275, allocations: 52.51 MB / 0.7105 GB, free: 8.242 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3514/1.279, allocations: 9.154 MB / 0.7195 GB, free: 196.5 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004771/1.284, allocations: 3.021 MB / 0.7224 GB, free: 196.5 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001854/1.286, allocations: 363.6 kB / 0.7228 GB, free: 196.5 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.609e-05/1.286, allocations: 57.44 kB / 0.7228 GB, free: 196.4 MB / 0.545 GB Notification: Performance of pre-optimization done (n=212): time 4.588e-06/1.286, allocations: 0 / 0.7228 GB, free: 196.4 MB / 0.545 GB Notification: Performance of matching and sorting (n=212): time 0.1344/1.42, allocations: 16.09 MB / 0.7385 GB, free: 194.6 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.184e-05/1.42, allocations: 158.6 kB / 0.7387 GB, free: 194.5 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006623/1.427, allocations: 4.69 MB / 0.7433 GB, free: 192.9 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0006716/1.428, allocations: 57.64 kB / 0.7433 GB, free: 192.8 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001841/1.429, allocations: 3.488 MB / 0.7467 GB, free: 190.3 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001227/1.431, allocations: 0.8359 MB / 0.7475 GB, free: 189.7 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001939/1.433, allocations: 1.535 MB / 0.749 GB, free: 189 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 4.7e-05/1.433, allocations: 301.1 kB / 0.7493 GB, free: 188.7 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003442/1.436, allocations: 3.173 MB / 0.7524 GB, free: 187.8 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005178/1.441, allocations: 7.466 MB / 0.7597 GB, free: 179.8 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01111/1.452, allocations: 11.49 MB / 0.7709 GB, free: 166.4 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001262/1.453, allocations: 44 kB / 0.771 GB, free: 166.3 MB / 0.545 GB Notification: Performance of matching and sorting (n=879) (initialization): time 0.01699/1.47, allocations: 10.61 MB / 0.7813 GB, free: 155.7 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.416e-05/1.47, allocations: 74.64 kB / 0.7814 GB, free: 155.6 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001529/1.47, allocations: 152 kB / 0.7816 GB, free: 155.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001416/1.47, allocations: 208.4 kB / 0.7818 GB, free: 155.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005591/1.476, allocations: 1.797 MB / 0.7835 GB, free: 153.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001698/1.476, allocations: 294.9 kB / 0.7838 GB, free: 153.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005705/1.482, allocations: 0.924 MB / 0.7847 GB, free: 152.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008365/1.482, allocations: 0.5232 MB / 0.7852 GB, free: 151.8 MB / 0.545 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 (855): * Single equations (assignments): 852 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003864/1.486, allocations: 2.316 MB / 0.7875 GB, free: 149.4 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001078/1.487, allocations: 402.8 kB / 0.7879 GB, free: 149 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006107/1.494, allocations: 4.869 MB / 0.7926 GB, free: 144.1 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.601e-05/1.494, allocations: 24 kB / 0.7926 GB, free: 144.1 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.243e-05/1.494, allocations: 0 / 0.7926 GB, free: 144.1 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.323e-05/1.494, allocations: 15.95 kB / 0.7926 GB, free: 144.1 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01325/1.507, allocations: 11.52 MB / 0.8039 GB, free: 132.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-05/1.507, allocations: 8 kB / 0.8039 GB, free: 132.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002401/1.509, allocations: 0.6006 MB / 0.8045 GB, free: 131.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.43e-05/1.509, allocations: 12 kB / 0.8045 GB, free: 131.9 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002022/1.51, allocations: 143.8 kB / 0.8046 GB, free: 131.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.349e-05/1.51, allocations: 23.92 kB / 0.8047 GB, free: 131.7 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/1.51, allocations: 12.41 kB / 0.8047 GB, free: 131.7 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008196/1.518, allocations: 8.898 MB / 0.8134 GB, free: 122.7 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001161/1.519, allocations: 0.5031 MB / 0.8139 GB, free: 122.1 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004796/1.519, allocations: 47.98 kB / 0.8139 GB, free: 122.1 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001848/1.521, allocations: 87.98 kB / 0.814 GB, free: 122 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004038/1.522, allocations: 240.6 kB / 0.8142 GB, free: 121.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000243/1.522, allocations: 167.8 kB / 0.8144 GB, free: 121.6 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00371/1.526, allocations: 2.95 MB / 0.8173 GB, free: 118.7 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.5e-07/1.526, allocations: 0 / 0.8173 GB, free: 118.7 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005314/1.531, allocations: 1.355 MB / 0.8186 GB, free: 117.3 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * 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 (208): * Single equations (assignments): 205 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004098/1.531, allocations: 190.7 kB / 0.8188 GB, free: 117.1 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007345/1.539, allocations: 7.09 MB / 0.8257 GB, free: 110.1 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.585e-06/1.539, allocations: 4.938 kB / 0.8257 GB, free: 110.1 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002194/1.541, allocations: 2.44 MB / 0.8281 GB, free: 107.6 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003199/1.544, allocations: 0.5241 MB / 0.8286 GB, free: 107.1 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01444/1.559, allocations: 14.34 MB / 0.8426 GB, free: 92.66 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002916/1.562, allocations: 3.6 MB / 0.8461 GB, free: 89.03 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005359/1.567, allocations: 2.3 MB / 0.8483 GB, free: 86.72 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001635/1.569, allocations: 0.5925 MB / 0.8489 GB, free: 86.13 MB / 0.545 GB Notification: Performance of SimCode: time 6.71e-07/1.569, allocations: 0 / 0.8489 GB, free: 86.13 MB / 0.545 GB Notification: Performance of Templates: time 0.1039/1.673, allocations: 58.53 MB / 0.9061 GB, free: 27.76 MB / 0.545 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches