Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.0009483/0.0009483, allocations: 80.8 kB / 21.5 MB, free: 2.996 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.001035/0.001035, allocations: 168.9 kB / 24.91 MB, free: 9.203 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.971/0.971, allocations: 177.1 MB / 205.3 MB, free: 5.461 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.2744/0.2744, allocations: 34.26 MB / 296.1 MB, free: 0.707 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_2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_4.1.0_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_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 325.3 MB, free: 7.625 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.776e-05/1.975e-05, allocations: 3.188 kB / 325.3 MB, free: 7.621 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.009992/0.01001, allocations: 10.51 MB / 335.8 MB, free: 13.06 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.006155/0.01617, allocations: 3.875 MB / 339.7 MB, free: 9.176 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009754/0.01714, allocations: 75.62 kB / 339.8 MB, free: 9.102 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003749/0.02089, allocations: 2.815 MB / 342.6 MB, free: 6.277 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002632/0.02352, allocations: 1.855 MB / 344.4 MB, free: 4.414 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009842/0.02451, allocations: 0.7561 MB / 345.2 MB, free: 3.656 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002546/0.02705, allocations: 3.982 MB / 349.2 MB, free: 15.67 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002181/0.02924, allocations: 3.129 MB / 352.3 MB, free: 12.45 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0022/0.03144, allocations: 2.284 MB / 354.6 MB, free: 10.16 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002312/0.03375, allocations: 2.018 MB / 356.6 MB, free: 8.137 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005582/0.03431, allocations: 320 kB / 356.9 MB, free: 7.824 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001226/0.03553, allocations: 1.003 MB / 357.9 MB, free: 6.82 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001095/0.03663, allocations: 1.921 MB / 359.8 MB, free: 4.895 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001023/0.03765, allocations: 1.215 MB / 361 MB, free: 3.676 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00318/0.04083, allocations: 4.266 MB / 365.3 MB, free: 15.39 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.04083, allocations: 0 / 365.3 MB, free: 15.39 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.04083, allocations: 0 / 365.3 MB, free: 15.39 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.53e-05/0.04092, allocations: 0 / 365.3 MB, free: 15.39 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: 1413 * Number of variables: 1413 Notification: Performance of Generate backend data structure: time 0.0045/0.04542, allocations: 4.46 MB / 369.8 MB, free: 10.89 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.04546, allocations: 12.03 kB / 369.8 MB, free: 10.88 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002388/0.04784, allocations: 1.054 MB / 370.8 MB, free: 9.82 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001655/0.0495, allocations: 1.696 MB / 372.5 MB, free: 8.066 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001171/0.04962, allocations: 225.9 kB / 372.8 MB, free: 7.844 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003024/0.04992, allocations: 303.8 kB / 373.1 MB, free: 7.547 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00405/0.05397, allocations: 4.566 MB / 377.6 MB, free: 2.32 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.315e-05/0.05403, allocations: 43.62 kB / 377.7 MB, free: 2.277 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002189/0.05425, allocations: 143.9 kB / 377.8 MB, free: 2.137 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001168/0.05542, allocations: 1.513 MB / 379.3 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002915/0.05834, allocations: 2.25 MB / 381.6 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01959/0.07793, allocations: 28.45 MB / 410 MB, free: 0.7617 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002341/0.08027, allocations: 1.1 MB / 411.1 MB, free: 15.62 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003229/0.08059, allocations: 249.9 kB / 411.4 MB, free: 15.36 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002948/0.08354, allocations: 2.758 MB / 414.1 MB, free: 12.58 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.67e-05/0.08356, allocations: 38.56 kB / 414.1 MB, free: 12.54 MB / 394.7 MB Notification: Performance of pre-optimization done (n=96): time 2.134e-06/0.08357, allocations: 0 / 414.1 MB, free: 12.54 MB / 394.7 MB Notification: Performance of matching and sorting (n=97): time 0.004584/0.08815, allocations: 2.471 MB / 416.6 MB, free: 10.02 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.767e-05/0.0882, allocations: 144.4 kB / 416.8 MB, free: 9.852 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002169/0.09037, allocations: 3.094 MB / 419.9 MB, free: 6.75 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.362e-05/0.09041, allocations: 41.7 kB / 419.9 MB, free: 6.703 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001125/0.09154, allocations: 2.993 MB / 422.9 MB, free: 3.68 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002098/0.09175, allocations: 452.8 kB / 423.3 MB, free: 3.234 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006955/0.09244, allocations: 1.048 MB / 424.4 MB, free: 2.176 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.823e-05/0.0925, allocations: 301.1 kB / 424.7 MB, free: 1.879 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007786/0.09328, allocations: 0.6235 MB / 425.3 MB, free: 1.25 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002125/0.0954, allocations: 4.2 MB / 429.5 MB, free: 11.17 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003223/0.09863, allocations: 5.344 MB / 434.8 MB, free: 3.957 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.215e-05/0.09866, allocations: 36 kB / 434.9 MB, free: 3.922 MB / 410.7 MB Notification: Performance of matching and sorting (n=711) (initialization): time 0.00359/0.1022, allocations: 3.758 MB / 438.6 MB, free: 152 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.942e-05/0.1023, allocations: 64 kB / 438.7 MB, free: 88 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-05/0.1024, allocations: 132 kB / 438.8 MB, free: 15.95 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000264/0.1026, allocations: 216.1 kB / 439 MB, free: 15.74 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001802/0.1044, allocations: 1.302 MB / 440.3 MB, free: 14.44 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008469/0.1053, allocations: 1.502 MB / 441.8 MB, free: 12.84 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001415/0.1067, allocations: 251.8 kB / 442.1 MB, free: 12.59 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002302/0.1069, allocations: 315.9 kB / 442.4 MB, free: 12.29 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 606 * Number of states: 0 () * Number of discrete variables: 38 (torque.torqueArrow.twoHeadedArrow,torque.torqueArrow.headAtOrigin,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 (685): * Single equations (assignments): 681 * 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.0007523/0.1077, allocations: 0.5874 MB / 443 MB, free: 11.68 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001911/0.1079, allocations: 171.8 kB / 443.1 MB, free: 11.52 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005476/0.1084, allocations: 0.4949 MB / 443.6 MB, free: 11.01 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.234e-05/0.1084, allocations: 15.94 kB / 443.7 MB, free: 10.99 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.1085, allocations: 4 kB / 443.7 MB, free: 10.99 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/0.1085, allocations: 3.984 kB / 443.7 MB, free: 10.98 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002784/0.1112, allocations: 2.838 MB / 446.5 MB, free: 8.078 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.1112, allocations: 0 / 446.5 MB, free: 8.078 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003782/0.1116, allocations: 161.6 kB / 446.7 MB, free: 7.922 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001239/0.1117, allocations: 55.83 kB / 446.7 MB, free: 7.863 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.221e-05/0.1118, allocations: 16 kB / 446.7 MB, free: 7.848 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007817/0.1126, allocations: 1.423 MB / 448.2 MB, free: 6.328 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1126, allocations: 0 / 448.2 MB, free: 6.328 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008851/0.1134, allocations: 1.22 MB / 449.4 MB, free: 5.059 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002037/0.1137, allocations: 273.8 kB / 449.6 MB, free: 4.785 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001447/0.1138, allocations: 15.98 kB / 449.7 MB, free: 4.77 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003837/0.1142, allocations: 24 kB / 449.7 MB, free: 4.746 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.598e-05/0.1143, allocations: 55.77 kB / 449.7 MB, free: 4.691 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.949e-05/0.1144, allocations: 31.98 kB / 449.8 MB, free: 4.66 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007945/0.1151, allocations: 1.109 MB / 450.9 MB, free: 3.559 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1151, allocations: 8 kB / 450.9 MB, free: 3.551 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001919/0.1171, allocations: 0.8242 MB / 451.7 MB, free: 2.727 MB / 426.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 (74): * Single equations (assignments): 70 * 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.0002624/0.1173, allocations: 144.1 kB / 451.8 MB, free: 2.574 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001662/0.119, allocations: 2.108 MB / 454 MB, free: 484 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001332/0.1191, allocations: 97.72 kB / 454.1 MB, free: 380 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002755/0.1194, allocations: 329.5 kB / 454.4 MB, free: 32 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1333/0.2527, allocations: 0.5534 MB / 454.9 MB, free: 125.1 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006485/0.2592, allocations: 6.408 MB / 461.3 MB, free: 122.4 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007362/0.2599, allocations: 1.112 MB / 462.4 MB, free: 122.2 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0008326/0.2607, allocations: 438.8 kB / 462.9 MB, free: 122.2 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005141/0.2612, allocations: 489 kB / 463.4 MB, free: 122.1 MB / 426.7 MB Notification: Performance of SimCode: time 1.984e-06/0.2612, allocations: 0 / 463.4 MB, free: 122.1 MB / 426.7 MB Notification: Performance of Templates: time 0.07943/0.3407, allocations: 22.36 MB / 485.7 MB, free: 105.3 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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: 3.8383968519046903]