Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.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.0009625/0.0009625, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.001014/0.001014, allocations: 161 kB / 24.56 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9092/0.9092, allocations: 177.1 MB / 205 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2292/0.2292, allocations: 34.26 MB / 295.7 MB, free: 0.7656 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_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_4.1.0_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_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 3.938 kB / 378 MB, free: 2.668 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.844e-05/1.988e-05, allocations: 2.312 kB / 378 MB, free: 2.664 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.00973/0.00975, allocations: 12.68 MB / 390.7 MB, free: 5.93 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007608/0.01736, allocations: 4.232 MB / 395 MB, free: 1.684 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001833/0.01919, allocations: 95.56 kB / 395 MB, free: 1.59 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004222/0.02341, allocations: 3.98 MB / 399 MB, free: 13.6 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004354/0.02777, allocations: 2.115 MB / 401.1 MB, free: 11.47 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002339/0.03011, allocations: 0.8887 MB / 402 MB, free: 10.58 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.006059/0.03617, allocations: 4.644 MB / 406.7 MB, free: 5.926 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004556/0.04072, allocations: 4.063 MB / 410.7 MB, free: 1.789 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004366/0.04509, allocations: 2.943 MB / 413.7 MB, free: 14.84 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002926/0.04801, allocations: 2.509 MB / 416.2 MB, free: 12.32 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008775/0.04889, allocations: 408 kB / 416.6 MB, free: 11.93 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001635/0.05053, allocations: 1.073 MB / 417.7 MB, free: 10.85 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001884/0.05241, allocations: 2.357 MB / 420 MB, free: 8.488 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001599/0.05401, allocations: 1.523 MB / 421.5 MB, free: 6.961 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005231/0.05924, allocations: 5.075 MB / 426.6 MB, free: 1.867 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.05925, allocations: 0 / 426.6 MB, free: 1.867 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.05925, allocations: 0 / 426.6 MB, free: 1.867 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001767/0.05943, allocations: 0 / 426.6 MB, free: 1.867 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: 1736 * Number of variables: 1736 Notification: Performance of Generate backend data structure: time 0.009721/0.06915, allocations: 6.6 MB / 433.2 MB, free: 11.2 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.059e-05/0.0692, allocations: 8.031 kB / 433.2 MB, free: 11.19 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004879/0.07407, allocations: 2.506 MB / 435.7 MB, free: 8.68 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003281/0.07736, allocations: 2.404 MB / 438.1 MB, free: 6.227 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001597/0.07752, allocations: 295.7 kB / 438.4 MB, free: 5.938 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005029/0.07802, allocations: 395.7 kB / 438.8 MB, free: 5.551 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1844/0.2624, allocations: 6.79 MB / 445.6 MB, free: 88.4 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001792/0.2626, allocations: 49.44 kB / 445.6 MB, free: 88.4 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005269/0.2631, allocations: 179.4 kB / 445.8 MB, free: 88.4 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001568/0.2647, allocations: 1.957 MB / 447.8 MB, free: 88.39 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007611/0.2723, allocations: 3.477 MB / 451.3 MB, free: 88.33 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02781/0.3001, allocations: 46.62 MB / 497.9 MB, free: 52.17 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004026/0.3041, allocations: 1.881 MB / 499.8 MB, free: 51.8 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007013/0.3048, allocations: 0.5872 MB / 0.4886 GB, free: 51.68 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00524/0.3101, allocations: 4.853 MB / 0.4934 GB, free: 49.27 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/0.3101, allocations: 53.39 kB / 0.4934 GB, free: 49.21 MB / 410.7 MB Notification: Performance of pre-optimization done (n=149): time 3.687e-06/0.3101, allocations: 0 / 0.4934 GB, free: 49.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=158): time 0.016/0.3261, allocations: 9.836 MB / 0.503 GB, free: 45.3 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.455e-05/0.3261, allocations: 149.1 kB / 0.5032 GB, free: 45.14 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0035/0.3296, allocations: 3.805 MB / 0.5069 GB, free: 43.62 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.086e-05/0.3297, allocations: 45.48 kB / 0.5069 GB, free: 43.57 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001539/0.3313, allocations: 3.857 MB / 0.5107 GB, free: 40.59 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004111/0.3317, allocations: 0.6876 MB / 0.5114 GB, free: 40.1 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009694/0.3326, allocations: 1.372 MB / 0.5127 GB, free: 39.36 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.698e-05/0.3327, allocations: 485.6 kB / 0.5132 GB, free: 38.88 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009256/0.3336, allocations: 0.6451 MB / 0.5138 GB, free: 38.79 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002417/0.336, allocations: 6.672 MB / 0.5203 GB, free: 30.52 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004797/0.3408, allocations: 8.098 MB / 0.5282 GB, free: 19.96 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.636e-05/0.3409, allocations: 40 kB / 0.5282 GB, free: 19.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=828) (initialization): time 0.007383/0.3483, allocations: 5.546 MB / 0.5337 GB, free: 14.89 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.909e-05/0.3483, allocations: 70.03 kB / 0.5337 GB, free: 14.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000109/0.3484, allocations: 144.9 kB / 0.5339 GB, free: 14.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000533/0.349, allocations: 301.8 kB / 0.5342 GB, free: 14.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003049/0.352, allocations: 1.518 MB / 0.5356 GB, free: 13.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001343/0.3534, allocations: 2.248 MB / 0.5378 GB, free: 10.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002972/0.3563, allocations: 367.9 kB / 0.5382 GB, free: 10.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003361/0.3567, allocations: 402.3 kB / 0.5386 GB, free: 10.16 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.001171/0.3578, allocations: 0.697 MB / 0.5392 GB, free: 9.449 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004075/0.3583, allocations: 405.5 kB / 0.5396 GB, free: 9.055 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001686/0.3599, allocations: 1.124 MB / 0.5407 GB, free: 8.141 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-05/0.36, allocations: 20 kB / 0.5408 GB, free: 8.121 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.36, allocations: 0 / 0.5408 GB, free: 8.121 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.236e-05/0.36, allocations: 7.875 kB / 0.5408 GB, free: 8.121 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007378/0.3674, allocations: 5.353 MB / 0.546 GB, free: 3.477 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.235e-06/0.3674, allocations: 4 kB / 0.546 GB, free: 3.473 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008897/0.3683, allocations: 304.2 kB / 0.5463 GB, free: 3.176 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003483/0.3686, allocations: 107.5 kB / 0.5464 GB, free: 3.066 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.191e-05/0.3687, allocations: 35.62 kB / 0.5464 GB, free: 3.035 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001091/0.3698, allocations: 1.963 MB / 0.5483 GB, free: 0.9531 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.3698, allocations: 8 kB / 0.5483 GB, free: 0.9453 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002806/0.3726, allocations: 2.411 MB / 0.5507 GB, free: 14.43 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007295/0.3733, allocations: 0.4896 MB / 0.5512 GB, free: 13.94 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002692/0.3736, allocations: 32 kB / 0.5512 GB, free: 13.91 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009052/0.3745, allocations: 95.16 kB / 0.5513 GB, free: 13.82 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000229/0.3747, allocations: 128.5 kB / 0.5514 GB, free: 13.69 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.138e-05/0.3748, allocations: 51.98 kB / 0.5515 GB, free: 13.64 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002028/0.3768, allocations: 1.613 MB / 0.553 GB, free: 12.05 MB / 426.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3768, allocations: 0 / 0.553 GB, free: 12.05 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004119/0.381, allocations: 1.031 MB / 0.554 GB, free: 11.02 MB / 426.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.0003576/0.3813, allocations: 182.6 kB / 0.5542 GB, free: 10.83 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004491/0.3858, allocations: 3.047 MB / 0.5572 GB, free: 7.781 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.3858, allocations: 4 kB / 0.5572 GB, free: 7.777 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009875/0.3868, allocations: 0.7519 MB / 0.5579 GB, free: 7.008 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001737/0.3885, allocations: 425.2 kB / 0.5583 GB, free: 6.609 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01053/0.3991, allocations: 8.381 MB / 0.5665 GB, free: 14.06 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001298/0.4004, allocations: 1.366 MB / 0.5679 GB, free: 12.67 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003023/0.4034, allocations: 1.667 MB / 0.5695 GB, free: 10.99 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005253/0.4039, allocations: 244.5 kB / 0.5697 GB, free: 10.75 MB / 442.7 MB Notification: Performance of SimCode: time 1.062e-06/0.4039, allocations: 0 / 0.5697 GB, free: 10.75 MB / 442.7 MB Notification: Performance of Templates: time 0.0422/0.4461, allocations: 28.37 MB / 0.5974 GB, free: 14.94 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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.0633710930123925]