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.001308/0.001308, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001281/0.001281, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.424/1.424, allocations: 227.4 MB / 246.8 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2203/0.2203, allocations: 46.1 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001382, allocations: 72.06 kB / 417.6 MB, free: 19.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1173, allocations: 62.45 MB / 480 MB, free: 5.277 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.InitializationConversion.Rotor1D): time 0.01542/0.1327, allocations: 15.92 MB / 495.9 MB, free: 5.293 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009929/0.1427, allocations: 3.858 MB / 499.8 MB, free: 1.422 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003622/0.1464, allocations: 95.69 kB / 499.9 MB, free: 1.328 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006211/0.1527, allocations: 3.091 MB / 0.4912 GB, free: 14.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005846/0.1585, allocations: 1.749 MB / 0.4929 GB, free: 12.47 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001576/0.1601, allocations: 463.2 kB / 0.4933 GB, free: 12.02 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006333/0.1665, allocations: 4.005 MB / 0.4972 GB, free: 8 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004639/0.1712, allocations: 3.6 MB / 0.5008 GB, free: 4.332 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002944/0.1741, allocations: 1.877 MB / 0.5026 GB, free: 2.449 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2343/0.4085, allocations: 2.999 MB / 0.5055 GB, free: 14.92 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002644/0.4111, allocations: 497 kB / 0.506 GB, free: 14.92 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004068/0.4152, allocations: 0.9352 MB / 0.5069 GB, free: 14.92 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0046/0.4199, allocations: 2.232 MB / 0.5091 GB, free: 14.92 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009894/0.4298, allocations: 2.777 MB / 0.5118 GB, free: 14.25 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01424/0.4441, allocations: 8.397 MB / 0.52 GB, free: 13.17 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/0.4441, allocations: 2.812 kB / 0.52 GB, free: 13.17 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.4442, allocations: 0.7188 kB / 0.52 GB, free: 13.17 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000395/0.4446, allocations: 1.094 kB / 0.52 GB, free: 13.17 MB / 382.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.09616/0.5407, allocations: 11.18 MB / 0.5309 GB, free: 8.617 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.5408, allocations: 13.5 kB / 0.5309 GB, free: 8.613 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009092/0.5499, allocations: 1.856 MB / 0.5328 GB, free: 7.629 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01088/0.5608, allocations: 3.277 MB / 0.536 GB, free: 5.551 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005171/0.5614, allocations: 296.5 kB / 0.5362 GB, free: 5.453 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004152/0.5655, allocations: 414.6 kB / 0.5366 GB, free: 5.336 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06393/0.6295, allocations: 19.55 MB / 0.5557 GB, free: 4.59 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004052/0.63, allocations: 51.77 kB / 0.5558 GB, free: 4.559 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004586/0.6346, allocations: 187.1 kB / 0.5559 GB, free: 4.414 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006948/0.6415, allocations: 2.337 MB / 0.5582 GB, free: 2.105 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06479/0.7064, allocations: 22.39 MB / 0.5801 GB, free: 11.89 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09631/0.8027, allocations: 52.51 MB / 0.6314 GB, free: 6.605 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.06958/0.8724, allocations: 9.173 MB / 0.6403 GB, free: 13.29 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004372/0.8768, allocations: 3.022 MB / 0.6433 GB, free: 10.27 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001764/0.8786, allocations: 358.6 kB / 0.6436 GB, free: 9.934 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.347e-05/0.8786, allocations: 66.16 kB / 0.6437 GB, free: 9.867 MB / 494.1 MB Notification: Performance of pre-optimization done (n=212): time 4.508e-06/0.8786, allocations: 0 / 0.6437 GB, free: 9.867 MB / 494.1 MB Notification: Performance of matching and sorting (n=212): time 0.14/1.019, allocations: 16.09 MB / 0.6594 GB, free: 9.762 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001237/1.019, allocations: 149.8 kB / 0.6595 GB, free: 9.586 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008399/1.027, allocations: 4.692 MB / 0.6641 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0006245/1.028, allocations: 57.7 kB / 0.6642 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.003322/1.031, allocations: 3.486 MB / 0.6676 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.002408/1.034, allocations: 0.8385 MB / 0.6684 GB, free: 0.5039 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003237/1.037, allocations: 1.544 MB / 0.6699 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001188/1.037, allocations: 305.1 kB / 0.6702 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004338/1.041, allocations: 3.168 MB / 0.6733 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00798/1.049, allocations: 7.456 MB / 0.6806 GB, free: 1.949 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01567/1.065, allocations: 11.48 MB / 0.6918 GB, free: 4.949 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001813/1.065, allocations: 51.92 kB / 0.6918 GB, free: 4.898 MB / 0.5294 GB Notification: Performance of matching and sorting (n=879) (initialization): time 0.02732/1.093, allocations: 10.6 MB / 0.7022 GB, free: 10.73 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001937/1.093, allocations: 72 kB / 0.7023 GB, free: 10.66 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003049/1.093, allocations: 156 kB / 0.7024 GB, free: 10.51 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003308/1.094, allocations: 200 kB / 0.7026 GB, free: 10.31 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01106/1.105, allocations: 1.797 MB / 0.7044 GB, free: 8.512 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004287/1.105, allocations: 302.8 kB / 0.7046 GB, free: 8.215 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01198/1.117, allocations: 0.9283 MB / 0.7055 GB, free: 7.277 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002721/1.12, allocations: 0.518 MB / 0.7061 GB, free: 6.762 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.008816/1.129, allocations: 2.311 MB / 0.7083 GB, free: 4.438 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001927/1.131, allocations: 402.8 kB / 0.7087 GB, free: 4.039 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2925/1.423, allocations: 4.858 MB / 0.7134 GB, free: 192.5 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.184e-05/1.423, allocations: 25.61 kB / 0.7135 GB, free: 192.5 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.211e-05/1.423, allocations: 0.875 kB / 0.7135 GB, free: 192.5 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.468e-05/1.423, allocations: 11.09 kB / 0.7135 GB, free: 192.5 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02847/1.452, allocations: 11.53 MB / 0.7247 GB, free: 190.4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.687e-05/1.452, allocations: 7.906 kB / 0.7247 GB, free: 190.4 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002692/1.455, allocations: 0.6012 MB / 0.7253 GB, free: 190.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-05/1.455, allocations: 15.5 kB / 0.7253 GB, free: 190.4 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002861/1.455, allocations: 146.5 kB / 0.7255 GB, free: 190.3 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.956e-05/1.455, allocations: 22.42 kB / 0.7255 GB, free: 190.3 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.736e-06/1.455, allocations: 13.03 kB / 0.7255 GB, free: 190.3 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009005/1.464, allocations: 8.901 MB / 0.7342 GB, free: 187.5 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001307/1.465, allocations: 0.505 MB / 0.7347 GB, free: 187.1 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006894/1.466, allocations: 49.25 kB / 0.7347 GB, free: 187.1 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002014/1.468, allocations: 85.58 kB / 0.7348 GB, free: 187.1 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004035/1.469, allocations: 239.7 kB / 0.7351 GB, free: 187.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002363/1.469, allocations: 160.6 kB / 0.7352 GB, free: 187 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004317/1.473, allocations: 2.953 MB / 0.7381 GB, free: 186 MB / 0.545 GB Notification: Performance of sort global known variables: time 4.81e-07/1.473, allocations: 0 / 0.7381 GB, free: 186 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006593/1.48, allocations: 1.354 MB / 0.7394 GB, free: 185.7 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.0007259/1.481, allocations: 191.6 kB / 0.7396 GB, free: 185.5 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0126/1.493, allocations: 8.837 MB / 0.7482 GB, free: 179.5 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.397e-05/1.493, allocations: 0 / 0.7482 GB, free: 179.5 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002581/1.496, allocations: 2.45 MB / 0.7506 GB, free: 177.4 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003711/1.5, allocations: 0.564 MB / 0.7512 GB, free: 177 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01888/1.518, allocations: 12.08 MB / 0.763 GB, free: 165.9 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003645/1.522, allocations: 3.591 MB / 0.7665 GB, free: 162.6 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.006962/1.529, allocations: 2.302 MB / 0.7687 GB, free: 160.3 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001604/1.531, allocations: 0.5886 MB / 0.7693 GB, free: 159.7 MB / 0.545 GB Notification: Performance of SimCode: time 1.132e-06/1.531, allocations: 0 / 0.7693 GB, free: 159.7 MB / 0.545 GB Notification: Performance of Templates: time 0.1003/1.631, allocations: 60.17 MB / 0.8281 GB, free: 99.72 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