Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008416/0.0008416, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.003345/0.003345, allocations: 156.7 kB / 24.7 MB, free: 9.441 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8592/0.8592, allocations: 177 MB / 204.9 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2522/0.2522, allocations: 34.25 MB / 295.6 MB, free: 0.668 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 443.4 MB, free: 1.055 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.18e-05/2.332e-05, allocations: 8.609 kB / 443.4 MB, free: 1.047 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.1751/0.1751, allocations: 9.724 MB / 453.2 MB, free: 38.82 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00434/0.1795, allocations: 3.648 MB / 456.8 MB, free: 36.53 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006774/0.1802, allocations: 76 kB / 456.9 MB, free: 36.51 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002152/0.1823, allocations: 2.732 MB / 459.6 MB, free: 35.36 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002079/0.1844, allocations: 1.865 MB / 461.5 MB, free: 34.49 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009658/0.1854, allocations: 0.7511 MB / 462.2 MB, free: 34.17 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002201/0.1876, allocations: 3.977 MB / 466.2 MB, free: 32.67 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001825/0.1894, allocations: 3.07 MB / 469.3 MB, free: 31.28 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001558/0.1909, allocations: 2.226 MB / 471.5 MB, free: 30.31 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001463/0.1924, allocations: 2.114 MB / 473.6 MB, free: 29.72 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000301/0.1927, allocations: 334.2 kB / 473.9 MB, free: 29.72 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009838/0.1937, allocations: 0.99 MB / 474.9 MB, free: 29.55 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007736/0.1945, allocations: 1.922 MB / 476.8 MB, free: 28.72 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000751/0.1952, allocations: 1.215 MB / 478.1 MB, free: 28.12 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004685/0.1999, allocations: 6.716 MB / 484.8 MB, free: 25.79 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.1999, allocations: 4 kB / 484.8 MB, free: 25.79 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.1999, allocations: 1.156 kB / 484.8 MB, free: 25.79 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001075/0.2, allocations: 0 / 484.8 MB, free: 25.79 MB / 410.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.01036/0.2104, allocations: 5.273 MB / 490.1 MB, free: 23.19 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.2104, allocations: 13.53 kB / 490.1 MB, free: 23.18 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004046/0.2145, allocations: 1.915 MB / 492 MB, free: 22.84 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003018/0.2175, allocations: 2.199 MB / 494.2 MB, free: 21.68 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001155/0.2176, allocations: 224.6 kB / 494.4 MB, free: 21.58 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004285/0.218, allocations: 308.5 kB / 494.7 MB, free: 21.47 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01211/0.2301, allocations: 10.15 MB / 0.493 GB, free: 16.21 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.474e-05/0.2302, allocations: 44.31 kB / 0.4931 GB, free: 16.18 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003314/0.2306, allocations: 150.3 kB / 0.4932 GB, free: 16.08 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002049/0.2326, allocations: 1.797 MB / 0.495 GB, free: 15.38 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01029/0.2429, allocations: 9.117 MB / 0.5039 GB, free: 7.168 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02783/0.2707, allocations: 34.85 MB / 0.5379 GB, free: 3.328 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007196/0.2779, allocations: 3.372 MB / 0.5412 GB, free: 15.92 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001431/0.2793, allocations: 1.608 MB / 0.5428 GB, free: 14.3 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003968/0.2797, allocations: 232.1 kB / 0.543 GB, free: 14.07 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.278e-05/0.2798, allocations: 47.22 kB / 0.543 GB, free: 14.02 MB / 458.7 MB Notification: Performance of pre-optimization done (n=130): time 5.35e-06/0.2798, allocations: 4 kB / 0.543 GB, free: 14.01 MB / 458.7 MB Notification: Performance of matching and sorting (n=136): time 0.02465/0.3044, allocations: 13.56 MB / 0.5563 GB, free: 400 kB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.045e-05/0.3045, allocations: 149.1 kB / 0.5564 GB, free: 220 kB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003759/0.3083, allocations: 3.714 MB / 0.56 GB, free: 12.49 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001131/0.3084, allocations: 49.7 kB / 0.5601 GB, free: 12.43 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001695/0.3101, allocations: 3.074 MB / 0.5631 GB, free: 9.332 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004553/0.3105, allocations: 0.5661 MB / 0.5636 GB, free: 8.762 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001048/0.3116, allocations: 1.139 MB / 0.5648 GB, free: 7.613 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.055e-05/0.3116, allocations: 309.1 kB / 0.5651 GB, free: 7.309 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001799/0.3134, allocations: 1.939 MB / 0.5669 GB, free: 5.363 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003789/0.3172, allocations: 5.505 MB / 0.5723 GB, free: 14.06 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007822/0.325, allocations: 8.065 MB / 0.5802 GB, free: 4.215 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.308e-05/0.3251, allocations: 40 kB / 0.5802 GB, free: 4.176 MB / 490.7 MB Notification: Performance of matching and sorting (n=720) (initialization): time 0.008337/0.3334, allocations: 7.907 MB / 0.588 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.976e-05/0.3335, allocations: 60 kB / 0.588 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.457e-05/0.3336, allocations: 124 kB / 0.5881 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001315/0.3349, allocations: 0.9041 MB / 0.589 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001934/0.3368, allocations: 1.298 MB / 0.5903 GB, free: 9.871 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00444/0.3412, allocations: 5.003 MB / 0.5952 GB, free: 4.773 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002521/0.3438, allocations: 343.5 kB / 0.5955 GB, free: 4.438 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002984/0.3441, allocations: 358.3 kB / 0.5958 GB, free: 4.09 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 579 * 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 (681): * Single equations (assignments): 677 * 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 {(3,13,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002893/0.347, allocations: 1.976 MB / 0.5978 GB, free: 2.102 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004542/0.3474, allocations: 302 kB / 0.5981 GB, free: 1.805 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003334/0.3507, allocations: 2.759 MB / 0.6008 GB, free: 15.03 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.805e-05/0.3508, allocations: 16 kB / 0.6008 GB, free: 15.01 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/0.3508, allocations: 4 kB / 0.6008 GB, free: 15.01 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.778e-06/0.3508, allocations: 3.984 kB / 0.6008 GB, free: 15 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007551/0.3583, allocations: 6.291 MB / 0.6069 GB, free: 8.652 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.3583, allocations: 96 / 0.6069 GB, free: 8.652 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006158/0.359, allocations: 255.6 kB / 0.6072 GB, free: 8.402 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001441/0.3604, allocations: 0.7155 MB / 0.6079 GB, free: 7.684 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.089e-05/0.3605, allocations: 35.97 kB / 0.6079 GB, free: 7.648 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003892/0.3644, allocations: 4.629 MB / 0.6124 GB, free: 2.922 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.3644, allocations: 4.031 kB / 0.6124 GB, free: 2.918 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005393/0.3698, allocations: 5.115 MB / 0.6174 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005644/0.3703, allocations: 293.9 kB / 0.6177 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002218/0.3705, allocations: 24 kB / 0.6177 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006974/0.3712, allocations: 115.8 kB / 0.6178 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001783/0.3714, allocations: 100.4 kB / 0.6179 GB, free: 13.24 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.151e-05/0.3715, allocations: 51.97 kB / 0.618 GB, free: 13.19 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002398/0.3739, allocations: 2.16 MB / 0.6201 GB, free: 11.04 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.1e-08/0.3739, allocations: 0 / 0.6201 GB, free: 11.04 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0032/0.3771, allocations: 0.9413 MB / 0.621 GB, free: 10.1 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (104): * Single equations (assignments): 100 * 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,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003567/0.3775, allocations: 163 kB / 0.6212 GB, free: 9.93 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004723/0.3822, allocations: 4.465 MB / 0.6255 GB, free: 5.484 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.3822, allocations: 7.875 kB / 0.6255 GB, free: 5.477 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001129/0.3833, allocations: 1.291 MB / 0.6268 GB, free: 4.172 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001312/0.3846, allocations: 376.8 kB / 0.6271 GB, free: 3.809 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2035/0.5881, allocations: 8.823 MB / 0.6358 GB, free: 152.4 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001995/0.5901, allocations: 2.52 MB / 0.6382 GB, free: 152.1 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008325/0.5909, allocations: 297.2 kB / 0.6385 GB, free: 152.1 MB / 0.5261 GB Notification: Performance of SimCode: time 1.974e-06/0.5909, allocations: 0 / 0.6385 GB, free: 152.1 MB / 0.5261 GB Notification: Performance of Templates: time 0.07584/0.6668, allocations: 71.2 MB / 0.708 GB, free: 115.7 MB / 0.5261 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.262479557655752]