Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 82.64 kB / 21.44 MB, free: 3.055 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001149/0.001149, allocations: 173 kB / 24.84 MB, free: 8.914 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9692/0.9692, allocations: 158.6 MB / 186.7 MB, free: 2.773 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1507/0.1507, allocations: 32.37 MB / 271.5 MB, free: 14.53 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 348.9 MB, free: 9.172 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.409e-05/2.563e-05, allocations: 2.312 kB / 348.9 MB, free: 9.168 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.01123/0.01126, allocations: 11.16 MB / 360.1 MB, free: 13.96 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008521/0.01978, allocations: 3.813 MB / 363.9 MB, free: 10.14 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002103/0.02188, allocations: 79.62 kB / 364 MB, free: 10.06 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003912/0.02579, allocations: 2.869 MB / 366.8 MB, free: 7.18 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004238/0.03003, allocations: 2.018 MB / 368.9 MB, free: 5.152 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001447/0.03148, allocations: 0.76 MB / 369.6 MB, free: 4.391 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.005326/0.0368, allocations: 4.122 MB / 373.7 MB, free: 260 kB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00438/0.04118, allocations: 3.276 MB / 377 MB, free: 12.91 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004186/0.04537, allocations: 2.444 MB / 379.5 MB, free: 10.46 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004166/0.04953, allocations: 2.252 MB / 381.7 MB, free: 8.207 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001338/0.05087, allocations: 344 kB / 382 MB, free: 7.871 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002424/0.0533, allocations: 1.026 MB / 383.1 MB, free: 6.844 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002213/0.05551, allocations: 2.077 MB / 385.1 MB, free: 4.762 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002332/0.05784, allocations: 1.305 MB / 386.5 MB, free: 3.453 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005432/0.06327, allocations: 4.585 MB / 391 MB, free: 14.85 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.06328, allocations: 0 / 391 MB, free: 14.85 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.06328, allocations: 4 kB / 391 MB, free: 14.85 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001215/0.0634, allocations: 0 / 391 MB, free: 14.85 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.007353/0.07076, allocations: 5.551 MB / 396.6 MB, free: 9.23 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.0708, allocations: 8.031 kB / 396.6 MB, free: 9.223 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003369/0.07417, allocations: 1.473 MB / 398.1 MB, free: 7.746 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002841/0.07701, allocations: 1.914 MB / 400 MB, free: 5.773 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000143/0.07715, allocations: 246.2 kB / 400.2 MB, free: 5.531 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003623/0.07752, allocations: 311.8 kB / 400.5 MB, free: 5.227 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006788/0.0843, allocations: 5.37 MB / 405.9 MB, free: 14.96 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-05/0.08439, allocations: 39.64 kB / 405.9 MB, free: 14.92 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002668/0.08466, allocations: 151.9 kB / 406.1 MB, free: 14.77 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001966/0.08663, allocations: 1.685 MB / 407.8 MB, free: 13.08 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00568/0.09231, allocations: 2.341 MB / 410.1 MB, free: 10.7 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1979/0.2902, allocations: 41.45 MB / 451.6 MB, free: 91.44 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00367/0.2939, allocations: 1.14 MB / 452.7 MB, free: 91.3 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006943/0.2946, allocations: 349.5 kB / 453.1 MB, free: 91.25 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005566/0.3001, allocations: 3.156 MB / 456.2 MB, free: 90.42 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.556e-05/0.3002, allocations: 50.72 kB / 456.3 MB, free: 90.38 MB / 378.7 MB Notification: Performance of pre-optimization done (n=116): time 4.088e-06/0.3002, allocations: 4.969 kB / 456.3 MB, free: 90.38 MB / 378.7 MB Notification: Performance of matching and sorting (n=117): time 0.009542/0.3097, allocations: 3.038 MB / 459.3 MB, free: 90.01 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.025e-05/0.3098, allocations: 149.1 kB / 459.4 MB, free: 89.85 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004312/0.3141, allocations: 3.552 MB / 463 MB, free: 89.31 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.168e-05/0.3142, allocations: 41.94 kB / 463 MB, free: 89.28 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001662/0.3158, allocations: 3.552 MB / 466.6 MB, free: 87.32 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004711/0.3163, allocations: 0.5278 MB / 467.1 MB, free: 87.05 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00119/0.3175, allocations: 1.288 MB / 468.4 MB, free: 86.89 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.411e-05/0.3175, allocations: 478 kB / 468.9 MB, free: 86.42 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009467/0.3185, allocations: 495.6 kB / 469.4 MB, free: 86.41 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002715/0.3212, allocations: 6.21 MB / 475.6 MB, free: 78.98 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004411/0.3256, allocations: 7.37 MB / 482.9 MB, free: 71.4 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.309e-05/0.3257, allocations: 44.22 kB / 483 MB, free: 71.4 MB / 378.7 MB Notification: Performance of matching and sorting (n=751) (initialization): time 0.006016/0.3317, allocations: 4.655 MB / 487.6 MB, free: 69.17 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.192e-05/0.3318, allocations: 64 kB / 487.7 MB, free: 69.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001356/0.3319, allocations: 136 kB / 487.8 MB, free: 68.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003213/0.3322, allocations: 218.3 kB / 488 MB, free: 68.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002646/0.3349, allocations: 1.318 MB / 489.4 MB, free: 67.6 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001064/0.3359, allocations: 2.045 MB / 491.4 MB, free: 65.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003138/0.3391, allocations: 263.7 kB / 491.7 MB, free: 65.26 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000297/0.3394, allocations: 323.7 kB / 492 MB, free: 64.95 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 626 * Number of states: 0 () * Number of discrete variables: 36 (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 (725): * Single equations (assignments): 721 * 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.00118/0.3405, allocations: 0.6547 MB / 492.6 MB, free: 64.29 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000444/0.341, allocations: 341.9 kB / 493 MB, free: 63.95 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009587/0.3419, allocations: 0.6806 MB / 493.6 MB, free: 63.38 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.617e-05/0.342, allocations: 16 kB / 493.7 MB, free: 63.37 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.342, allocations: 0 / 493.7 MB, free: 63.37 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.009e-05/0.342, allocations: 7.312 kB / 493.7 MB, free: 63.37 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005344/0.3473, allocations: 3.771 MB / 497.4 MB, free: 59.95 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.962e-06/0.3473, allocations: 0 / 497.4 MB, free: 59.95 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005872/0.3479, allocations: 176 kB / 497.6 MB, free: 59.78 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000179/0.3481, allocations: 49.84 kB / 497.7 MB, free: 59.73 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.564e-05/0.3481, allocations: 27.98 kB / 497.7 MB, free: 59.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006845/0.3488, allocations: 1.795 MB / 499.5 MB, free: 57.8 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.3488, allocations: 7.922 kB / 499.5 MB, free: 57.79 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001759/0.3506, allocations: 1.624 MB / 0.4894 GB, free: 56.11 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006624/0.3513, allocations: 381.6 kB / 0.4897 GB, free: 55.73 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001916/0.3514, allocations: 23.94 kB / 0.4898 GB, free: 55.71 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004922/0.3519, allocations: 32.02 kB / 0.4898 GB, free: 55.68 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/0.352, allocations: 68.36 kB / 0.4899 GB, free: 55.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.456e-05/0.3521, allocations: 28 kB / 0.4899 GB, free: 55.59 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001112/0.3532, allocations: 1.414 MB / 0.4913 GB, free: 54.18 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3532, allocations: 0 / 0.4913 GB, free: 54.18 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0042/0.3574, allocations: 0.91 MB / 0.4922 GB, free: 53.27 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (95): * Single equations (assignments): 91 * 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.000444/0.3578, allocations: 178.9 kB / 0.4923 GB, free: 53.09 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003437/0.3613, allocations: 2.477 MB / 0.4947 GB, free: 50.61 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.077e-06/0.3613, allocations: 4 kB / 0.4947 GB, free: 50.61 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004892/0.3618, allocations: 481.9 kB / 0.4952 GB, free: 50.12 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001933/0.3637, allocations: 373.9 kB / 0.4956 GB, free: 49.78 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01018/0.3739, allocations: 7.071 MB / 0.5025 GB, free: 42.61 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009145/0.3748, allocations: 1.202 MB / 0.5036 GB, free: 41.38 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001168/0.376, allocations: 470.5 kB / 0.5041 GB, free: 40.92 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005487/0.3765, allocations: 0.541 MB / 0.5046 GB, free: 40.38 MB / 378.7 MB Notification: Performance of SimCode: time 1.072e-06/0.3765, allocations: 0 / 0.5046 GB, free: 40.38 MB / 378.7 MB Notification: Performance of Templates: time 0.03723/0.4138, allocations: 24.67 MB / 0.5287 GB, free: 15.84 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_2/Rotor1D_2.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.118960260879248]