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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0019/0.0019, allocations: 79.69 kB / 21.7 MB, free: 2.848 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001592/0.001592, allocations: 161.1 kB / 24.99 MB, free: 8.219 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.251/1.251, allocations: 177 MB / 205.2 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3315/0.3315, allocations: 34.86 MB / 296.6 MB, free: 484 kB / 266.7 MB " [Timeout remaining time 180] 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=5002,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=5002,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.465e-06/2.465e-06, allocations: 0 / 378.7 MB, free: 2.387 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 5.311e-05/5.557e-05, allocations: 7.578 kB / 378.7 MB, free: 2.379 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.InitializationConversion.Rotor1D): time 0.01485/0.01491, allocations: 15.3 MB / 394 MB, free: 3.016 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01072/0.02562, allocations: 3.803 MB / 397.8 MB, free: 15.2 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00378/0.0294, allocations: 107.5 kB / 397.9 MB, free: 15.09 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00606/0.03546, allocations: 3.313 MB / 401.3 MB, free: 11.77 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007912/0.04337, allocations: 1.888 MB / 403.1 MB, free: 9.871 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001815/0.04519, allocations: 0.5148 MB / 403.7 MB, free: 9.355 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.007894/0.05308, allocations: 4.102 MB / 407.8 MB, free: 5.238 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004507/0.05759, allocations: 2.571 MB / 410.3 MB, free: 2.598 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005832/0.06342, allocations: 2.822 MB / 413.2 MB, free: 15.77 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005343/0.06876, allocations: 2.97 MB / 416.1 MB, free: 12.79 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00181/0.07057, allocations: 496 kB / 416.6 MB, free: 12.31 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002522/0.0731, allocations: 0.9014 MB / 417.5 MB, free: 11.41 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002497/0.07559, allocations: 2.369 MB / 419.9 MB, free: 9.031 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003486/0.07908, allocations: 1.667 MB / 421.5 MB, free: 7.359 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009257/0.08833, allocations: 5.309 MB / 426.9 MB, free: 2.031 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.182e-05/0.08835, allocations: 0 / 426.9 MB, free: 2.031 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.855e-06/0.08835, allocations: 0 / 426.9 MB, free: 2.031 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004726/0.08882, allocations: 0 / 426.9 MB, free: 2.031 MB / 394.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.05525/0.1441, allocations: 13.13 MB / 440 MB, free: 4.82 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.085e-05/0.1441, allocations: 12.03 kB / 440 MB, free: 4.809 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009502/0.1536, allocations: 2.528 MB / 442.5 MB, free: 2.273 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2691/0.4227, allocations: 3.174 MB / 445.7 MB, free: 71.35 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003178/0.423, allocations: 293 kB / 446 MB, free: 71.34 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002007/0.4251, allocations: 435.4 kB / 446.4 MB, free: 71.34 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02723/0.4523, allocations: 10.78 MB / 457.2 MB, free: 68.55 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001491/0.4524, allocations: 53.17 kB / 457.2 MB, free: 68.55 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007692/0.4532, allocations: 216.1 kB / 457.4 MB, free: 68.55 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003712/0.4569, allocations: 2.338 MB / 459.8 MB, free: 68.55 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02621/0.4831, allocations: 8.043 MB / 467.8 MB, free: 68.48 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04154/0.5247, allocations: 49.02 MB / 0.5047 GB, free: 32.18 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03381/0.5585, allocations: 6.489 MB / 0.5111 GB, free: 31.81 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001211/0.5597, allocations: 0.7137 MB / 0.5118 GB, free: 31.68 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007969/0.5605, allocations: 351 kB / 0.5121 GB, free: 31.64 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.293e-05/0.5605, allocations: 66.66 kB / 0.5122 GB, free: 31.58 MB / 410.7 MB Notification: Performance of pre-optimization done (n=212): time 5.701e-06/0.5605, allocations: 4 kB / 0.5122 GB, free: 31.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=212): time 0.06919/0.6297, allocations: 13.29 MB / 0.5252 GB, free: 21.58 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.014e-05/0.6298, allocations: 159.3 kB / 0.5253 GB, free: 21.4 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004174/0.634, allocations: 3.913 MB / 0.5291 GB, free: 17.64 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001927/0.6342, allocations: 65.7 kB / 0.5292 GB, free: 17.57 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001592/0.6358, allocations: 3.775 MB / 0.5329 GB, free: 14.15 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006742/0.6364, allocations: 0.9195 MB / 0.5338 GB, free: 13.24 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001397/0.6378, allocations: 1.735 MB / 0.5355 GB, free: 11.49 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.244e-05/0.6379, allocations: 482.7 kB / 0.5359 GB, free: 11.02 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001312/0.6392, allocations: 0.7859 MB / 0.5367 GB, free: 10.23 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003248/0.6425, allocations: 7.146 MB / 0.5437 GB, free: 232 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008375/0.6508, allocations: 8.839 MB / 0.5523 GB, free: 5.078 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-05/0.6509, allocations: 44 kB / 0.5523 GB, free: 5.035 MB / 426.7 MB Notification: Performance of matching and sorting (n=879) (initialization): time 0.008504/0.6594, allocations: 6.305 MB / 0.5585 GB, free: 14.78 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.206e-05/0.6595, allocations: 68 kB / 0.5586 GB, free: 14.71 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001419/0.6596, allocations: 152.9 kB / 0.5587 GB, free: 14.57 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001665/0.6598, allocations: 204 kB / 0.5589 GB, free: 14.37 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003473/0.6632, allocations: 1.887 MB / 0.5608 GB, free: 12.48 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002208/0.6635, allocations: 302.8 kB / 0.561 GB, free: 12.18 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003078/0.6665, allocations: 0.9203 MB / 0.5619 GB, free: 11.27 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005316/0.6671, allocations: 0.5451 MB / 0.5625 GB, free: 10.72 MB / 442.7 MB 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.001753/0.6688, allocations: 0.7519 MB / 0.5632 GB, free: 9.957 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006185/0.6694, allocations: 469.4 kB / 0.5637 GB, free: 9.496 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002859/0.6723, allocations: 1.992 MB / 0.5656 GB, free: 7.484 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.918e-05/0.6723, allocations: 28 kB / 0.5656 GB, free: 7.457 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.2e-05/0.6723, allocations: 3.938 kB / 0.5656 GB, free: 7.453 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.538e-05/0.6724, allocations: 11.95 kB / 0.5656 GB, free: 7.441 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008648/0.681, allocations: 6.502 MB / 0.572 GB, free: 0.8086 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-05/0.681, allocations: 8 kB / 0.572 GB, free: 0.8008 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001446/0.6825, allocations: 0.6904 MB / 0.5727 GB, free: 112 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.757e-05/0.6825, allocations: 12 kB / 0.5727 GB, free: 100 kB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001986/0.6827, allocations: 186.1 kB / 0.5729 GB, free: 15.92 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.671e-05/0.6827, allocations: 19.94 kB / 0.5729 GB, free: 15.9 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.754e-06/0.6827, allocations: 15.94 kB / 0.5729 GB, free: 15.88 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003958/0.6867, allocations: 3.396 MB / 0.5762 GB, free: 12.34 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003742/0.687, allocations: 400.9 kB / 0.5766 GB, free: 11.95 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000286/0.6873, allocations: 67.98 kB / 0.5767 GB, free: 11.88 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008947/0.6882, allocations: 99.98 kB / 0.5768 GB, free: 11.78 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003144/0.6885, allocations: 285.9 kB / 0.577 GB, free: 11.5 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000193/0.6887, allocations: 199.8 kB / 0.5772 GB, free: 11.3 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001913/0.6906, allocations: 1.72 MB / 0.5789 GB, free: 9.574 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.6906, allocations: 0 / 0.5789 GB, free: 9.574 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003684/0.6943, allocations: 1.435 MB / 0.5803 GB, free: 8.145 MB / 458.7 MB 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.0004366/0.6948, allocations: 197.4 kB / 0.5805 GB, free: 7.945 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004082/0.6988, allocations: 3.379 MB / 0.5838 GB, free: 4.594 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.6989, allocations: 0 / 0.5838 GB, free: 4.594 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00108/0.6999, allocations: 0.9074 MB / 0.5847 GB, free: 3.688 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001613/0.7015, allocations: 0.624 MB / 0.5853 GB, free: 3.082 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009838/0.7114, allocations: 9.123 MB / 0.5942 GB, free: 9.75 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001121/0.7125, allocations: 1.384 MB / 0.5955 GB, free: 8.336 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.002788/0.7153, allocations: 2.021 MB / 0.5975 GB, free: 6.312 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001062/0.7164, allocations: 0.7068 MB / 0.5982 GB, free: 5.605 MB / 474.7 MB Notification: Performance of SimCode: time 1.353e-06/0.7164, allocations: 0 / 0.5982 GB, free: 5.605 MB / 474.7 MB Notification: Performance of Templates: time 0.2513/0.9676, allocations: 51.66 MB / 0.6487 GB, free: 133.4 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.InitializationConversion.Rotor1D_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/InitializationConversion/Rotor1D/Rotor1D.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.976345421979204]