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.0009893/0.0009893, allocations: 80.2 kB / 20.65 MB, free: 3.84 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.0009802/0.0009802, allocations: 173 kB / 24.06 MB, free: 448 kB / 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.9564/0.9564, allocations: 158.6 MB / 185.9 MB, free: 2.402 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.1684/0.1684, allocations: 32.37 MB / 270.7 MB, free: 14.51 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.994e-06/1.994e-06, allocations: 0 / 348.1 MB, free: 9.172 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.197e-05/2.397e-05, allocations: 8.219 kB / 348.1 MB, free: 9.164 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.007923/0.007947, allocations: 11.16 MB / 359.3 MB, free: 13.95 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006967/0.01491, allocations: 3.813 MB / 363.1 MB, free: 10.13 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001157/0.01607, allocations: 75.62 kB / 363.2 MB, free: 10.05 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003207/0.01928, allocations: 2.881 MB / 366.1 MB, free: 7.164 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004164/0.02344, allocations: 2.006 MB / 368.1 MB, free: 5.148 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001361/0.0248, allocations: 0.7639 MB / 368.8 MB, free: 4.383 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003849/0.02865, allocations: 4.128 MB / 373 MB, free: 248 kB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003405/0.03206, allocations: 3.273 MB / 376.2 MB, free: 12.91 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002867/0.03492, allocations: 2.448 MB / 378.7 MB, free: 10.45 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002655/0.03758, allocations: 2.248 MB / 380.9 MB, free: 8.199 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009301/0.03851, allocations: 344 kB / 381.3 MB, free: 7.863 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001577/0.04009, allocations: 1.026 MB / 382.3 MB, free: 6.836 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002943/0.04303, allocations: 2.073 MB / 384.4 MB, free: 4.758 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001472/0.0445, allocations: 1.305 MB / 385.7 MB, free: 3.449 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008243/0.05275, allocations: 4.589 MB / 390.3 MB, free: 14.84 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.05275, allocations: 0 / 390.3 MB, free: 14.84 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.05275, allocations: 0 / 390.3 MB, free: 14.84 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001239/0.05287, allocations: 0 / 390.3 MB, free: 14.84 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.01396/0.06684, allocations: 5.551 MB / 395.8 MB, free: 9.227 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.06688, allocations: 12.03 kB / 395.8 MB, free: 9.215 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007627/0.07451, allocations: 1.473 MB / 397.3 MB, free: 7.738 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003173/0.07768, allocations: 1.914 MB / 399.2 MB, free: 5.766 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001861/0.07787, allocations: 246.2 kB / 399.4 MB, free: 5.523 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005075/0.07838, allocations: 319.7 kB / 399.8 MB, free: 5.211 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006609/0.08499, allocations: 5.366 MB / 405.1 MB, free: 14.95 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-05/0.08505, allocations: 39.64 kB / 405.2 MB, free: 14.91 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002433/0.08529, allocations: 155.8 kB / 405.3 MB, free: 14.76 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001383/0.08668, allocations: 1.686 MB / 407 MB, free: 13.07 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00331/0.08999, allocations: 2.329 MB / 409.3 MB, free: 10.7 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1979/0.2878, allocations: 41.46 MB / 450.8 MB, free: 91.42 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002911/0.2907, allocations: 1.136 MB / 451.9 MB, free: 91.28 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004581/0.2912, allocations: 350.2 kB / 452.3 MB, free: 91.23 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004746/0.296, allocations: 3.164 MB / 455.4 MB, free: 90.4 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.98e-05/0.296, allocations: 54 kB / 455.5 MB, free: 90.36 MB / 378.7 MB Notification: Performance of pre-optimization done (n=116): time 3.106e-06/0.296, allocations: 0.5625 kB / 455.5 MB, free: 90.36 MB / 378.7 MB Notification: Performance of matching and sorting (n=117): time 0.006778/0.3028, allocations: 3.04 MB / 458.5 MB, free: 89.99 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.589e-05/0.3028, allocations: 142.8 kB / 458.7 MB, free: 89.83 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002972/0.3058, allocations: 3.552 MB / 462.2 MB, free: 89.29 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.65e-05/0.3058, allocations: 41.2 kB / 462.3 MB, free: 89.26 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001489/0.3073, allocations: 3.557 MB / 465.8 MB, free: 87.3 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002891/0.3076, allocations: 0.5273 MB / 466.3 MB, free: 87.03 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009102/0.3085, allocations: 1.285 MB / 467.6 MB, free: 86.87 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.189e-05/0.3086, allocations: 480.2 kB / 468.1 MB, free: 86.4 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006902/0.3093, allocations: 496.8 kB / 468.6 MB, free: 86.39 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002462/0.3117, allocations: 6.218 MB / 474.8 MB, free: 78.96 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004164/0.3159, allocations: 7.369 MB / 482.2 MB, free: 71.36 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.226e-05/0.3159, allocations: 39.31 kB / 482.2 MB, free: 71.36 MB / 378.7 MB Notification: Performance of matching and sorting (n=751) (initialization): time 0.004667/0.3206, allocations: 4.648 MB / 486.8 MB, free: 69.18 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.044e-05/0.3207, allocations: 64 kB / 486.9 MB, free: 69.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.625e-05/0.3207, allocations: 136 kB / 487 MB, free: 68.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002824/0.321, allocations: 219.6 kB / 487.3 MB, free: 68.78 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001991/0.323, allocations: 1.321 MB / 488.6 MB, free: 67.6 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009847/0.324, allocations: 2.049 MB / 490.6 MB, free: 65.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002092/0.3261, allocations: 263.7 kB / 490.9 MB, free: 65.26 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002355/0.3263, allocations: 323.7 kB / 491.2 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.00121/0.3275, allocations: 0.6415 MB / 491.8 MB, free: 64.3 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000296/0.3278, allocations: 353.9 kB / 492.2 MB, free: 63.95 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007579/0.3286, allocations: 0.6694 MB / 492.9 MB, free: 63.39 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-05/0.3286, allocations: 12 kB / 492.9 MB, free: 63.38 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/0.3286, allocations: 4 kB / 492.9 MB, free: 63.38 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.218e-06/0.3286, allocations: 3.938 kB / 492.9 MB, free: 63.38 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004257/0.3329, allocations: 3.783 MB / 496.7 MB, free: 59.95 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/0.3329, allocations: 3.938 kB / 496.7 MB, free: 59.94 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004398/0.3333, allocations: 176.6 kB / 496.8 MB, free: 59.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001485/0.3335, allocations: 47.64 kB / 496.9 MB, free: 59.72 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.335e-05/0.3335, allocations: 24.11 kB / 496.9 MB, free: 59.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006247/0.3341, allocations: 1.789 MB / 498.7 MB, free: 57.79 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.3342, allocations: 7.875 kB / 498.7 MB, free: 57.79 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001176/0.3353, allocations: 1.63 MB / 0.4886 GB, free: 56.1 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003648/0.3357, allocations: 381.6 kB / 0.489 GB, free: 55.72 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00017/0.3359, allocations: 20 kB / 0.489 GB, free: 55.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004652/0.3363, allocations: 27.98 kB / 0.489 GB, free: 55.68 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/0.3364, allocations: 72.3 kB / 0.4891 GB, free: 55.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.255e-05/0.3365, allocations: 32 kB / 0.4891 GB, free: 55.57 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009812/0.3375, allocations: 1.414 MB / 0.4905 GB, free: 54.17 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3375, allocations: 0 / 0.4905 GB, free: 54.17 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003998/0.3415, allocations: 0.9108 MB / 0.4914 GB, free: 53.26 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.0004924/0.3419, allocations: 177.8 kB / 0.4916 GB, free: 53.08 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003618/0.3456, allocations: 2.479 MB / 0.494 GB, free: 50.61 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/0.3456, allocations: 6.625 kB / 0.494 GB, free: 50.6 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004709/0.346, allocations: 486.1 kB / 0.4944 GB, free: 50.11 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002175/0.3482, allocations: 374.5 kB / 0.4948 GB, free: 49.76 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01089/0.3591, allocations: 7.066 MB / 0.5017 GB, free: 42.59 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001257/0.3604, allocations: 1.206 MB / 0.5029 GB, free: 41.36 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001406/0.3618, allocations: 473.8 kB / 0.5033 GB, free: 40.9 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006648/0.3624, allocations: 0.5332 MB / 0.5039 GB, free: 40.37 MB / 378.7 MB Notification: Performance of SimCode: time 1.753e-06/0.3624, allocations: 0 / 0.5039 GB, free: 40.37 MB / 378.7 MB Notification: Performance of Templates: time 0.04081/0.4032, allocations: 24.15 MB / 0.5274 GB, free: 16.32 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.072053829208016]