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.0009267/0.0009267, allocations: 97.11 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0014/0.0014, allocations: 205.8 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.419/1.419, allocations: 227.7 MB / 246.8 MB, free: 11.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.217/0.217, allocations: 46.2 MB / 345.2 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002638/0.0002637, allocations: 11.94 kB / 419.5 MB, free: 19.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1323, allocations: 63.56 MB / 483.1 MB, free: 4.156 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.InitializationConversion.Rotor1D): time 0.3326/0.465, allocations: 83.3 MB / 0.5531 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.04828/0.5133, allocations: 15.15 MB / 0.5679 GB, free: 15.22 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03381/0.5471, allocations: 361.8 kB / 0.5683 GB, free: 15.16 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003178/0.5504, allocations: 0.5174 MB / 0.5688 GB, free: 14.75 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01099/0.5614, allocations: 1.646 MB / 0.5704 GB, free: 13.33 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003164/0.5647, allocations: 419.5 kB / 0.5708 GB, free: 12.92 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01021/0.5749, allocations: 5.781 MB / 0.5764 GB, free: 7.129 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01189/0.5868, allocations: 5.279 MB / 0.5816 GB, free: 1.781 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003618/0.5905, allocations: 1.346 MB / 0.5829 GB, free: 440 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00602/0.5966, allocations: 2.679 MB / 0.5855 GB, free: 13.74 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001765/0.5984, allocations: 188 kB / 0.5857 GB, free: 13.56 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003167/0.6016, allocations: 0.6748 MB / 0.5863 GB, free: 12.88 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004103/0.6057, allocations: 1.897 MB / 0.5882 GB, free: 10.98 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006286/0.612, allocations: 2.4 MB / 0.5905 GB, free: 8.559 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01474/0.6268, allocations: 8.001 MB / 0.5983 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.807e-05/0.6269, allocations: 4 kB / 0.5983 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of FrontEnd: time 5.54e-06/0.6269, allocations: 0 / 0.5983 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0006817/0.6276, allocations: 7.938 kB / 0.5984 GB, free: 0.5195 MB / 430.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.1074/0.7351, allocations: 9.42 MB / 0.6076 GB, free: 7.023 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.549e-05/0.7352, allocations: 12.88 kB / 0.6076 GB, free: 7.012 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008414/0.7436, allocations: 1.9 MB / 0.6094 GB, free: 5.102 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00807/0.7517, allocations: 3.282 MB / 0.6126 GB, free: 1.762 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003277/0.752, allocations: 287.6 kB / 0.6129 GB, free: 1.48 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002676/0.7547, allocations: 411.5 kB / 0.6133 GB, free: 1.078 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06063/0.8154, allocations: 19.57 MB / 0.6324 GB, free: 12.78 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003556/0.8158, allocations: 55.44 kB / 0.6325 GB, free: 12.73 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002628/0.8184, allocations: 187.8 kB / 0.6326 GB, free: 12.54 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006969/0.8254, allocations: 2.345 MB / 0.6349 GB, free: 10.19 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06169/0.8872, allocations: 22.4 MB / 0.6568 GB, free: 3.758 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3542/1.241, allocations: 52.54 MB / 0.7081 GB, free: 170.5 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.073/1.314, allocations: 9.24 MB / 0.7171 GB, free: 169.8 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004102/1.319, allocations: 3.019 MB / 0.7201 GB, free: 169.8 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001766/1.32, allocations: 367.4 kB / 0.7204 GB, free: 169.7 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.229e-05/1.32, allocations: 61.19 kB / 0.7205 GB, free: 169.7 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=212): time 4.318e-06/1.32, allocations: 0 / 0.7205 GB, free: 169.7 MB / 0.5294 GB Notification: Performance of matching and sorting (n=212): time 0.1434/1.464, allocations: 16.26 MB / 0.7364 GB, free: 168.4 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.18e-05/1.464, allocations: 148.9 kB / 0.7365 GB, free: 168.3 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007391/1.471, allocations: 4.695 MB / 0.7411 GB, free: 166.7 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004469/1.472, allocations: 53.14 kB / 0.7412 GB, free: 166.6 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002081/1.474, allocations: 3.489 MB / 0.7446 GB, free: 163.7 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001356/1.475, allocations: 0.8353 MB / 0.7454 GB, free: 163 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001581/1.477, allocations: 0.578 MB / 0.7459 GB, free: 162.7 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 7.94e-05/1.477, allocations: 301.1 kB / 0.7462 GB, free: 162.4 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00415/1.481, allocations: 3.17 MB / 0.7493 GB, free: 159.6 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005309/1.487, allocations: 7.464 MB / 0.7566 GB, free: 150.1 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009805/1.496, allocations: 11.48 MB / 0.7678 GB, free: 136.6 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001466/1.497, allocations: 47.94 kB / 0.7679 GB, free: 136.6 MB / 0.5294 GB Notification: Performance of matching and sorting (n=879) (initialization): time 0.01676/1.513, allocations: 10.61 MB / 0.7782 GB, free: 126 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001277/1.513, allocations: 72 kB / 0.7783 GB, free: 125.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001725/1.514, allocations: 152 kB / 0.7785 GB, free: 125.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001552/1.514, allocations: 200 kB / 0.7786 GB, free: 125.6 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005643/1.519, allocations: 1.798 MB / 0.7804 GB, free: 123.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001626/1.52, allocations: 303.6 kB / 0.7807 GB, free: 123.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005342/1.525, allocations: 0.9201 MB / 0.7816 GB, free: 122.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008895/1.526, allocations: 0.5134 MB / 0.7821 GB, free: 122 MB / 0.5294 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.003808/1.53, allocations: 2.31 MB / 0.7843 GB, free: 119.7 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001226/1.531, allocations: 402.8 kB / 0.7847 GB, free: 119.3 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005748/1.537, allocations: 4.871 MB / 0.7895 GB, free: 114.4 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-05/1.537, allocations: 24 kB / 0.7895 GB, free: 114.4 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.521e-05/1.537, allocations: 4 kB / 0.7895 GB, free: 114.4 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-05/1.537, allocations: 11.95 kB / 0.7895 GB, free: 114.4 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01718/1.554, allocations: 11.53 MB / 0.8008 GB, free: 102.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.513e-05/1.554, allocations: 8 kB / 0.8008 GB, free: 102.7 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002629/1.557, allocations: 0.6014 MB / 0.8014 GB, free: 102.1 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.131e-05/1.557, allocations: 16 kB / 0.8014 GB, free: 102.1 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002971/1.557, allocations: 143.8 kB / 0.8015 GB, free: 102 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.406e-05/1.557, allocations: 23.94 kB / 0.8016 GB, free: 102 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.714e-06/1.557, allocations: 11.94 kB / 0.8016 GB, free: 101.9 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0088/1.566, allocations: 8.916 MB / 0.8103 GB, free: 92.92 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002168/1.568, allocations: 0.507 MB / 0.8108 GB, free: 92.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001618/1.57, allocations: 44.53 kB / 0.8108 GB, free: 92.35 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002738/1.573, allocations: 84.53 kB / 0.8109 GB, free: 92.27 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005141/1.573, allocations: 236.7 kB / 0.8111 GB, free: 92.04 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004445/1.574, allocations: 164.6 kB / 0.8113 GB, free: 91.88 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.006126/1.58, allocations: 2.954 MB / 0.8142 GB, free: 88.92 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.81e-07/1.58, allocations: 0 / 0.8142 GB, free: 88.92 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006853/1.587, allocations: 1.352 MB / 0.8155 GB, free: 87.57 MB / 0.5294 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.0007645/1.587, allocations: 193.5 kB / 0.8157 GB, free: 87.38 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01048/1.598, allocations: 7.085 MB / 0.8226 GB, free: 80.32 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.036e-05/1.598, allocations: 1.938 kB / 0.8226 GB, free: 80.32 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003553/1.601, allocations: 2.449 MB / 0.825 GB, free: 77.88 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009465/1.611, allocations: 0.5291 MB / 0.8255 GB, free: 77.37 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02087/1.632, allocations: 14.66 MB / 0.8398 GB, free: 62.59 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004839/1.637, allocations: 3.592 MB / 0.8433 GB, free: 58.96 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.006881/1.644, allocations: 2.306 MB / 0.8456 GB, free: 56.65 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001392/1.645, allocations: 0.5847 MB / 0.8461 GB, free: 56.07 MB / 0.5294 GB Notification: Performance of SimCode: time 1.031e-06/1.645, allocations: 4 kB / 0.8461 GB, free: 56.06 MB / 0.5294 GB Notification: Performance of Templates: time 0.1026/1.748, allocations: 57.48 MB / 0.9023 GB, free: 14.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