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.001072/0.001072, allocations: 81.81 kB / 21.42 MB, free: 3.066 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.001128/0.001128, allocations: 162.9 kB / 24.82 MB, free: 9.27 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.056/1.056, allocations: 177 MB / 205.1 MB, free: 5.465 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.3313/0.3313, allocations: 34.87 MB / 296.6 MB, free: 452 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.715e-06/2.715e-06, allocations: 0 / 379.2 MB, free: 1.816 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.104e-05/3.375e-05, allocations: 3.016 kB / 379.2 MB, free: 1.812 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.InitializationConversion.Rotor1D): time 0.01223/0.01226, allocations: 14.97 MB / 394.2 MB, free: 2.781 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008818/0.02108, allocations: 3.791 MB / 398 MB, free: 14.98 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004238/0.02532, allocations: 111.4 kB / 398.1 MB, free: 14.87 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005688/0.03101, allocations: 3.278 MB / 401.4 MB, free: 11.58 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005698/0.0367, allocations: 1.9 MB / 403.3 MB, free: 9.668 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001414/0.03812, allocations: 0.5226 MB / 403.8 MB, free: 9.145 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.006309/0.04443, allocations: 4.081 MB / 407.9 MB, free: 5.051 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004122/0.04855, allocations: 2.568 MB / 410.4 MB, free: 2.414 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006055/0.0546, allocations: 3.22 MB / 413.7 MB, free: 15.19 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004785/0.05939, allocations: 2.396 MB / 416 MB, free: 12.79 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001822/0.06121, allocations: 452 kB / 416.5 MB, free: 12.34 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002407/0.06362, allocations: 0.8507 MB / 417.3 MB, free: 11.49 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002282/0.0659, allocations: 2.283 MB / 419.6 MB, free: 9.203 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002804/0.0687, allocations: 1.581 MB / 421.2 MB, free: 7.617 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007631/0.07633, allocations: 5.048 MB / 426.2 MB, free: 2.551 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.508e-06/0.07634, allocations: 0 / 426.2 MB, free: 2.551 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.725e-06/0.07635, allocations: 4 kB / 426.3 MB, free: 2.547 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003168/0.07666, allocations: 0 / 426.3 MB, free: 2.547 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.02235/0.09901, allocations: 10.71 MB / 437 MB, free: 7.758 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.265e-05/0.09907, allocations: 12.02 kB / 437 MB, free: 7.746 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004357/0.1034, allocations: 1.573 MB / 438.5 MB, free: 6.168 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004192/0.1076, allocations: 2.281 MB / 440.8 MB, free: 3.84 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002595/0.1079, allocations: 295.5 kB / 441.1 MB, free: 3.551 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001034/0.1089, allocations: 407.7 kB / 441.5 MB, free: 3.152 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2055/0.3144, allocations: 6.057 MB / 447.6 MB, free: 91.2 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001275/0.3145, allocations: 47.97 kB / 447.6 MB, free: 91.2 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003268/0.3149, allocations: 181.2 kB / 447.8 MB, free: 91.2 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001258/0.3161, allocations: 1.603 MB / 449.4 MB, free: 91.19 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005035/0.3212, allocations: 2.686 MB / 452.1 MB, free: 91.05 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02296/0.3441, allocations: 42.99 MB / 495.1 MB, free: 55.75 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002831/0.347, allocations: 1.047 MB / 496.1 MB, free: 55.49 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003103/0.3473, allocations: 314 kB / 496.4 MB, free: 55.41 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00325/0.3505, allocations: 3.264 MB / 499.7 MB, free: 53.63 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/0.3505, allocations: 52.89 kB / 499.7 MB, free: 53.57 MB / 410.7 MB Notification: Performance of pre-optimization done (n=126): time 2.254e-06/0.3505, allocations: 3.312 kB / 499.7 MB, free: 53.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=126): time 0.0009144/0.3515, allocations: 0.9531 MB / 0.489 GB, free: 53.24 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.926e-05/0.3515, allocations: 141.2 kB / 0.4891 GB, free: 53.08 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00281/0.3543, allocations: 3.978 MB / 0.493 GB, free: 51.41 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.581e-05/0.3543, allocations: 40.98 kB / 0.493 GB, free: 51.37 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001531/0.3559, allocations: 3.989 MB / 0.4969 GB, free: 48.4 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003447/0.3562, allocations: 0.6082 MB / 0.4975 GB, free: 47.96 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001272/0.3575, allocations: 1.41 MB / 0.4989 GB, free: 47.18 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.534e-05/0.3576, allocations: 485.7 kB / 0.4993 GB, free: 46.7 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007857/0.3583, allocations: 456.9 kB / 0.4998 GB, free: 46.69 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00345/0.3618, allocations: 6.786 MB / 0.5064 GB, free: 38.04 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007214/0.369, allocations: 8.091 MB / 0.5143 GB, free: 28.54 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001226/0.3691, allocations: 43.59 kB / 0.5144 GB, free: 28.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=823) (initialization): time 0.006709/0.3758, allocations: 5.063 MB / 0.5193 GB, free: 26.57 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.01e-05/0.3759, allocations: 67.91 kB / 0.5194 GB, free: 26.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001683/0.3761, allocations: 154.3 kB / 0.5195 GB, free: 26.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001874/0.3763, allocations: 199.8 kB / 0.5197 GB, free: 26.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002402/0.3787, allocations: 1.468 MB / 0.5211 GB, free: 26.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002007/0.3789, allocations: 292.1 kB / 0.5214 GB, free: 26.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002539/0.3814, allocations: 0.8418 MB / 0.5222 GB, free: 25.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003256/0.3817, allocations: 350 kB / 0.5226 GB, free: 25.72 MB / 410.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 (world.gravitySphereColor[1],world.gravitySphereColor[2],world.gravitySphereColor[3],world.groundColor[1],world.groundColor[2],world.groundColor[3],world.axisColor_x[1],world.axisColor_x[2],world.axisColor_x[3],world.gravityArrowColor[1],world.gravityArrowColor[2],world.gravityArrowColor[3],rotor1D1.cylinderColor[1],rotor1D1.cylinderColor[2],rotor1D1.cylinderColor[3],rotor1D2.cylinderColor[1],rotor1D2.cylinderColor[2],rotor1D2.cylinderColor[3],rotor1D3.cylinderColor[1],rotor1D3.cylinderColor[2],rotor1D3.cylinderColor[3],rotor1D4.cylinderColor[1],rotor1D4.cylinderColor[2],rotor1D4.cylinderColor[3],rotor1D5.cylinderColor[1],rotor1D5.cylinderColor[2],rotor1D5.cylinderColor[3],rotor1D6.cylinderColor[1],rotor1D6.cylinderColor[2],rotor1D6.cylinderColor[3],rotor1D7.cylinderColor[1],rotor1D7.cylinderColor[2],rotor1D7.cylinderColor[3],rotor1D8.cylinderColor[1],rotor1D8.cylinderColor[2],rotor1D8.cylinderColor[3],rotor1D9.cylinderColor[1],rotor1D9.cylinderColor[2],rotor1D9.cylinderColor[3],rotor1D10.cylinderColor[1],rotor1D10.cylinderColor[2],rotor1D10.cylinderColor[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (799): * Single equations (assignments): 796 * 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.001385/0.3831, allocations: 0.7166 MB / 0.5233 GB, free: 25.15 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002904/0.3834, allocations: 395 kB / 0.5236 GB, free: 24.93 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008405/0.3842, allocations: 0.6544 MB / 0.5243 GB, free: 24.66 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.892e-05/0.3843, allocations: 11.72 kB / 0.5243 GB, free: 24.66 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/0.3843, allocations: 3.156 kB / 0.5243 GB, free: 24.66 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.664e-05/0.3843, allocations: 4.688 kB / 0.5243 GB, free: 24.66 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004182/0.3885, allocations: 2.752 MB / 0.527 GB, free: 22.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-06/0.3885, allocations: 4 kB / 0.527 GB, free: 22.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004865/0.389, allocations: 216.6 kB / 0.5272 GB, free: 22.26 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.54e-06/0.389, allocations: 4 kB / 0.5272 GB, free: 22.26 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.053e-05/0.389, allocations: 22.58 kB / 0.5272 GB, free: 22.24 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/0.389, allocations: 4.797 kB / 0.5272 GB, free: 22.23 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.389, allocations: 0 / 0.5272 GB, free: 22.23 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001145/0.3902, allocations: 1.573 MB / 0.5288 GB, free: 20.71 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002767/0.3904, allocations: 332.6 kB / 0.5291 GB, free: 20.39 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000172/0.3906, allocations: 21.08 kB / 0.5291 GB, free: 20.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000374/0.391, allocations: 19.98 kB / 0.5291 GB, free: 20.36 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001154/0.3911, allocations: 65.06 kB / 0.5292 GB, free: 20.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.045e-05/0.3911, allocations: 34.89 kB / 0.5292 GB, free: 20.29 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001615/0.3928, allocations: 1.598 MB / 0.5308 GB, free: 19 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3928, allocations: 0 / 0.5308 GB, free: 19 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003027/0.3958, allocations: 1.271 MB / 0.532 GB, free: 17.73 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (102): * Single equations (assignments): 99 * 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.0002949/0.3961, allocations: 147.2 kB / 0.5322 GB, free: 17.58 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002691/0.3988, allocations: 2.451 MB / 0.5346 GB, free: 15.45 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.3988, allocations: 4 kB / 0.5346 GB, free: 15.45 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002763/0.3991, allocations: 292.6 kB / 0.5348 GB, free: 15.2 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001176/0.4002, allocations: 462.6 kB / 0.5353 GB, free: 14.81 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008518/0.4087, allocations: 8.258 MB / 0.5433 GB, free: 7.07 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001037/0.4098, allocations: 1.34 MB / 0.5447 GB, free: 6.105 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001052/0.4108, allocations: 0.5372 MB / 0.5452 GB, free: 5.707 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005824/0.4114, allocations: 0.6419 MB / 0.5458 GB, free: 5.117 MB / 410.7 MB Notification: Performance of SimCode: time 1.163e-06/0.4114, allocations: 4 kB / 0.5458 GB, free: 5.113 MB / 410.7 MB Notification: Performance of Templates: time 0.04168/0.4531, allocations: 24.35 MB / 0.5696 GB, free: 13.92 MB / 442.7 MB " [Timeout remaining time 660] 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: 4.408102857880294]