Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.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.001502/0.001502, allocations: 88.28 kB / 20.96 MB, free: 3.449 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.001539/0.001539, allocations: 156.9 kB / 24.26 MB, free: 148 kB / 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.465/1.465, allocations: 177 MB / 204.5 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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.3606/0.3606, allocations: 34.25 MB / 295.2 MB, free: 0.6641 MB / 266.7 MB " [Timeout remaining time 179] 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.Parts.Rotor1D.Rotor1D_2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.375e-06/2.375e-06, allocations: 0 / 377.2 MB, free: 2.895 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.326e-05/3.564e-05, allocations: 4.562 kB / 377.2 MB, free: 2.891 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.02502/0.02506, allocations: 9.725 MB / 386.9 MB, free: 9.117 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01399/0.03905, allocations: 3.656 MB / 390.6 MB, free: 5.449 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001614/0.04066, allocations: 71.69 kB / 390.7 MB, free: 5.379 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006078/0.04674, allocations: 2.784 MB / 393.5 MB, free: 2.586 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004916/0.05166, allocations: 1.874 MB / 395.3 MB, free: 0.7031 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001872/0.05353, allocations: 0.7602 MB / 396.1 MB, free: 15.94 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005562/0.05909, allocations: 3.985 MB / 400.1 MB, free: 11.95 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00489/0.06398, allocations: 3.155 MB / 403.2 MB, free: 8.73 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004411/0.06839, allocations: 2.226 MB / 405.5 MB, free: 6.5 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003659/0.07205, allocations: 2.1 MB / 407.6 MB, free: 4.395 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006982/0.07275, allocations: 328 kB / 407.9 MB, free: 4.074 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002375/0.07512, allocations: 1.01 MB / 408.9 MB, free: 3.062 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002095/0.07722, allocations: 1.928 MB / 410.8 MB, free: 1.129 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001964/0.07918, allocations: 1.207 MB / 412 MB, free: 15.91 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009806/0.08899, allocations: 6.74 MB / 418.8 MB, free: 9.156 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.08899, allocations: 0 / 418.8 MB, free: 9.156 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.973e-06/0.089, allocations: 4 kB / 418.8 MB, free: 9.152 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001692/0.08917, allocations: 0 / 418.8 MB, free: 9.152 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: 1413 * Number of variables: 1413 Notification: Performance of Generate backend data structure: time 0.0194/0.1086, allocations: 5.269 MB / 424 MB, free: 3.828 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.889e-05/0.1086, allocations: 12.03 kB / 424 MB, free: 3.816 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008138/0.1167, allocations: 2.393 MB / 426.4 MB, free: 1.418 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005121/0.1219, allocations: 2.212 MB / 428.6 MB, free: 15.16 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002299/0.1221, allocations: 225.8 kB / 428.9 MB, free: 14.94 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008/0.1229, allocations: 303.8 kB / 429.2 MB, free: 14.64 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02161/0.1445, allocations: 10.15 MB / 439.3 MB, free: 3.836 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001531/0.1447, allocations: 39.7 kB / 439.3 MB, free: 3.797 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005593/0.1452, allocations: 147.8 kB / 439.5 MB, free: 3.652 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003571/0.1488, allocations: 1.809 MB / 441.3 MB, free: 1.836 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2046/0.3534, allocations: 9.095 MB / 450.4 MB, free: 93.8 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03687/0.3902, allocations: 34.58 MB / 485 MB, free: 69.85 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01252/0.4027, allocations: 3.356 MB / 488.3 MB, free: 69.07 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002324/0.4051, allocations: 1.609 MB / 489.9 MB, free: 68.48 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007852/0.4059, allocations: 239.7 kB / 490.2 MB, free: 68.45 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.525e-05/0.4059, allocations: 48.28 kB / 490.2 MB, free: 68.39 MB / 410.7 MB Notification: Performance of pre-optimization done (n=130): time 4.228e-06/0.4059, allocations: 1 kB / 490.2 MB, free: 68.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=136): time 0.04111/0.447, allocations: 13.6 MB / 0.492 GB, free: 63.9 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.055e-05/0.4471, allocations: 140.4 kB / 0.4922 GB, free: 63.75 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004749/0.4518, allocations: 3.713 MB / 0.4958 GB, free: 60.75 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002934/0.4521, allocations: 50.31 kB / 0.4958 GB, free: 60.7 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0015/0.4536, allocations: 3.065 MB / 0.4988 GB, free: 57.94 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006152/0.4542, allocations: 0.5759 MB / 0.4994 GB, free: 57.43 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001248/0.4555, allocations: 1.137 MB / 0.5005 GB, free: 56.39 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.327e-05/0.4555, allocations: 305.1 kB / 0.5008 GB, free: 56.09 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002343/0.4579, allocations: 1.934 MB / 0.5027 GB, free: 54.47 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004594/0.4624, allocations: 5.501 MB / 0.508 GB, free: 47.58 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007109/0.4696, allocations: 8.049 MB / 0.5159 GB, free: 38.25 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-05/0.4697, allocations: 39.94 kB / 0.5159 GB, free: 38.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=720) (initialization): time 0.01294/0.4826, allocations: 8.203 MB / 0.524 GB, free: 30 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001054/0.4827, allocations: 60 kB / 0.524 GB, free: 29.94 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001935/0.4829, allocations: 127.9 kB / 0.5241 GB, free: 29.81 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002354/0.4852, allocations: 0.9187 MB / 0.525 GB, free: 28.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003938/0.4892, allocations: 1.298 MB / 0.5263 GB, free: 27.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005485/0.4947, allocations: 5.03 MB / 0.5312 GB, free: 22.47 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005096/0.4998, allocations: 331.4 kB / 0.5315 GB, free: 22.15 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0011/0.5009, allocations: 364 kB / 0.5319 GB, free: 21.8 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 579 * Number of states: 0 () * Number of discrete variables: 38 (torque.torqueArrow.twoHeadedArrow,torque.torqueArrow.headAtOrigin,rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],fixed.color[3],fixed.color[2],fixed.color[1],torque.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[1],torque.torqueColor[3],torque.torqueColor[2],torque.torqueColor[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],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],bodyCylinder.frameTranslation.color[3],bodyCylinder.frameTranslation.color[2],bodyCylinder.frameTranslation.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (681): * Single equations (assignments): 677 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,13,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004141/0.505, allocations: 1.968 MB / 0.5338 GB, free: 19.82 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001141/0.5061, allocations: 345.9 kB / 0.5341 GB, free: 19.48 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005044/0.5112, allocations: 2.739 MB / 0.5368 GB, free: 16.72 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-05/0.5112, allocations: 12 kB / 0.5368 GB, free: 16.71 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.714e-05/0.5113, allocations: 4.094 kB / 0.5368 GB, free: 16.7 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.687e-05/0.5113, allocations: 11.97 kB / 0.5368 GB, free: 16.69 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01333/0.5246, allocations: 6.2 MB / 0.5429 GB, free: 10.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.99e-05/0.5246, allocations: 4.094 kB / 0.5429 GB, free: 10.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001231/0.5259, allocations: 255.6 kB / 0.5431 GB, free: 10.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002142/0.528, allocations: 0.7264 MB / 0.5438 GB, free: 9.473 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002205/0.5282, allocations: 35.97 kB / 0.5439 GB, free: 9.438 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004981/0.5332, allocations: 4.647 MB / 0.5484 GB, free: 4.695 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/0.5332, allocations: 0 / 0.5484 GB, free: 4.695 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007189/0.5404, allocations: 5.123 MB / 0.5534 GB, free: 15.54 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001076/0.5415, allocations: 301.8 kB / 0.5537 GB, free: 15.25 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006784/0.5421, allocations: 20 kB / 0.5537 GB, free: 15.23 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001689/0.5438, allocations: 111.8 kB / 0.5538 GB, free: 15.12 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003514/0.5442, allocations: 100.4 kB / 0.5539 GB, free: 15.02 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000152/0.5443, allocations: 54.47 kB / 0.554 GB, free: 14.97 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00476/0.5491, allocations: 2.159 MB / 0.5561 GB, free: 12.82 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.5491, allocations: 4 kB / 0.5561 GB, free: 12.81 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005915/0.555, allocations: 0.9374 MB / 0.557 GB, free: 11.88 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.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 (104): * Single equations (assignments): 100 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006551/0.5557, allocations: 173 kB / 0.5572 GB, free: 11.7 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.009288/0.565, allocations: 4.468 MB / 0.5615 GB, free: 7.254 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.386e-06/0.565, allocations: 0 / 0.5615 GB, free: 7.254 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00231/0.5673, allocations: 1.279 MB / 0.5628 GB, free: 5.965 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002676/0.57, allocations: 392.7 kB / 0.5632 GB, free: 5.594 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01793/0.5879, allocations: 8.546 MB / 0.5715 GB, free: 12.98 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004233/0.5921, allocations: 2.519 MB / 0.574 GB, free: 10.43 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.004525/0.5966, allocations: 1.725 MB / 0.5756 GB, free: 8.699 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008897/0.5975, allocations: 256.4 kB / 0.5759 GB, free: 8.449 MB / 442.7 MB Notification: Performance of SimCode: time 3.096e-06/0.5975, allocations: 4 kB / 0.5759 GB, free: 8.445 MB / 442.7 MB Notification: Performance of Templates: time 0.2074/0.8049, allocations: 29.47 MB / 0.6047 GB, free: 128 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_2/Rotor1D_2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.955984984990209]