Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001106/0.001106, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001314/0.001314, allocations: 172.1 kB / 24.82 MB, free: 9.312 MB / 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 1.054/1.054, allocations: 177.1 MB / 205.3 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2657/0.2657, allocations: 32.81 MB / 294.6 MB, free: 1.234 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 376.5 MB, free: 4.398 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.909e-05/2.035e-05, allocations: 5.547 kB / 376.5 MB, free: 4.395 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.009174/0.009194, allocations: 12.32 MB / 388.8 MB, free: 8.02 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00753/0.01672, allocations: 4.205 MB / 393 MB, free: 3.801 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002632/0.01936, allocations: 95.56 kB / 393.1 MB, free: 3.707 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004412/0.02377, allocations: 3.921 MB / 397 MB, free: 15.77 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004473/0.02824, allocations: 2.103 MB / 399.1 MB, free: 13.66 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001823/0.03006, allocations: 0.8964 MB / 400 MB, free: 12.76 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004747/0.03481, allocations: 4.634 MB / 404.7 MB, free: 8.117 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004742/0.03955, allocations: 4.063 MB / 408.7 MB, free: 3.98 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006721/0.04627, allocations: 2.951 MB / 411.7 MB, free: 1.023 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004815/0.05109, allocations: 2.494 MB / 414.2 MB, free: 14.52 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001727/0.05282, allocations: 412 kB / 414.6 MB, free: 14.12 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002674/0.05549, allocations: 1.077 MB / 415.6 MB, free: 13.04 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002747/0.05824, allocations: 2.341 MB / 418 MB, free: 10.69 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003234/0.06147, allocations: 1.527 MB / 419.5 MB, free: 9.16 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007654/0.06913, allocations: 5.071 MB / 424.6 MB, free: 4.07 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.14e-05/0.06914, allocations: 4 kB / 424.6 MB, free: 4.066 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.746e-06/0.06914, allocations: 0 / 424.6 MB, free: 4.066 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004889/0.06963, allocations: 0 / 424.6 MB, free: 4.066 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.0111/0.08073, allocations: 6.403 MB / 431 MB, free: 13.6 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.569e-05/0.08078, allocations: 8.031 kB / 431 MB, free: 13.59 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003981/0.08476, allocations: 1.597 MB / 432.6 MB, free: 11.99 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003527/0.08829, allocations: 2.193 MB / 434.8 MB, free: 9.746 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001725/0.08846, allocations: 303.6 kB / 435.1 MB, free: 9.449 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00067/0.08913, allocations: 395.8 kB / 435.5 MB, free: 9.062 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01085/0.09999, allocations: 6.142 MB / 441.6 MB, free: 1.945 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001865/0.1002, allocations: 47.62 kB / 441.7 MB, free: 1.898 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006177/0.1008, allocations: 179.8 kB / 441.8 MB, free: 1.723 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.1635/0.2643, allocations: 1.782 MB / 443.6 MB, free: 90.82 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005813/0.2701, allocations: 2.698 MB / 446.3 MB, free: 90.72 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02721/0.2973, allocations: 46.09 MB / 492.4 MB, free: 56.02 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003507/0.3008, allocations: 1.608 MB / 494 MB, free: 55.73 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005228/0.3013, allocations: 0.5013 MB / 494.5 MB, free: 55.64 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005021/0.3064, allocations: 4.474 MB / 499 MB, free: 53.26 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.173e-05/0.3064, allocations: 52.45 kB / 499 MB, free: 53.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=149): time 3.526e-06/0.3064, allocations: 0 / 499 MB, free: 53.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=158): time 0.01328/0.3197, allocations: 5.968 MB / 0.4932 GB, free: 51.84 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.418e-05/0.3197, allocations: 143.8 kB / 0.4933 GB, free: 51.68 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003688/0.3234, allocations: 3.786 MB / 0.497 GB, free: 50.39 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.033e-05/0.3235, allocations: 46.08 kB / 0.4971 GB, free: 50.34 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001856/0.3253, allocations: 3.892 MB / 0.5009 GB, free: 47.28 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004606/0.3258, allocations: 0.6888 MB / 0.5015 GB, free: 46.77 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001288/0.3271, allocations: 1.406 MB / 0.5029 GB, free: 46 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.725e-05/0.3271, allocations: 480.2 kB / 0.5034 GB, free: 45.53 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001019/0.3281, allocations: 0.5648 MB / 0.5039 GB, free: 45.45 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003679/0.3318, allocations: 6.652 MB / 0.5104 GB, free: 37.12 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005156/0.337, allocations: 7.935 MB / 0.5182 GB, free: 27.96 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.088e-05/0.337, allocations: 43.06 kB / 0.5182 GB, free: 27.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=828) (initialization): time 0.006603/0.3436, allocations: 5.126 MB / 0.5232 GB, free: 25.97 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.156e-05/0.3437, allocations: 68.84 kB / 0.5233 GB, free: 25.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001278/0.3438, allocations: 144.9 kB / 0.5234 GB, free: 25.76 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004329/0.3443, allocations: 259.5 kB / 0.5237 GB, free: 25.53 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00234/0.3466, allocations: 1.455 MB / 0.5251 GB, free: 24.24 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001333/0.3479, allocations: 2.143 MB / 0.5272 GB, free: 22.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002575/0.3505, allocations: 285.3 kB / 0.5274 GB, free: 21.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002825/0.3508, allocations: 343.3 kB / 0.5278 GB, free: 21.46 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.001493/0.3523, allocations: 0.7025 MB / 0.5285 GB, free: 20.75 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003594/0.3526, allocations: 389.7 kB / 0.5288 GB, free: 20.36 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001275/0.3539, allocations: 0.9964 MB / 0.5298 GB, free: 19.55 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-05/0.3539, allocations: 22.52 kB / 0.5298 GB, free: 19.53 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-05/0.354, allocations: 0.8438 kB / 0.5298 GB, free: 19.53 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.879e-05/0.354, allocations: 6.328 kB / 0.5298 GB, free: 19.53 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006766/0.3607, allocations: 5.08 MB / 0.5348 GB, free: 15.06 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.065e-06/0.3607, allocations: 8 kB / 0.5348 GB, free: 15.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006011/0.3613, allocations: 260.6 kB / 0.535 GB, free: 14.83 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002288/0.3616, allocations: 76.08 kB / 0.5351 GB, free: 14.78 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.127e-05/0.3616, allocations: 39.19 kB / 0.5352 GB, free: 14.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008774/0.3625, allocations: 1.874 MB / 0.537 GB, free: 12.82 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.3625, allocations: 7.938 kB / 0.537 GB, free: 12.82 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001728/0.3642, allocations: 2.2 MB / 0.5391 GB, free: 10.64 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005129/0.3648, allocations: 466.3 kB / 0.5396 GB, free: 10.23 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001822/0.3649, allocations: 28 kB / 0.5396 GB, free: 10.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000532/0.3655, allocations: 37.02 kB / 0.5396 GB, free: 10.17 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001548/0.3656, allocations: 110.1 kB / 0.5397 GB, free: 10.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.698e-05/0.3657, allocations: 45.97 kB / 0.5398 GB, free: 10.06 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001122/0.3668, allocations: 1.505 MB / 0.5413 GB, free: 8.867 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3668, allocations: 4 kB / 0.5413 GB, free: 8.863 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003263/0.3701, allocations: 1.027 MB / 0.5423 GB, free: 7.836 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.000337/0.3704, allocations: 182 kB / 0.5424 GB, free: 7.656 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003013/0.3734, allocations: 2.831 MB / 0.5452 GB, free: 5.156 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/0.3734, allocations: 3.281 kB / 0.5452 GB, free: 5.156 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005642/0.374, allocations: 0.6554 MB / 0.5459 GB, free: 4.551 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001304/0.3753, allocations: 432.5 kB / 0.5463 GB, free: 4.184 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01079/0.3861, allocations: 8.428 MB / 0.5545 GB, free: 12.08 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001334/0.3874, allocations: 1.363 MB / 0.5558 GB, free: 10.7 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001276/0.3887, allocations: 0.5128 MB / 0.5563 GB, free: 10.18 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008799/0.3896, allocations: 0.6035 MB / 0.5569 GB, free: 9.57 MB / 426.7 MB Notification: Performance of SimCode: time 2.184e-06/0.3896, allocations: 0 / 0.5569 GB, free: 9.57 MB / 426.7 MB Notification: Performance of Templates: time 0.05175/0.4413, allocations: 30.32 MB / 0.5865 GB, free: 11.54 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.716934164986014]