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.0009729/0.0009729, allocations: 91.5 kB / 21.2 MB, free: 3.375 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.0009995/0.0009995, allocations: 160.5 kB / 24.55 MB, free: 20 kB / 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.9773/0.9773, allocations: 177 MB / 204.8 MB, free: 5.551 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.2666/0.2666, allocations: 34.87 MB / 296.3 MB, free: 0.5273 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 1.332e-06/1.332e-06, allocations: 0 / 378.8 MB, free: 2.062 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.331e-05/1.464e-05, allocations: 6.25 kB / 378.8 MB, free: 2.055 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.007843/0.007858, allocations: 10.21 MB / 389 MB, free: 7.789 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004071/0.01193, allocations: 3.178 MB / 392.2 MB, free: 4.602 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005207/0.01245, allocations: 63.75 kB / 392.2 MB, free: 4.539 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002503/0.01495, allocations: 2.538 MB / 394.8 MB, free: 1.992 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001522/0.01647, allocations: 1.302 MB / 396.1 MB, free: 0.6836 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006539/0.01713, allocations: 0.5417 MB / 396.6 MB, free: 144 kB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002172/0.0193, allocations: 3.01 MB / 399.6 MB, free: 13.12 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001737/0.02104, allocations: 2.517 MB / 402.1 MB, free: 10.56 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0013/0.02234, allocations: 1.906 MB / 404 MB, free: 8.648 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001534/0.02387, allocations: 1.699 MB / 405.7 MB, free: 6.945 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000297/0.02417, allocations: 296 kB / 406 MB, free: 6.656 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001008/0.02518, allocations: 0.9556 MB / 407 MB, free: 5.699 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009527/0.02613, allocations: 1.687 MB / 408.7 MB, free: 4.008 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008539/0.02698, allocations: 1.102 MB / 409.8 MB, free: 2.902 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003151/0.03014, allocations: 4.001 MB / 413.8 MB, free: 14.89 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.03014, allocations: 4 kB / 413.8 MB, free: 14.88 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.03014, allocations: 0 / 413.8 MB, free: 14.88 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.988e-05/0.03019, allocations: 0 / 413.8 MB, free: 14.88 MB / 394.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.004453/0.03464, allocations: 4.577 MB / 418.4 MB, free: 10.24 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.03468, allocations: 8.031 kB / 418.4 MB, free: 10.23 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003607/0.03829, allocations: 2.272 MB / 420.6 MB, free: 7.957 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001865/0.04015, allocations: 1.657 MB / 422.3 MB, free: 6.262 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001098/0.04026, allocations: 226.2 kB / 422.5 MB, free: 6.039 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003284/0.04059, allocations: 304.2 kB / 422.8 MB, free: 5.742 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007953/0.04855, allocations: 6.81 MB / 429.6 MB, free: 14.07 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.544e-05/0.04861, allocations: 35.7 kB / 429.7 MB, free: 14.04 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002442/0.04885, allocations: 139.9 kB / 429.8 MB, free: 13.9 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001958/0.05081, allocations: 2.044 MB / 431.8 MB, free: 11.86 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008/0.05881, allocations: 4.239 MB / 436.1 MB, free: 7.59 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2015/0.2603, allocations: 40.11 MB / 476.2 MB, free: 59 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005436/0.2657, allocations: 2.468 MB / 478.6 MB, free: 58.77 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009684/0.2667, allocations: 0.749 MB / 479.4 MB, free: 58.7 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004847/0.2716, allocations: 4.066 MB / 483.5 MB, free: 56.8 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.403e-05/0.2716, allocations: 54.98 kB / 483.5 MB, free: 56.75 MB / 410.7 MB Notification: Performance of pre-optimization done (n=181): time 5.08e-06/0.2716, allocations: 0 / 483.5 MB, free: 56.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=210): time 0.03118/0.3028, allocations: 15.64 MB / 499.2 MB, free: 52.48 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.833e-05/0.3028, allocations: 153.1 kB / 499.3 MB, free: 52.31 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003359/0.3062, allocations: 2.869 MB / 0.4904 GB, free: 51.12 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001348/0.3063, allocations: 56.02 kB / 0.4905 GB, free: 51.06 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001697/0.308, allocations: 3.063 MB / 0.4934 GB, free: 48.81 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005981/0.3086, allocations: 0.8526 MB / 0.4943 GB, free: 48.18 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001336/0.31, allocations: 1.279 MB / 0.4955 GB, free: 47.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.3101, allocations: 0.5262 MB / 0.496 GB, free: 47 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001325/0.3114, allocations: 0.7701 MB / 0.4968 GB, free: 46.89 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003293/0.3147, allocations: 5.875 MB / 0.5025 GB, free: 39.96 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006154/0.3208, allocations: 7.388 MB / 0.5097 GB, free: 32.24 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.258e-05/0.3209, allocations: 35.53 kB / 0.5098 GB, free: 32.24 MB / 410.7 MB Notification: Performance of matching and sorting (n=775) (initialization): time 0.009545/0.3305, allocations: 5.575 MB / 0.5152 GB, free: 30.28 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.537e-05/0.3305, allocations: 57.22 kB / 0.5153 GB, free: 30.28 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001397/0.3307, allocations: 127.8 kB / 0.5154 GB, free: 30.28 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001734/0.3324, allocations: 0.6391 MB / 0.516 GB, free: 30.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002644/0.335, allocations: 1.374 MB / 0.5174 GB, free: 30.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003262/0.3383, allocations: 4.689 MB / 0.5219 GB, free: 25.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003006/0.3413, allocations: 332.2 kB / 0.5223 GB, free: 25.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003426/0.3417, allocations: 359.2 kB / 0.5226 GB, free: 24.89 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 553 * 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 (734): * Single equations (assignments): 727 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(3,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,9,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001508/0.3432, allocations: 0.6374 MB / 0.5232 GB, free: 24.25 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003538/0.3435, allocations: 350.6 kB / 0.5236 GB, free: 23.91 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003222/0.3467, allocations: 2.009 MB / 0.5255 GB, free: 22.3 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.238e-05/0.3468, allocations: 20.88 kB / 0.5255 GB, free: 22.28 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.839e-05/0.3468, allocations: 4 kB / 0.5255 GB, free: 22.28 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-05/0.3468, allocations: 13.8 kB / 0.5256 GB, free: 22.27 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007348/0.3542, allocations: 5.496 MB / 0.5309 GB, free: 17.56 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/0.3542, allocations: 0 / 0.5309 GB, free: 17.56 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008985/0.3551, allocations: 351.7 kB / 0.5313 GB, free: 17.28 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001094/0.3562, allocations: 475.9 kB / 0.5317 GB, free: 16.98 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.477e-05/0.3563, allocations: 34.97 kB / 0.5318 GB, free: 16.95 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001902/0.3582, allocations: 4.071 MB / 0.5357 GB, free: 12.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.3582, allocations: 4 kB / 0.5357 GB, free: 12.79 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003487/0.3616, allocations: 3.128 MB / 0.5388 GB, free: 9.969 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003318/0.362, allocations: 245.8 kB / 0.539 GB, free: 9.73 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001807/0.3622, allocations: 39.78 kB / 0.5391 GB, free: 9.695 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006238/0.3628, allocations: 112.4 kB / 0.5392 GB, free: 9.625 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002036/0.363, allocations: 123.6 kB / 0.5393 GB, free: 9.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.539e-05/0.3631, allocations: 54.95 kB / 0.5393 GB, free: 9.52 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00104/0.3641, allocations: 1.178 MB / 0.5405 GB, free: 8.539 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3641, allocations: 0 / 0.5405 GB, free: 8.539 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003335/0.3674, allocations: 0.9606 MB / 0.5414 GB, free: 7.582 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (178): * Single equations (assignments): 171 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(3,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003275/0.3678, allocations: 166.5 kB / 0.5416 GB, free: 7.418 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00476/0.3725, allocations: 3.679 MB / 0.5452 GB, free: 4.16 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.3725, allocations: 4 kB / 0.5452 GB, free: 4.156 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001654/0.3742, allocations: 1.427 MB / 0.5466 GB, free: 2.875 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001022/0.3752, allocations: 299.1 kB / 0.5469 GB, free: 2.613 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00994/0.3852, allocations: 7.252 MB / 0.5539 GB, free: 11.48 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001194/0.3863, allocations: 1.129 MB / 0.555 GB, free: 10.33 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002458/0.3888, allocations: 1.526 MB / 0.5565 GB, free: 8.797 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006006/0.3894, allocations: 228.4 kB / 0.5568 GB, free: 8.574 MB / 426.7 MB Notification: Performance of SimCode: time 3.467e-06/0.3894, allocations: 0 / 0.5568 GB, free: 8.574 MB / 426.7 MB Notification: Performance of Templates: time 0.04279/0.4322, allocations: 29.89 MB / 0.5859 GB, free: 11.2 MB / 458.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: 4.399278625845909]