Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.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.001511/0.001511, allocations: 84.73 kB / 21.5 MB, free: 2.984 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.001089/0.001089, allocations: 162 kB / 24.91 MB, free: 8.777 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.906/0.906, allocations: 177 MB / 205.2 MB, free: 5.465 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.2402/0.2402, allocations: 34.86 MB / 296.6 MB, free: 0.5078 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.Forces.SpringDamperSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic1.s|prismatic1.v|sps1.s_damper|universal1.phi_a|universal1.phi_b|universal1.w_a|universal1.w_b",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries") translateModel(ModelicaTest.MultiBody.Forces.SpringDamperSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic1.s|prismatic1.v|sps1.s_damper|universal1.phi_a|universal1.phi_b|universal1.w_a|universal1.w_b",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.965e-06/2.965e-06, allocations: 4 kB / 325.9 MB, free: 7.172 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.284e-05/2.581e-05, allocations: 3.078 kB / 325.9 MB, free: 7.168 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.007707/0.007733, allocations: 9.962 MB / 335.9 MB, free: 13.16 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.005568/0.0133, allocations: 3.302 MB / 339.2 MB, free: 9.844 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001041/0.01434, allocations: 63.69 kB / 339.2 MB, free: 9.781 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002718/0.01706, allocations: 2.53 MB / 341.8 MB, free: 7.242 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002225/0.01928, allocations: 1.325 MB / 343.1 MB, free: 5.91 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009238/0.02021, allocations: 0.5416 MB / 343.6 MB, free: 5.367 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002721/0.02293, allocations: 2.999 MB / 346.6 MB, free: 2.363 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002331/0.02526, allocations: 2.583 MB / 349.2 MB, free: 15.71 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001772/0.02703, allocations: 2 MB / 351.2 MB, free: 13.7 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001411/0.02844, allocations: 1.547 MB / 352.8 MB, free: 12.15 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003162/0.02876, allocations: 284 kB / 353 MB, free: 11.88 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001212/0.02997, allocations: 0.9321 MB / 354 MB, free: 10.94 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009046/0.03088, allocations: 1.671 MB / 355.7 MB, free: 9.266 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008329/0.03171, allocations: 1.082 MB / 356.7 MB, free: 8.18 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003241/0.03495, allocations: 3.962 MB / 360.7 MB, free: 4.203 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.03495, allocations: 4 kB / 360.7 MB, free: 4.199 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.03496, allocations: 0 / 360.7 MB, free: 4.199 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001165/0.03507, allocations: 0 / 360.7 MB, free: 4.199 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1473 * Number of variables: 1473 Notification: Performance of Generate backend data structure: time 0.004312/0.03938, allocations: 3.994 MB / 364.7 MB, free: 160 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.03942, allocations: 8.031 kB / 364.7 MB, free: 152 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002162/0.04158, allocations: 1.007 MB / 365.7 MB, free: 15.14 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001527/0.04311, allocations: 1.34 MB / 367 MB, free: 13.77 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000109/0.04322, allocations: 230.1 kB / 367.3 MB, free: 13.54 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000305/0.04352, allocations: 304.2 kB / 367.6 MB, free: 13.24 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005777/0.0493, allocations: 4.903 MB / 372.5 MB, free: 7.699 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-05/0.04938, allocations: 35.7 kB / 372.5 MB, free: 7.664 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002423/0.04962, allocations: 147.8 kB / 372.7 MB, free: 7.52 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001504/0.05113, allocations: 1.736 MB / 374.4 MB, free: 5.781 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005591/0.05672, allocations: 2.553 MB / 376.9 MB, free: 3.184 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02569/0.08241, allocations: 28.92 MB / 405.9 MB, free: 5.176 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004005/0.08641, allocations: 1.99 MB / 407.9 MB, free: 3.121 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005127/0.08692, allocations: 451.9 kB / 408.3 MB, free: 2.664 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004355/0.09128, allocations: 3.446 MB / 411.7 MB, free: 15.19 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.419e-05/0.09131, allocations: 51.5 kB / 411.8 MB, free: 15.13 MB / 394.7 MB Notification: Performance of pre-optimization done (n=152): time 5.38e-06/0.09132, allocations: 0 / 411.8 MB, free: 15.13 MB / 394.7 MB Notification: Performance of matching and sorting (n=166): time 0.01753/0.1088, allocations: 7.655 MB / 419.4 MB, free: 7.43 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.807e-05/0.1089, allocations: 149.5 kB / 419.6 MB, free: 7.254 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001912/0.1108, allocations: 2.432 MB / 422 MB, free: 4.797 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.508e-05/0.1109, allocations: 57.7 kB / 422.1 MB, free: 4.734 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001166/0.1121, allocations: 2.938 MB / 425 MB, free: 1.766 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006135/0.1127, allocations: 0.6822 MB / 425.7 MB, free: 1.078 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008596/0.1136, allocations: 1.113 MB / 426.8 MB, free: 15.95 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.953e-05/0.1137, allocations: 361.8 kB / 427.2 MB, free: 15.59 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006716/0.1143, allocations: 0.6329 MB / 427.8 MB, free: 14.95 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00235/0.1167, allocations: 4.185 MB / 432 MB, free: 8.922 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003908/0.1206, allocations: 5.53 MB / 437.5 MB, free: 1.555 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.698e-05/0.1206, allocations: 36 kB / 437.5 MB, free: 1.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=773) (initialization): time 0.004356/0.125, allocations: 4.047 MB / 441.6 MB, free: 13.46 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.513e-05/0.125, allocations: 60 kB / 441.7 MB, free: 13.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.682e-05/0.1251, allocations: 136.2 kB / 441.8 MB, free: 13.27 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005549/0.1257, allocations: 319.1 kB / 442.1 MB, free: 12.95 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002094/0.1278, allocations: 1.341 MB / 443.4 MB, free: 11.61 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001316/0.1279, allocations: 259 kB / 443.7 MB, free: 11.35 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00204/0.1299, allocations: 259.7 kB / 443.9 MB, free: 11.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002442/0.1302, allocations: 312 kB / 444.2 MB, free: 10.79 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 596 * Number of states: 0 () * Number of discrete variables: 36 (prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],universal1.cylinderColor[3],universal1.cylinderColor[2],universal1.cylinderColor[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],s1.color[3],s1.color[2],s1.color[1],s1.massColor[3],s1.massColor[2],s1.massColor[1],sps1.color[3],sps1.color[2],sps1.color[1],sps1.color_b[3],sps1.color_b[2],sps1.color_b[1],sps1.color_a[3],sps1.color_a[2],sps1.color_a[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (745): * Single equations (assignments): 740 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(3,88.9%), (3,88.9%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001027/0.1312, allocations: 0.6107 MB / 444.9 MB, free: 10.17 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002972/0.1315, allocations: 183.8 kB / 445 MB, free: 9.988 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001199/0.1327, allocations: 0.9353 MB / 446 MB, free: 9.031 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.621e-05/0.1327, allocations: 16 kB / 446 MB, free: 9.016 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.1327, allocations: 4 kB / 446 MB, free: 9.012 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.001e-05/0.1328, allocations: 7.969 kB / 446 MB, free: 9.004 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00459/0.1373, allocations: 3.6 MB / 449.6 MB, free: 5.316 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.1373, allocations: 3.984 kB / 449.6 MB, free: 5.312 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005859/0.1379, allocations: 251.6 kB / 449.9 MB, free: 5.062 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000557/0.1385, allocations: 295.7 kB / 450.1 MB, free: 4.762 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.278e-05/0.1386, allocations: 32 kB / 450.2 MB, free: 4.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.175e-06/0.1386, allocations: 7.984 kB / 450.2 MB, free: 4.723 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.1386, allocations: 7.938 kB / 450.2 MB, free: 4.715 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001837/0.1404, allocations: 1.739 MB / 451.9 MB, free: 2.922 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003422/0.1408, allocations: 241.9 kB / 452.2 MB, free: 2.684 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001612/0.1409, allocations: 35.92 kB / 452.2 MB, free: 2.648 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004154/0.1413, allocations: 36 kB / 452.2 MB, free: 2.613 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001096/0.1414, allocations: 88.81 kB / 452.3 MB, free: 2.527 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.987e-05/0.1415, allocations: 43.92 kB / 452.4 MB, free: 2.484 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007468/0.1422, allocations: 0.9308 MB / 453.3 MB, free: 1.547 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1422, allocations: 0 / 453.3 MB, free: 1.547 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002681/0.1449, allocations: 0.8398 MB / 454.1 MB, free: 0.707 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (sps1.s_damper,universal1.phi_a,universal1.phi_b,universal1.w_a,universal1.w_b,prismatic1.s,prismatic1.v) * 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): 138 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(3,88.9%), (3,88.9%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002904/0.1452, allocations: 148 kB / 454.3 MB, free: 0.5547 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.1351/0.2804, allocations: 2.441 MB / 456.7 MB, free: 128.5 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002632/0.2806, allocations: 88.94 kB / 456.8 MB, free: 128.5 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008877/0.2815, allocations: 0.5513 MB / 457.4 MB, free: 128.4 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001189/0.2827, allocations: 281.5 kB / 457.6 MB, free: 128.4 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007423/0.2901, allocations: 6.975 MB / 464.6 MB, free: 125.8 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008097/0.2909, allocations: 1.08 MB / 465.7 MB, free: 125.6 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001116/0.292, allocations: 454 kB / 466.1 MB, free: 125.5 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005382/0.2926, allocations: 478.1 kB / 466.6 MB, free: 125.4 MB / 426.7 MB Notification: Performance of SimCode: time 2.254e-06/0.2926, allocations: 0 / 466.6 MB, free: 125.4 MB / 426.7 MB Notification: Performance of Templates: time 0.03328/0.3259, allocations: 23.38 MB / 490 MB, free: 105.2 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/SpringDamperSeries/SpringDamperSeries.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.896919365040958]