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.001513/0.001513, allocations: 83.67 kB / 21.7 MB, free: 2.852 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.001493/0.001493, allocations: 160.3 kB / 24.99 MB, free: 9.289 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 1.01/1.01, allocations: 177 MB / 205.2 MB, free: 5.586 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.2999/0.2999, allocations: 34.86 MB / 296.6 MB, free: 0.5586 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.473e-06/1.473e-06, allocations: 0 / 378.8 MB, free: 2.418 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.953e-05/3.1e-05, allocations: 6.953 kB / 378.8 MB, free: 2.41 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.008997/0.009028, allocations: 10.17 MB / 388.9 MB, free: 8.188 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006357/0.01538, allocations: 3.178 MB / 392.1 MB, free: 5 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001655/0.01704, allocations: 63.75 kB / 392.2 MB, free: 4.938 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002935/0.01998, allocations: 2.531 MB / 394.7 MB, free: 2.398 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002673/0.02265, allocations: 1.302 MB / 396 MB, free: 1.09 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009798/0.02363, allocations: 0.5338 MB / 396.5 MB, free: 0.5547 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003146/0.02677, allocations: 3.001 MB / 399.5 MB, free: 13.55 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002192/0.02897, allocations: 2.52 MB / 402.1 MB, free: 10.98 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002/0.03097, allocations: 1.914 MB / 404 MB, free: 9.059 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001745/0.03271, allocations: 1.699 MB / 405.7 MB, free: 7.355 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004141/0.03312, allocations: 296 kB / 406 MB, free: 7.066 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001287/0.03441, allocations: 0.9555 MB / 406.9 MB, free: 6.109 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001012/0.03542, allocations: 1.683 MB / 408.6 MB, free: 4.422 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001029/0.03645, allocations: 1.098 MB / 409.7 MB, free: 3.32 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005018/0.04147, allocations: 4.004 MB / 413.7 MB, free: 15.3 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.04148, allocations: 0 / 413.7 MB, free: 15.3 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.04148, allocations: 4 kB / 413.7 MB, free: 15.3 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.000155/0.04163, allocations: 0 / 413.7 MB, free: 15.3 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.006596/0.04823, allocations: 4.58 MB / 418.3 MB, free: 10.65 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.04827, allocations: 8.031 kB / 418.3 MB, free: 10.64 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004159/0.05243, allocations: 2.272 MB / 420.6 MB, free: 8.367 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003073/0.0555, allocations: 1.66 MB / 422.2 MB, free: 6.668 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001399/0.05564, allocations: 222.2 kB / 422.4 MB, free: 6.449 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005553/0.0562, allocations: 300.2 kB / 422.7 MB, free: 6.156 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01026/0.06645, allocations: 6.81 MB / 429.5 MB, free: 14.49 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.921e-05/0.06654, allocations: 35.7 kB / 429.6 MB, free: 14.45 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000316/0.06686, allocations: 143.9 kB / 429.7 MB, free: 14.31 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002118/0.06898, allocations: 2.048 MB / 431.8 MB, free: 12.26 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009362/0.07834, allocations: 4.235 MB / 436 MB, free: 8 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1705/0.2488, allocations: 40.11 MB / 476.1 MB, free: 64.51 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005629/0.2544, allocations: 2.468 MB / 478.6 MB, free: 64.01 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00115/0.2556, allocations: 0.7469 MB / 479.3 MB, free: 63.85 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004725/0.2603, allocations: 4.063 MB / 483.4 MB, free: 61.47 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.282e-05/0.2604, allocations: 59.69 kB / 483.5 MB, free: 61.41 MB / 410.7 MB Notification: Performance of pre-optimization done (n=181): time 3.537e-06/0.2604, allocations: 0 / 483.5 MB, free: 61.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=210): time 0.03142/0.2918, allocations: 15.63 MB / 499.1 MB, free: 57.11 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.451e-05/0.2918, allocations: 152.8 kB / 499.2 MB, free: 56.95 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003304/0.2951, allocations: 2.868 MB / 0.4903 GB, free: 55.75 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003578/0.2955, allocations: 60.53 kB / 0.4904 GB, free: 55.7 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001371/0.2969, allocations: 3.065 MB / 0.4934 GB, free: 53.36 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001056/0.2979, allocations: 0.8575 MB / 0.4942 GB, free: 52.72 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001596/0.2995, allocations: 1.274 MB / 0.4955 GB, free: 52.05 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.2997, allocations: 0.5345 MB / 0.496 GB, free: 51.54 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001732/0.3014, allocations: 0.7654 MB / 0.4967 GB, free: 51.43 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003461/0.3048, allocations: 5.877 MB / 0.5025 GB, free: 44.43 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005505/0.3103, allocations: 7.382 MB / 0.5097 GB, free: 36.52 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001337/0.3105, allocations: 34.97 kB / 0.5097 GB, free: 36.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=775) (initialization): time 0.008046/0.3185, allocations: 5.58 MB / 0.5152 GB, free: 34.55 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.06e-05/0.3186, allocations: 56.06 kB / 0.5152 GB, free: 34.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001057/0.3187, allocations: 125.3 kB / 0.5153 GB, free: 34.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001441/0.3201, allocations: 0.6287 MB / 0.516 GB, free: 34.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002436/0.3226, allocations: 1.378 MB / 0.5173 GB, free: 33.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002525/0.3251, allocations: 4.694 MB / 0.5219 GB, free: 28.99 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002628/0.3277, allocations: 328.8 kB / 0.5222 GB, free: 28.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003529/0.3281, allocations: 358.8 kB / 0.5225 GB, free: 28.37 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.001164/0.3292, allocations: 0.6422 MB / 0.5232 GB, free: 27.72 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003945/0.3296, allocations: 346.7 kB / 0.5235 GB, free: 27.38 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002956/0.3326, allocations: 2.007 MB / 0.5255 GB, free: 25.77 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.915e-05/0.3326, allocations: 27.83 kB / 0.5255 GB, free: 25.75 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.611e-05/0.3326, allocations: 4 kB / 0.5255 GB, free: 25.74 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.518e-05/0.3326, allocations: 8.766 kB / 0.5255 GB, free: 25.74 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007075/0.3397, allocations: 5.501 MB / 0.5309 GB, free: 21.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/0.3397, allocations: 0 / 0.5309 GB, free: 21.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009309/0.3406, allocations: 351.8 kB / 0.5312 GB, free: 20.74 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001115/0.3418, allocations: 481.5 kB / 0.5317 GB, free: 20.45 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001155/0.3419, allocations: 39.75 kB / 0.5317 GB, free: 20.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001916/0.3438, allocations: 4.059 MB / 0.5357 GB, free: 16.27 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.3438, allocations: 0 / 0.5357 GB, free: 16.27 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003928/0.3477, allocations: 3.131 MB / 0.5387 GB, free: 13.44 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005859/0.3483, allocations: 249.7 kB / 0.539 GB, free: 13.2 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002279/0.3485, allocations: 32 kB / 0.539 GB, free: 13.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007129/0.3493, allocations: 125.1 kB / 0.5391 GB, free: 13.09 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002428/0.3495, allocations: 127.8 kB / 0.5392 GB, free: 13.03 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.583e-05/0.3496, allocations: 52 kB / 0.5393 GB, free: 12.98 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001258/0.3508, allocations: 1.182 MB / 0.5404 GB, free: 12 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3508, allocations: 0 / 0.5404 GB, free: 12 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00353/0.3544, allocations: 0.9413 MB / 0.5414 GB, free: 11.05 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.0003836/0.3548, allocations: 176.5 kB / 0.5415 GB, free: 10.88 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005327/0.3601, allocations: 3.684 MB / 0.5451 GB, free: 7.289 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.3601, allocations: 4 kB / 0.5451 GB, free: 7.285 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00179/0.3619, allocations: 1.427 MB / 0.5465 GB, free: 5.809 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001492/0.3634, allocations: 303.5 kB / 0.5468 GB, free: 5.531 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01063/0.374, allocations: 7.235 MB / 0.5539 GB, free: 14.23 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001188/0.3752, allocations: 1.125 MB / 0.555 GB, free: 13.09 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002587/0.3778, allocations: 1.529 MB / 0.5565 GB, free: 11.55 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005471/0.3783, allocations: 228.4 kB / 0.5567 GB, free: 11.33 MB / 426.7 MB Notification: Performance of SimCode: time 2.234e-06/0.3783, allocations: 0 / 0.5567 GB, free: 11.33 MB / 426.7 MB Notification: Performance of Templates: time 0.0424/0.4207, allocations: 29.88 MB / 0.5859 GB, free: 13.94 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.53836524207145]