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.001535/0.001535, allocations: 116.1 kB / 17.78 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001313/0.001313, allocations: 202 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.431/1.431, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2227/0.2227, allocations: 46.11 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001611/0.001611, allocations: 79.88 kB / 481.3 MB, free: 4.082 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3825/0.3842, allocations: 62.43 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.InitializationConversion.Rotor1D): time 0.01785/0.4021, allocations: 15.92 MB / 0.5465 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01084/0.413, allocations: 3.857 MB / 0.5503 GB, free: 13.91 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004911/0.4179, allocations: 91.75 kB / 0.5504 GB, free: 13.82 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006882/0.4249, allocations: 3.11 MB / 0.5534 GB, free: 10.7 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007502/0.4324, allocations: 1.811 MB / 0.5552 GB, free: 8.879 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001983/0.4344, allocations: 463.2 kB / 0.5556 GB, free: 8.426 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.007467/0.4419, allocations: 4.002 MB / 0.5595 GB, free: 4.41 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006496/0.4485, allocations: 3.604 MB / 0.563 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003681/0.4522, allocations: 1.9 MB / 0.5649 GB, free: 14.84 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006128/0.4583, allocations: 3.003 MB / 0.5678 GB, free: 11.83 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002426/0.4608, allocations: 500 kB / 0.5683 GB, free: 11.34 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003619/0.4645, allocations: 0.9327 MB / 0.5692 GB, free: 10.41 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003875/0.4684, allocations: 2.229 MB / 0.5714 GB, free: 8.172 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006025/0.4744, allocations: 2.782 MB / 0.5741 GB, free: 5.375 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01256/0.487, allocations: 8.668 MB / 0.5826 GB, free: 12.68 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.117e-05/0.4871, allocations: 3.938 kB / 0.5826 GB, free: 12.68 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.4871, allocations: 0 / 0.5826 GB, free: 12.68 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003243/0.4874, allocations: 0 / 0.5826 GB, free: 12.68 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.08911/0.5765, allocations: 11.19 MB / 0.5935 GB, free: 1.41 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.367e-05/0.5766, allocations: 12.03 kB / 0.5935 GB, free: 1.398 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007961/0.5845, allocations: 1.857 MB / 0.5953 GB, free: 15.53 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007342/0.5919, allocations: 3.313 MB / 0.5986 GB, free: 12.16 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002784/0.5922, allocations: 295.5 kB / 0.5989 GB, free: 11.87 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002479/0.5947, allocations: 411.6 kB / 0.5992 GB, free: 11.46 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05226/0.647, allocations: 19.55 MB / 0.6183 GB, free: 7.199 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001521/0.6472, allocations: 47.44 kB / 0.6184 GB, free: 7.152 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009412/0.6481, allocations: 183.8 kB / 0.6186 GB, free: 6.973 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005373/0.6535, allocations: 2.349 MB / 0.6208 GB, free: 4.617 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05713/0.7107, allocations: 22.39 MB / 0.6427 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08951/0.8002, allocations: 52.37 MB / 0.6938 GB, free: 8.48 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06716/0.8674, allocations: 9.165 MB / 0.7028 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004367/0.8718, allocations: 3.029 MB / 0.7058 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001814/0.8737, allocations: 360.6 kB / 0.7061 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.727e-05/0.8737, allocations: 51.88 kB / 0.7061 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=212): time 4.809e-06/0.8738, allocations: 0 / 0.7061 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=212): time 0.4692/1.343, allocations: 16.1 MB / 0.7219 GB, free: 163.9 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.323e-05/1.343, allocations: 150.7 kB / 0.722 GB, free: 163.7 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009168/1.352, allocations: 4.69 MB / 0.7266 GB, free: 162.4 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0009156/1.353, allocations: 60.34 kB / 0.7266 GB, free: 162.3 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002585/1.356, allocations: 3.488 MB / 0.7301 GB, free: 159.8 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001432/1.357, allocations: 0.8337 MB / 0.7309 GB, free: 159.2 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00248/1.36, allocations: 1.541 MB / 0.7324 GB, free: 158.5 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.103e-05/1.36, allocations: 308.2 kB / 0.7327 GB, free: 158.2 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003296/1.363, allocations: 3.168 MB / 0.7358 GB, free: 157.3 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005498/1.369, allocations: 7.459 MB / 0.743 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009655/1.378, allocations: 11.49 MB / 0.7543 GB, free: 141.1 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000108/1.378, allocations: 44 kB / 0.7543 GB, free: 141 MB / 0.5606 GB Notification: Performance of matching and sorting (n=879) (initialization): time 0.01471/1.393, allocations: 10.62 MB / 0.7647 GB, free: 130.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.608e-05/1.393, allocations: 68 kB / 0.7647 GB, free: 130.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001448/1.393, allocations: 152.9 kB / 0.7649 GB, free: 130.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001584/1.394, allocations: 200 kB / 0.7651 GB, free: 130.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005526/1.399, allocations: 1.802 MB / 0.7668 GB, free: 128.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001864/1.399, allocations: 298.8 kB / 0.7671 GB, free: 128.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006086/1.405, allocations: 0.9279 MB / 0.768 GB, free: 127.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001025/1.406, allocations: 0.5076 MB / 0.7685 GB, free: 126.9 MB / 0.5606 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.004831/1.411, allocations: 2.308 MB / 0.7708 GB, free: 124.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001012/1.412, allocations: 406.7 kB / 0.7712 GB, free: 124.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005301/1.418, allocations: 4.866 MB / 0.7759 GB, free: 119.3 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.998e-05/1.418, allocations: 31.45 kB / 0.7759 GB, free: 119.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.521e-05/1.418, allocations: 0 / 0.7759 GB, free: 119.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.664e-05/1.418, allocations: 11.95 kB / 0.776 GB, free: 119.2 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01421/1.432, allocations: 11.52 MB / 0.7872 GB, free: 107.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.541e-05/1.432, allocations: 8 kB / 0.7872 GB, free: 107.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002468/1.434, allocations: 0.5967 MB / 0.7878 GB, free: 107 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.806e-05/1.435, allocations: 19.94 kB / 0.7878 GB, free: 106.9 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002092/1.435, allocations: 147.8 kB / 0.788 GB, free: 106.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.449e-05/1.435, allocations: 19.94 kB / 0.788 GB, free: 106.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.673e-06/1.435, allocations: 11.94 kB / 0.788 GB, free: 106.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008343/1.443, allocations: 8.902 MB / 0.7967 GB, free: 97.76 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001535/1.445, allocations: 0.5031 MB / 0.7972 GB, free: 97.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006046/1.445, allocations: 51.73 kB / 0.7972 GB, free: 97.19 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001914/1.447, allocations: 93.05 kB / 0.7973 GB, free: 97.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004079/1.448, allocations: 232.7 kB / 0.7975 GB, free: 96.87 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002678/1.448, allocations: 171.7 kB / 0.7977 GB, free: 96.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004525/1.452, allocations: 2.946 MB / 0.8006 GB, free: 93.75 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6.41e-07/1.452, allocations: 0 / 0.8006 GB, free: 93.75 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.007388/1.46, allocations: 1.349 MB / 0.8019 GB, free: 92.4 MB / 0.5606 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.0007125/1.461, allocations: 197.4 kB / 0.8021 GB, free: 92.21 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009336/1.47, allocations: 7.121 MB / 0.809 GB, free: 85.12 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-05/1.47, allocations: 0 / 0.809 GB, free: 85.12 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002608/1.473, allocations: 2.446 MB / 0.8114 GB, free: 82.68 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003897/1.477, allocations: 0.5581 MB / 0.812 GB, free: 82.14 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0175/1.494, allocations: 11.95 MB / 0.8236 GB, free: 70.07 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003547/1.498, allocations: 3.596 MB / 0.8272 GB, free: 66.44 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.005432/1.503, allocations: 2.298 MB / 0.8294 GB, free: 64.14 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001677/1.505, allocations: 0.5925 MB / 0.83 GB, free: 63.54 MB / 0.5606 GB Notification: Performance of SimCode: time 7.21e-07/1.505, allocations: 3.938 kB / 0.83 GB, free: 63.54 MB / 0.5606 GB Notification: Performance of Templates: time 0.1048/1.61, allocations: 56.26 MB / 0.8849 GB, free: 7.52 MB / 0.5606 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