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.001481/0.001481, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.001553/0.001553, allocations: 160.5 kB / 24.55 MB, free: 16 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.9645/0.9645, allocations: 177 MB / 204.8 MB, free: 5.582 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.2479/0.2479, allocations: 34.87 MB / 296.3 MB, free: 0.543 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.172e-06/1.172e-06, allocations: 0 / 378.8 MB, free: 2.098 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.232e-05/2.349e-05, allocations: 7.938 kB / 378.8 MB, free: 2.09 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.007486/0.00751, allocations: 10.2 MB / 389 MB, free: 7.836 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00485/0.01236, allocations: 3.189 MB / 392.2 MB, free: 4.637 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001152/0.01351, allocations: 59.75 kB / 392.2 MB, free: 4.578 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002625/0.01614, allocations: 2.538 MB / 394.8 MB, free: 2.031 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002511/0.01865, allocations: 1.309 MB / 396.1 MB, free: 0.7148 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001074/0.01972, allocations: 0.5416 MB / 396.6 MB, free: 176 kB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003054/0.02278, allocations: 2.999 MB / 399.6 MB, free: 13.16 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002408/0.02518, allocations: 2.52 MB / 402.1 MB, free: 10.59 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002086/0.02727, allocations: 2.003 MB / 404.1 MB, free: 8.586 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001708/0.02898, allocations: 1.613 MB / 405.8 MB, free: 6.969 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004847/0.02946, allocations: 288 kB / 406 MB, free: 6.688 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001185/0.03065, allocations: 0.9477 MB / 407 MB, free: 5.738 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009613/0.03161, allocations: 1.667 MB / 408.7 MB, free: 4.066 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001038/0.03265, allocations: 1.086 MB / 409.7 MB, free: 2.977 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003413/0.03606, allocations: 3.954 MB / 413.7 MB, free: 15.01 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.03606, allocations: 4 kB / 413.7 MB, free: 15 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.03607, allocations: 0 / 413.7 MB, free: 15 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001208/0.03619, allocations: 0 / 413.7 MB, free: 15 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.004897/0.04108, allocations: 4.561 MB / 418.3 MB, free: 10.38 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.04112, allocations: 16.03 kB / 418.3 MB, free: 10.36 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003499/0.04462, allocations: 2.264 MB / 420.5 MB, free: 8.094 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001972/0.0466, allocations: 1.655 MB / 422.2 MB, free: 6.402 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001132/0.04671, allocations: 238.1 kB / 422.4 MB, free: 6.168 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003248/0.04703, allocations: 296.2 kB / 422.7 MB, free: 5.879 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009003/0.05604, allocations: 6.771 MB / 429.5 MB, free: 14.25 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.051e-05/0.05612, allocations: 39.67 kB / 429.5 MB, free: 14.21 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002423/0.05636, allocations: 147.8 kB / 429.7 MB, free: 14.07 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00158/0.05794, allocations: 1.923 MB / 431.6 MB, free: 12.14 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008427/0.06637, allocations: 4.013 MB / 435.6 MB, free: 8.102 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1662/0.2325, allocations: 40.2 MB / 475.8 MB, free: 58.93 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00483/0.2374, allocations: 2.373 MB / 478.2 MB, free: 58.71 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008219/0.2382, allocations: 0.572 MB / 478.7 MB, free: 58.64 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004264/0.2425, allocations: 4.074 MB / 482.8 MB, free: 57.07 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.389e-05/0.2425, allocations: 52.77 kB / 482.9 MB, free: 57.02 MB / 410.7 MB Notification: Performance of pre-optimization done (n=152): time 4.469e-06/0.2425, allocations: 0 / 482.9 MB, free: 57.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=166): time 0.02344/0.2659, allocations: 12.59 MB / 495.5 MB, free: 53.44 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.04e-05/0.266, allocations: 152.4 kB / 495.6 MB, free: 53.28 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002879/0.2689, allocations: 3.039 MB / 498.6 MB, free: 52 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.648e-05/0.2689, allocations: 50.05 kB / 498.7 MB, free: 51.95 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001108/0.27, allocations: 3.186 MB / 0.4901 GB, free: 49.58 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004047/0.2705, allocations: 0.6996 MB / 0.4908 GB, free: 49.07 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001102/0.2716, allocations: 1.273 MB / 0.492 GB, free: 48.38 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.312e-05/0.2716, allocations: 0.5269 MB / 0.4926 GB, free: 47.88 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001148/0.2728, allocations: 0.638 MB / 0.4932 GB, free: 47.79 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00277/0.2756, allocations: 6.098 MB / 0.4991 GB, free: 40.36 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005608/0.2812, allocations: 7.473 MB / 0.5064 GB, free: 32.19 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001608/0.2813, allocations: 38.5 kB / 0.5065 GB, free: 32.19 MB / 410.7 MB Notification: Performance of matching and sorting (n=773) (initialization): time 0.007663/0.289, allocations: 5.207 MB / 0.5116 GB, free: 30.25 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.555e-05/0.2891, allocations: 58.91 kB / 0.5116 GB, free: 30.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001212/0.2892, allocations: 131 kB / 0.5117 GB, free: 30.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006827/0.2899, allocations: 361.9 kB / 0.5121 GB, free: 30.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002086/0.292, allocations: 1.381 MB / 0.5134 GB, free: 30.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.103e-05/0.292, allocations: 253 kB / 0.5137 GB, free: 29.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001977/0.294, allocations: 307 kB / 0.514 GB, free: 29.87 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002592/0.2943, allocations: 367.1 kB / 0.5143 GB, free: 29.82 MB / 410.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.0009049/0.2952, allocations: 0.6437 MB / 0.5149 GB, free: 29.3 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002919/0.2955, allocations: 330.7 kB / 0.5153 GB, free: 29.12 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001551/0.297, allocations: 1.218 MB / 0.5165 GB, free: 28.7 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.688e-05/0.297, allocations: 25.28 kB / 0.5165 GB, free: 28.69 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.424e-05/0.2971, allocations: 0.5625 kB / 0.5165 GB, free: 28.69 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.49e-05/0.2971, allocations: 9.984 kB / 0.5165 GB, free: 28.69 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005643/0.3027, allocations: 4.528 MB / 0.5209 GB, free: 26.03 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.3027, allocations: 4.797 kB / 0.5209 GB, free: 26.03 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006368/0.3034, allocations: 273.2 kB / 0.5212 GB, free: 25.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000519/0.3039, allocations: 181.8 kB / 0.5213 GB, free: 25.69 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.172e-05/0.304, allocations: 38.2 kB / 0.5214 GB, free: 25.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.444e-06/0.304, allocations: 11.94 kB / 0.5214 GB, free: 25.64 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.304, allocations: 9.016 kB / 0.5214 GB, free: 25.64 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002239/0.3062, allocations: 2.339 MB / 0.5237 GB, free: 23.43 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003112/0.3065, allocations: 244.6 kB / 0.5239 GB, free: 23.2 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001693/0.3067, allocations: 36.52 kB / 0.524 GB, free: 23.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004676/0.3071, allocations: 57.91 kB / 0.524 GB, free: 23.12 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001511/0.3073, allocations: 104.1 kB / 0.5241 GB, free: 23.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.886e-05/0.3074, allocations: 46.62 kB / 0.5242 GB, free: 23.02 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001227/0.3086, allocations: 1.238 MB / 0.5254 GB, free: 22 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3086, allocations: 0 / 0.5254 GB, free: 22 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002755/0.3113, allocations: 0.8369 MB / 0.5262 GB, free: 21.16 MB / 410.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.0002872/0.3116, allocations: 163.5 kB / 0.5263 GB, free: 21 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004004/0.3156, allocations: 2.9 MB / 0.5292 GB, free: 18.48 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.3156, allocations: 0 / 0.5292 GB, free: 18.48 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009759/0.3166, allocations: 0.7322 MB / 0.5299 GB, free: 17.85 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001032/0.3176, allocations: 285.9 kB / 0.5302 GB, free: 17.6 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008241/0.3259, allocations: 6.977 MB / 0.537 GB, free: 11.13 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006927/0.3266, allocations: 1.096 MB / 0.538 GB, free: 10.33 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001854/0.3284, allocations: 1.504 MB / 0.5395 GB, free: 9.477 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003081/0.3287, allocations: 211.8 kB / 0.5397 GB, free: 9.277 MB / 410.7 MB Notification: Performance of SimCode: time 2.064e-06/0.3287, allocations: 0 / 0.5397 GB, free: 9.277 MB / 410.7 MB Notification: Performance of Templates: time 0.03265/0.3614, allocations: 21.65 MB / 0.5609 GB, free: 4.969 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: 4.1499569290317595]