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.001634/0.001634, allocations: 91.33 kB / 20.43 MB, free: 4.145 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.002431/0.002431, allocations: 165 kB / 23.8 MB, free: 0.7773 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.8491/0.8491, allocations: 158.6 MB / 185.6 MB, free: 2.922 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.1261/0.1261, allocations: 32.37 MB / 270.4 MB, free: 14.81 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.674e-06/1.674e-06, allocations: 3.938 kB / 347.7 MB, free: 9.441 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.013e-05/3.18e-05, allocations: 4.281 kB / 347.7 MB, free: 9.438 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.008894/0.008926, allocations: 11.47 MB / 359.2 MB, free: 13.91 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006904/0.01583, allocations: 3.852 MB / 363 MB, free: 10.05 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001261/0.01709, allocations: 75.69 kB / 363.1 MB, free: 9.977 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003217/0.02031, allocations: 2.92 MB / 366 MB, free: 7.047 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003534/0.02384, allocations: 1.998 MB / 368 MB, free: 5.039 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001144/0.02499, allocations: 0.7678 MB / 368.8 MB, free: 4.27 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003958/0.02894, allocations: 4.131 MB / 372.9 MB, free: 128 kB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003365/0.03231, allocations: 3.265 MB / 376.2 MB, free: 12.8 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00345/0.03576, allocations: 2.366 MB / 378.5 MB, free: 10.43 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003635/0.03939, allocations: 2.33 MB / 380.9 MB, free: 8.09 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00118/0.04057, allocations: 352 kB / 381.2 MB, free: 7.746 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001622/0.0422, allocations: 1.037 MB / 382.2 MB, free: 6.707 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001437/0.04363, allocations: 2.088 MB / 384.3 MB, free: 4.613 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001832/0.04546, allocations: 1.316 MB / 385.6 MB, free: 3.293 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005771/0.05124, allocations: 4.624 MB / 390.3 MB, free: 14.65 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.321e-06/0.05124, allocations: 0 / 390.3 MB, free: 14.65 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.05124, allocations: 0 / 390.3 MB, free: 14.65 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002227/0.05147, allocations: 3.938 kB / 390.3 MB, free: 14.65 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.0115/0.06297, allocations: 5.919 MB / 396.2 MB, free: 8.664 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.06301, allocations: 8.031 kB / 396.2 MB, free: 8.656 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004361/0.06737, allocations: 2.393 MB / 398.6 MB, free: 6.258 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003222/0.0706, allocations: 2.137 MB / 400.7 MB, free: 4.07 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000194/0.07079, allocations: 242.2 kB / 401 MB, free: 3.832 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004338/0.07122, allocations: 315.8 kB / 401.3 MB, free: 3.523 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009688/0.08091, allocations: 6.319 MB / 407.6 MB, free: 12.31 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001078/0.08102, allocations: 39.64 kB / 407.6 MB, free: 12.27 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003126/0.08133, allocations: 155.8 kB / 407.8 MB, free: 12.12 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002051/0.08338, allocations: 1.982 MB / 409.8 MB, free: 10.13 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01038/0.09377, allocations: 3.53 MB / 413.3 MB, free: 6.574 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1909/0.2846, allocations: 42.22 MB / 455.5 MB, free: 65.24 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006556/0.2912, allocations: 2.027 MB / 457.5 MB, free: 65.08 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009166/0.2921, allocations: 0.5561 MB / 458.1 MB, free: 65.04 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000494/0.2926, allocations: 233.1 kB / 458.3 MB, free: 65.03 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.056e-05/0.2926, allocations: 47.61 kB / 458.4 MB, free: 64.99 MB / 378.7 MB Notification: Performance of pre-optimization done (n=151): time 4.148e-06/0.2926, allocations: 0 / 458.4 MB, free: 64.99 MB / 378.7 MB Notification: Performance of matching and sorting (n=157): time 0.02092/0.3136, allocations: 10.23 MB / 468.6 MB, free: 62.52 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.904e-05/0.3136, allocations: 148.3 kB / 468.7 MB, free: 62.36 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003166/0.3168, allocations: 3.455 MB / 472.2 MB, free: 61.84 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001665/0.3169, allocations: 47.48 kB / 472.2 MB, free: 61.81 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001397/0.3183, allocations: 3.418 MB / 475.7 MB, free: 60.03 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004821/0.3188, allocations: 0.6667 MB / 476.3 MB, free: 59.67 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001042/0.3199, allocations: 1.298 MB / 477.6 MB, free: 59.52 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.834e-05/0.3199, allocations: 476.8 kB / 478.1 MB, free: 59.05 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001041/0.3209, allocations: 0.6335 MB / 478.7 MB, free: 58.78 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002295/0.3232, allocations: 6.121 MB / 484.8 MB, free: 50.76 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004578/0.3278, allocations: 7.459 MB / 492.3 MB, free: 41.74 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.877e-05/0.3279, allocations: 40 kB / 492.3 MB, free: 41.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=761) (initialization): time 0.007764/0.3357, allocations: 5.582 MB / 497.9 MB, free: 36.35 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.389e-05/0.3357, allocations: 60 kB / 498 MB, free: 36.29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.842e-05/0.3358, allocations: 132 kB / 498.1 MB, free: 36.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001169/0.337, allocations: 0.6324 MB / 498.8 MB, free: 35.54 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002188/0.3392, allocations: 1.372 MB / 0.4884 GB, free: 34.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002626/0.3418, allocations: 3.2 MB / 0.4915 GB, free: 30.85 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002727/0.3445, allocations: 363.6 kB / 0.4919 GB, free: 30.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003133/0.3448, allocations: 372 kB / 0.4922 GB, free: 30.13 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 599 * 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 (722): * Single equations (assignments): 718 * 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.001234/0.3461, allocations: 0.6655 MB / 0.4929 GB, free: 29.46 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004463/0.3465, allocations: 361.9 kB / 0.4932 GB, free: 29.11 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002177/0.3487, allocations: 1.595 MB / 0.4948 GB, free: 27.5 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-05/0.3487, allocations: 23.94 kB / 0.4948 GB, free: 27.47 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.07e-05/0.3487, allocations: 4 kB / 0.4948 GB, free: 27.47 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.19e-05/0.3487, allocations: 7.969 kB / 0.4948 GB, free: 27.46 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00674/0.3555, allocations: 5.229 MB / 0.4999 GB, free: 22.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.304e-06/0.3555, allocations: 0 / 0.4999 GB, free: 22.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006789/0.3562, allocations: 307.3 kB / 0.5002 GB, free: 21.9 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000934/0.3571, allocations: 434.9 kB / 0.5006 GB, free: 21.47 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.934e-05/0.3572, allocations: 48.45 kB / 0.5007 GB, free: 21.42 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00212/0.3593, allocations: 2.931 MB / 0.5035 GB, free: 18.38 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.3593, allocations: 4.031 kB / 0.5035 GB, free: 18.38 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003595/0.3629, allocations: 2.649 MB / 0.5061 GB, free: 15.69 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001021/0.3639, allocations: 0.5171 MB / 0.5066 GB, free: 15.17 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002652/0.3642, allocations: 31.59 kB / 0.5067 GB, free: 15.14 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009622/0.3651, allocations: 123.8 kB / 0.5068 GB, free: 15.02 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002355/0.3654, allocations: 112.7 kB / 0.5069 GB, free: 14.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001006/0.3655, allocations: 55.97 kB / 0.5069 GB, free: 14.86 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001847/0.3673, allocations: 1.475 MB / 0.5084 GB, free: 13.39 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.3673, allocations: 0 / 0.5084 GB, free: 13.39 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003869/0.3712, allocations: 1.027 MB / 0.5094 GB, free: 12.36 MB / 378.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 (126): * Single equations (assignments): 122 * 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.0003645/0.3716, allocations: 186.8 kB / 0.5096 GB, free: 12.18 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004444/0.376, allocations: 2.94 MB / 0.5124 GB, free: 9.234 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.376, allocations: 0 / 0.5124 GB, free: 9.234 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009924/0.377, allocations: 0.7649 MB / 0.5132 GB, free: 8.457 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001733/0.3787, allocations: 398 kB / 0.5136 GB, free: 8.094 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01021/0.389, allocations: 7.34 MB / 0.5207 GB, free: 0.6758 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001169/0.3901, allocations: 1.228 MB / 0.5219 GB, free: 15.43 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.003231/0.3934, allocations: 1.603 MB / 0.5235 GB, free: 13.82 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006452/0.394, allocations: 264.4 kB / 0.5237 GB, free: 13.57 MB / 394.7 MB Notification: Performance of SimCode: time 1.613e-06/0.394, allocations: 0 / 0.5237 GB, free: 13.57 MB / 394.7 MB Notification: Performance of Templates: time 0.05043/0.4444, allocations: 31.33 MB / 0.5543 GB, free: 14.37 MB / 426.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.488549434114248]