Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.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.001512/0.001512, allocations: 85.91 kB / 22.22 MB, free: 2.281 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.001995/0.001995, allocations: 157.7 kB / 25.61 MB, free: 8.574 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 0.9759/0.9759, allocations: 177 MB / 205.9 MB, free: 4.422 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.1592/0.1592, allocations: 34.88 MB / 297.4 MB, free: 13.32 MB / 282.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.Parts.Rotor1D.Rotor1D_3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|r1.phi|r1.w|r2.phi|r2.w|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|r1.phi|r1.w|r2.phi|r2.w|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0 / 380 MB, free: 22.73 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.404e-05/2.599e-05, allocations: 7.938 kB / 380 MB, free: 22.72 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.009534/0.00956, allocations: 12.32 MB / 392.3 MB, free: 10.35 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00758/0.01714, allocations: 4.19 MB / 396.5 MB, free: 6.152 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001448/0.01859, allocations: 91.56 kB / 396.6 MB, free: 6.062 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003166/0.02175, allocations: 3.929 MB / 400.5 MB, free: 2.121 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002891/0.02464, allocations: 2.122 MB / 402.7 MB, free: 15.98 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001273/0.02592, allocations: 0.877 MB / 403.5 MB, free: 15.11 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003396/0.02931, allocations: 4.634 MB / 408.2 MB, free: 10.46 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003077/0.03239, allocations: 4.074 MB / 412.2 MB, free: 6.312 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002737/0.03513, allocations: 2.951 MB / 415.2 MB, free: 3.355 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003102/0.03823, allocations: 2.498 MB / 417.7 MB, free: 0.8516 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006766/0.03891, allocations: 408 kB / 418.1 MB, free: 464 kB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001605/0.04051, allocations: 1.084 MB / 419.2 MB, free: 15.37 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001532/0.04204, allocations: 2.341 MB / 421.5 MB, free: 13.02 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001526/0.04357, allocations: 1.515 MB / 423 MB, free: 11.5 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004671/0.04824, allocations: 5.079 MB / 428.1 MB, free: 6.402 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.04825, allocations: 0 / 428.1 MB, free: 6.402 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.04825, allocations: 0 / 428.1 MB, free: 6.402 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001075/0.04835, allocations: 0 / 428.1 MB, free: 6.402 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1736 * Number of variables: 1736 Notification: Performance of Generate backend data structure: time 0.008434/0.05679, allocations: 6.403 MB / 434.5 MB, free: 15.93 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.158e-05/0.05684, allocations: 12.03 kB / 434.5 MB, free: 15.92 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003426/0.06027, allocations: 1.593 MB / 436.1 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002584/0.06285, allocations: 2.193 MB / 438.3 MB, free: 12.08 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000156/0.06301, allocations: 295.6 kB / 438.6 MB, free: 11.79 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004303/0.06344, allocations: 391.8 kB / 439 MB, free: 11.41 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006557/0.06999, allocations: 6.142 MB / 445.1 MB, free: 4.297 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.783e-05/0.07008, allocations: 43.62 kB / 445.2 MB, free: 4.254 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002989/0.07038, allocations: 183.8 kB / 445.4 MB, free: 4.074 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00151/0.07189, allocations: 1.793 MB / 447.1 MB, free: 2.277 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004711/0.0766, allocations: 2.7 MB / 449.8 MB, free: 15.55 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2076/0.2842, allocations: 46.08 MB / 495.9 MB, free: 102 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006652/0.2909, allocations: 1.617 MB / 497.5 MB, free: 101.9 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001349/0.2922, allocations: 0.4948 MB / 498 MB, free: 101.8 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01105/0.3033, allocations: 4.474 MB / 0.4907 GB, free: 100.9 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.715e-05/0.3033, allocations: 48.06 kB / 0.4908 GB, free: 100.9 MB / 410.7 MB Notification: Performance of pre-optimization done (n=149): time 6.843e-06/0.3034, allocations: 2.219 kB / 0.4908 GB, free: 100.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=158): time 0.01852/0.3219, allocations: 5.961 MB / 0.4966 GB, free: 100.3 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.778e-05/0.3219, allocations: 149.3 kB / 0.4967 GB, free: 100.1 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003411/0.3253, allocations: 3.781 MB / 0.5004 GB, free: 99.6 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001251/0.3255, allocations: 49.7 kB / 0.5005 GB, free: 99.57 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001575/0.327, allocations: 3.892 MB / 0.5043 GB, free: 97.45 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000582/0.3276, allocations: 0.6931 MB / 0.505 GB, free: 97.08 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001165/0.3288, allocations: 1.395 MB / 0.5063 GB, free: 96.92 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.002e-05/0.3288, allocations: 484.3 kB / 0.5068 GB, free: 96.45 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009644/0.3298, allocations: 0.5737 MB / 0.5074 GB, free: 96.43 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002783/0.3326, allocations: 6.649 MB / 0.5138 GB, free: 88.27 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004886/0.3375, allocations: 7.934 MB / 0.5216 GB, free: 78.41 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001526/0.3376, allocations: 44 kB / 0.5216 GB, free: 78.37 MB / 410.7 MB Notification: Performance of matching and sorting (n=828) (initialization): time 0.007732/0.3454, allocations: 5.121 MB / 0.5266 GB, free: 73.41 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.905e-05/0.3454, allocations: 64 kB / 0.5267 GB, free: 73.35 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001169/0.3455, allocations: 148 kB / 0.5268 GB, free: 73.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004551/0.346, allocations: 254.7 kB / 0.5271 GB, free: 72.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002326/0.3483, allocations: 1.462 MB / 0.5285 GB, free: 71.49 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001323/0.3496, allocations: 2.146 MB / 0.5306 GB, free: 69.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003091/0.3527, allocations: 279.7 kB / 0.5309 GB, free: 68.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002915/0.353, allocations: 344 kB / 0.5312 GB, free: 68.64 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 661 * Number of states: 0 () * Number of discrete variables: 44 (torque.torqueArrow.twoHeadedArrow,torque.torqueArrow.headAtOrigin,fixed.color[3],fixed.color[2],fixed.color[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.cylinderColor[1],rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[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 (802): * Single equations (assignments): 798 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001516/0.3545, allocations: 0.6974 MB / 0.5319 GB, free: 67.93 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005084/0.355, allocations: 401.5 kB / 0.5323 GB, free: 67.54 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001329/0.3564, allocations: 0.995 MB / 0.5332 GB, free: 66.54 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.736e-05/0.3564, allocations: 20 kB / 0.5333 GB, free: 66.52 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/0.3564, allocations: 0 / 0.5333 GB, free: 66.52 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.147e-05/0.3564, allocations: 7.969 kB / 0.5333 GB, free: 66.51 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007022/0.3634, allocations: 5.068 MB / 0.5382 GB, free: 61.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.033e-05/0.3634, allocations: 8 kB / 0.5382 GB, free: 61.31 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008947/0.3643, allocations: 268.3 kB / 0.5385 GB, free: 61.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003227/0.3647, allocations: 67.58 kB / 0.5385 GB, free: 60.98 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.16e-05/0.3648, allocations: 32 kB / 0.5386 GB, free: 60.95 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001131/0.3659, allocations: 1.884 MB / 0.5404 GB, free: 58.95 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-06/0.3659, allocations: 8 kB / 0.5404 GB, free: 58.95 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00236/0.3683, allocations: 2.199 MB / 0.5426 GB, free: 56.64 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007888/0.369, allocations: 461.3 kB / 0.543 GB, free: 56.19 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003358/0.3694, allocations: 28 kB / 0.543 GB, free: 56.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008618/0.3702, allocations: 39.98 kB / 0.5431 GB, free: 56.12 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001822/0.3704, allocations: 112.6 kB / 0.5432 GB, free: 56.01 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.044e-05/0.3705, allocations: 39.98 kB / 0.5432 GB, free: 55.97 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001527/0.372, allocations: 1.511 MB / 0.5447 GB, free: 54.48 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.372, allocations: 0 / 0.5447 GB, free: 54.48 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0044/0.3764, allocations: 1.023 MB / 0.5457 GB, free: 53.46 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 8 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w,r1.phi,r1.w,r2.phi,r2.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 (143): * Single equations (assignments): 139 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003808/0.3768, allocations: 194.5 kB / 0.5459 GB, free: 53.26 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004144/0.381, allocations: 2.825 MB / 0.5486 GB, free: 50.44 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.381, allocations: 4 kB / 0.5486 GB, free: 50.43 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000811/0.3818, allocations: 0.6484 MB / 0.5493 GB, free: 49.76 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002137/0.3839, allocations: 432.5 kB / 0.5497 GB, free: 49.37 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03555/0.4195, allocations: 8.358 MB / 0.5578 GB, free: 40.86 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001438/0.4209, allocations: 1.366 MB / 0.5592 GB, free: 39.46 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.006637/0.4275, allocations: 0.5116 MB / 0.5597 GB, free: 38.95 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008109/0.4283, allocations: 0.6035 MB / 0.5603 GB, free: 38.35 MB / 410.7 MB Notification: Performance of SimCode: time 2.134e-06/0.4283, allocations: 0 / 0.5603 GB, free: 38.35 MB / 410.7 MB Notification: Performance of Templates: time 0.04697/0.4753, allocations: 31.03 MB / 0.5906 GB, free: 7.812 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_3/Rotor1D_3.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.677636686246842]