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.001348/0.001348, allocations: 84.31 kB / 22.21 MB, free: 2.281 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.001584/0.001584, allocations: 168.4 kB / 25.61 MB, free: 8.898 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 0.9123/0.9123, allocations: 177.1 MB / 206 MB, free: 4.504 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.1575/0.1575, allocations: 32.8 MB / 295.4 MB, free: 15.37 MB / 282.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.703e-06/1.703e-06, allocations: 0 / 377.3 MB, free: 25.57 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.522e-05/2.692e-05, allocations: 2.312 kB / 377.3 MB, free: 25.57 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.01306/0.01309, allocations: 12.31 MB / 389.6 MB, free: 13.21 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.007705/0.0208, allocations: 4.187 MB / 393.8 MB, free: 9.008 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002188/0.02298, allocations: 99.5 kB / 393.9 MB, free: 8.91 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00397/0.02695, allocations: 3.925 MB / 397.8 MB, free: 4.973 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004802/0.03176, allocations: 2.111 MB / 399.9 MB, free: 2.852 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001591/0.03335, allocations: 0.8888 MB / 400.8 MB, free: 1.961 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.005174/0.03852, allocations: 4.647 MB / 405.4 MB, free: 13.3 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004798/0.04332, allocations: 4.07 MB / 409.5 MB, free: 9.156 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004618/0.04794, allocations: 2.939 MB / 412.5 MB, free: 6.211 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003501/0.05144, allocations: 2.498 MB / 415 MB, free: 3.707 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006829/0.05212, allocations: 412 kB / 415.4 MB, free: 3.305 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001644/0.05376, allocations: 1.077 MB / 416.4 MB, free: 2.227 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001732/0.0555, allocations: 2.345 MB / 418.8 MB, free: 15.88 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001726/0.05722, allocations: 1.519 MB / 420.3 MB, free: 14.35 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006053/0.06328, allocations: 5.079 MB / 425.4 MB, free: 9.254 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.862e-06/0.06328, allocations: 0 / 425.4 MB, free: 9.254 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.06328, allocations: 4 kB / 425.4 MB, free: 9.25 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001684/0.06345, allocations: 0 / 425.4 MB, free: 9.25 MB / 346.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.009334/0.07279, allocations: 6.407 MB / 431.8 MB, free: 2.777 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.07283, allocations: 11.98 kB / 431.8 MB, free: 2.766 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004453/0.07728, allocations: 1.597 MB / 433.4 MB, free: 1.164 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003484/0.08076, allocations: 2.178 MB / 435.6 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001806/0.08095, allocations: 303.6 kB / 435.9 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006082/0.08155, allocations: 395.8 kB / 436.3 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009078/0.09063, allocations: 6.142 MB / 442.4 MB, free: 7.137 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001179/0.09075, allocations: 51.61 kB / 442.4 MB, free: 7.086 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004103/0.09116, allocations: 179.8 kB / 442.6 MB, free: 6.91 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00177/0.09293, allocations: 1.785 MB / 444.4 MB, free: 5.121 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006929/0.09986, allocations: 2.7 MB / 447.1 MB, free: 2.395 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04376/0.1436, allocations: 46.1 MB / 493.2 MB, free: 2.793 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004475/0.1481, allocations: 1.619 MB / 494.8 MB, free: 1.129 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007784/0.1489, allocations: 0.4946 MB / 495.3 MB, free: 0.6172 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1615/0.3104, allocations: 4.47 MB / 499.8 MB, free: 111.8 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.446e-05/0.3105, allocations: 52.14 kB / 499.8 MB, free: 111.8 MB / 410.7 MB Notification: Performance of pre-optimization done (n=149): time 3.988e-06/0.3105, allocations: 3.75 kB / 499.8 MB, free: 111.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=158): time 0.01422/0.3247, allocations: 5.963 MB / 0.4939 GB, free: 111.3 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.105e-05/0.3247, allocations: 153.1 kB / 0.4941 GB, free: 111.1 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002988/0.3277, allocations: 3.78 MB / 0.4978 GB, free: 110.6 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.566e-05/0.3278, allocations: 45.61 kB / 0.4978 GB, free: 110.5 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001332/0.3291, allocations: 3.894 MB / 0.5016 GB, free: 108.4 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004453/0.3296, allocations: 0.6896 MB / 0.5023 GB, free: 108.1 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001045/0.3306, allocations: 1.401 MB / 0.5037 GB, free: 107.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.56e-05/0.3307, allocations: 479.7 kB / 0.5041 GB, free: 107 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009143/0.3316, allocations: 0.5718 MB / 0.5047 GB, free: 106.8 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002435/0.334, allocations: 6.652 MB / 0.5112 GB, free: 97.85 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00443/0.3384, allocations: 7.942 MB / 0.5189 GB, free: 87.75 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.645e-05/0.3385, allocations: 40 kB / 0.519 GB, free: 87.71 MB / 410.7 MB Notification: Performance of matching and sorting (n=828) (initialization): time 0.005944/0.3445, allocations: 5.119 MB / 0.524 GB, free: 82.91 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.174e-05/0.3445, allocations: 68 kB / 0.524 GB, free: 82.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.261e-05/0.3446, allocations: 144 kB / 0.5242 GB, free: 82.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003964/0.345, allocations: 255.7 kB / 0.5244 GB, free: 82.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002227/0.3472, allocations: 1.458 MB / 0.5258 GB, free: 80.99 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001157/0.3484, allocations: 2.146 MB / 0.5279 GB, free: 78.72 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002588/0.351, allocations: 279.7 kB / 0.5282 GB, free: 78.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002459/0.3512, allocations: 344 kB / 0.5285 GB, free: 78.11 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.001168/0.3524, allocations: 0.6896 MB / 0.5292 GB, free: 77.41 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004314/0.3528, allocations: 401.6 kB / 0.5296 GB, free: 77.01 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00111/0.3539, allocations: 1.003 MB / 0.5306 GB, free: 76 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.621e-05/0.3539, allocations: 20 kB / 0.5306 GB, free: 75.98 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.354, allocations: 3.438 kB / 0.5306 GB, free: 75.98 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.788e-06/0.354, allocations: 11.97 kB / 0.5306 GB, free: 75.97 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00572/0.3597, allocations: 5.075 MB / 0.5356 GB, free: 70.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.3597, allocations: 8 kB / 0.5356 GB, free: 70.76 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006448/0.3603, allocations: 259.6 kB / 0.5358 GB, free: 70.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002438/0.3606, allocations: 72.17 kB / 0.5359 GB, free: 70.43 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.67e-05/0.3606, allocations: 36 kB / 0.5359 GB, free: 70.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008489/0.3615, allocations: 1.873 MB / 0.5378 GB, free: 68.41 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.3615, allocations: 7.938 kB / 0.5378 GB, free: 68.4 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001855/0.3633, allocations: 2.19 MB / 0.5399 GB, free: 66.1 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006184/0.364, allocations: 469.3 kB / 0.5403 GB, free: 65.64 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002099/0.3642, allocations: 32 kB / 0.5404 GB, free: 65.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006062/0.3648, allocations: 35.98 kB / 0.5404 GB, free: 65.57 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001361/0.3649, allocations: 104.7 kB / 0.5405 GB, free: 65.47 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.345e-05/0.365, allocations: 47.98 kB / 0.5406 GB, free: 65.42 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001149/0.3661, allocations: 1.503 MB / 0.542 GB, free: 63.94 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3661, allocations: 0 / 0.542 GB, free: 63.94 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003375/0.3695, allocations: 1.027 MB / 0.543 GB, free: 62.91 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.0003208/0.3698, allocations: 182.8 kB / 0.5432 GB, free: 62.72 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003248/0.3731, allocations: 2.838 MB / 0.546 GB, free: 59.89 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.3731, allocations: 0 / 0.546 GB, free: 59.89 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005773/0.3737, allocations: 0.6558 MB / 0.5466 GB, free: 59.22 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001387/0.375, allocations: 427 kB / 0.547 GB, free: 58.83 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009214/0.3843, allocations: 8.335 MB / 0.5552 GB, free: 50.32 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009633/0.3852, allocations: 1.37 MB / 0.5565 GB, free: 48.93 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001329/0.3865, allocations: 0.5128 MB / 0.557 GB, free: 48.41 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007237/0.3873, allocations: 0.5996 MB / 0.5576 GB, free: 47.8 MB / 410.7 MB Notification: Performance of SimCode: time 1.973e-06/0.3873, allocations: 4 kB / 0.5576 GB, free: 47.8 MB / 410.7 MB Notification: Performance of Templates: time 0.0493/0.4366, allocations: 31.02 MB / 0.5879 GB, free: 17.25 MB / 410.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.616820175200701]