Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001283/0.001283, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001766/0.003048, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007857/0.0007857, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001017/0.001802, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.066/1.066, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.129/1.195, allocations: 53.64 MB / 243.3 MB, free: 15.57 MB / 250.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.3275/0.3275, allocations: 32.8 MB / 276.8 MB, free: 15.85 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0381/0.3656, allocations: 12.53 MB / 289.3 MB, free: 8.676 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_2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_4.0.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.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.284e-06/2.284e-06, allocations: 0 / 290.6 MB, free: 7.652 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.359e-05/4.588e-05, allocations: 7.156 kB / 290.6 MB, free: 7.645 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.01563/0.01568, allocations: 10.59 MB / 301.2 MB, free: 13.66 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01191/0.02758, allocations: 3.909 MB / 305.1 MB, free: 9.742 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003105/0.03069, allocations: 75.62 kB / 305.2 MB, free: 9.668 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004351/0.03504, allocations: 2.733 MB / 307.9 MB, free: 6.926 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006196/0.04123, allocations: 1.831 MB / 309.7 MB, free: 5.086 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002118/0.04335, allocations: 0.7094 MB / 310.5 MB, free: 4.375 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.006572/0.04992, allocations: 3.89 MB / 314.3 MB, free: 484 kB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004832/0.05476, allocations: 2.954 MB / 317.3 MB, free: 13.43 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005723/0.06048, allocations: 2.412 MB / 319.7 MB, free: 11.02 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004081/0.06456, allocations: 2.007 MB / 321.7 MB, free: 9.008 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001286/0.06585, allocations: 320 kB / 322 MB, free: 8.695 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00284/0.06869, allocations: 1.003 MB / 323 MB, free: 7.691 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00232/0.07101, allocations: 1.718 MB / 324.8 MB, free: 5.969 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0027/0.07371, allocations: 0.9932 MB / 325.7 MB, free: 4.973 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008059/0.08177, allocations: 3.977 MB / 329.7 MB, free: 0.9805 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.42e-05/0.08179, allocations: 0 / 329.7 MB, free: 0.9805 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.739e-06/0.0818, allocations: 0 / 329.7 MB, free: 0.9805 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0003101/0.08211, allocations: 4 kB / 329.7 MB, free: 0.9766 MB / 314.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.01119/0.0933, allocations: 5.343 MB / 335.1 MB, free: 11.56 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/0.09335, allocations: 8.031 kB / 335.1 MB, free: 11.55 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003587/0.09694, allocations: 1.054 MB / 336.1 MB, free: 10.5 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004068/0.101, allocations: 1.685 MB / 337.8 MB, free: 8.758 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001914/0.1012, allocations: 233.9 kB / 338 MB, free: 8.527 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008441/0.102, allocations: 303.8 kB / 338.3 MB, free: 8.23 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01115/0.1132, allocations: 4.57 MB / 342.9 MB, free: 3.008 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001392/0.1133, allocations: 35.64 kB / 342.9 MB, free: 2.973 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005113/0.1138, allocations: 151.8 kB / 343.1 MB, free: 2.824 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001667/0.1155, allocations: 1.521 MB / 344.6 MB, free: 1.301 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006512/0.122, allocations: 2.243 MB / 346.9 MB, free: 15 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03268/0.1547, allocations: 28.44 MB / 375.3 MB, free: 1.445 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002886/0.1576, allocations: 1.088 MB / 376.4 MB, free: 324 kB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004637/0.158, allocations: 252.8 kB / 376.6 MB, free: 64 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005417/0.1635, allocations: 2.75 MB / 379.4 MB, free: 13.29 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.538e-05/0.1635, allocations: 38.56 kB / 379.4 MB, free: 13.24 MB / 378.7 MB Notification: Performance of pre-optimization done (n=96): time 3.617e-06/0.1635, allocations: 0 / 379.4 MB, free: 13.24 MB / 378.7 MB Notification: Performance of matching and sorting (n=97): time 0.007018/0.1705, allocations: 2.419 MB / 381.8 MB, free: 10.79 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.818e-05/0.1706, allocations: 144.5 kB / 382 MB, free: 10.61 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003756/0.1744, allocations: 3.09 MB / 385.1 MB, free: 7.516 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001348/0.1745, allocations: 33.7 kB / 385.1 MB, free: 7.477 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001604/0.1761, allocations: 3.004 MB / 388.1 MB, free: 4.441 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005329/0.1766, allocations: 448.8 kB / 388.5 MB, free: 4 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001047/0.1777, allocations: 1.045 MB / 389.6 MB, free: 2.945 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.1778, allocations: 309.1 kB / 389.9 MB, free: 2.641 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001016/0.1788, allocations: 0.6235 MB / 390.5 MB, free: 2.012 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003246/0.1821, allocations: 4.2 MB / 394.7 MB, free: 11.93 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005607/0.1877, allocations: 5.343 MB / 400.1 MB, free: 4.719 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001492/0.1878, allocations: 40 kB / 400.1 MB, free: 4.68 MB / 394.7 MB Notification: Performance of matching and sorting (n=711) (initialization): time 0.007321/0.1951, allocations: 3.755 MB / 403.9 MB, free: 0.9102 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.642e-05/0.1952, allocations: 62.81 kB / 403.9 MB, free: 0.8516 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001287/0.1953, allocations: 132 kB / 404 MB, free: 0.7227 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004453/0.1958, allocations: 215.6 kB / 404.3 MB, free: 0.5078 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002594/0.1984, allocations: 1.384 MB / 405.6 MB, free: 15.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001416/0.1998, allocations: 1.503 MB / 407.1 MB, free: 13.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002993/0.2028, allocations: 259.6 kB / 407.4 MB, free: 13.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003105/0.2031, allocations: 311.9 kB / 407.7 MB, free: 12.96 MB / 410.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.001558/0.2047, allocations: 0.5875 MB / 408.3 MB, free: 12.36 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005926/0.2053, allocations: 171.8 kB / 408.5 MB, free: 12.2 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008588/0.2061, allocations: 0.4941 MB / 409 MB, free: 11.68 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-05/0.2061, allocations: 15.94 kB / 409 MB, free: 11.67 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.158e-05/0.2061, allocations: 4 kB / 409 MB, free: 11.66 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.173e-05/0.2062, allocations: 7.984 kB / 409 MB, free: 11.66 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004856/0.211, allocations: 2.83 MB / 411.8 MB, free: 8.758 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.106e-05/0.211, allocations: 4 kB / 411.8 MB, free: 8.754 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000506/0.2115, allocations: 164.4 kB / 412 MB, free: 8.594 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005709/0.2121, allocations: 273.8 kB / 412.2 MB, free: 8.324 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002144/0.2123, allocations: 47.75 kB / 412.3 MB, free: 8.273 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.898e-05/0.2124, allocations: 27.98 kB / 412.3 MB, free: 8.246 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001174/0.2135, allocations: 1.427 MB / 413.7 MB, free: 6.719 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.389e-06/0.2135, allocations: 4 kB / 413.7 MB, free: 6.715 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001294/0.2148, allocations: 1.217 MB / 415 MB, free: 5.445 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003183/0.2152, allocations: 16 kB / 415 MB, free: 5.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004675/0.2156, allocations: 23.98 kB / 415 MB, free: 5.406 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001236/0.2158, allocations: 55.78 kB / 415.1 MB, free: 5.352 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.825e-05/0.2158, allocations: 35.97 kB / 415.1 MB, free: 5.316 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00117/0.217, allocations: 1.105 MB / 416.2 MB, free: 4.219 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.21e-07/0.217, allocations: 0 / 416.2 MB, free: 4.219 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004271/0.2213, allocations: 0.8358 MB / 417 MB, free: 3.383 MB / 410.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.000499/0.2217, allocations: 148.1 kB / 417.2 MB, free: 3.23 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003854/0.2256, allocations: 2.105 MB / 419.3 MB, free: 1.137 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002463/0.2258, allocations: 100.2 kB / 419.4 MB, free: 1.031 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004567/0.2263, allocations: 326.5 kB / 419.7 MB, free: 0.6992 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002944/0.2293, allocations: 0.7553 MB / 420.5 MB, free: 15.95 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01577/0.245, allocations: 6.548 MB / 427 MB, free: 9.293 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001401/0.2464, allocations: 1.113 MB / 428.1 MB, free: 8.148 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001557/0.248, allocations: 440.4 kB / 428.5 MB, free: 7.715 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000685/0.2487, allocations: 481.2 kB / 429 MB, free: 7.242 MB / 426.7 MB Notification: Performance of SimCode: time 3.938e-06/0.2487, allocations: 4 kB / 429 MB, free: 7.238 MB / 426.7 MB Notification: Performance of Templates: time 0.2594/0.5081, allocations: 22.92 MB / 451.9 MB, free: 118.9 MB / 426.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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: 4.542853615246713]