Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007776/0.0007776, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00307/0.00307, allocations: 162.2 kB / 24.7 MB, free: 9.426 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8466/0.8466, allocations: 177.2 MB / 205 MB, free: 5.363 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2225/0.2225, allocations: 32.79 MB / 294.2 MB, free: 1.188 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 440.9 MB, free: 3.77 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.206e-05/2.358e-05, allocations: 5.656 kB / 440.9 MB, free: 3.766 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.1711/0.1711, allocations: 9.246 MB / 450.1 MB, free: 41.56 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00389/0.175, allocations: 3.094 MB / 453.2 MB, free: 39.93 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006287/0.1757, allocations: 62.72 kB / 453.3 MB, free: 39.92 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001976/0.1776, allocations: 2.428 MB / 455.7 MB, free: 38.87 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001436/0.1791, allocations: 1.305 MB / 457 MB, free: 38.19 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006517/0.1797, allocations: 0.536 MB / 457.5 MB, free: 37.91 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001684/0.1814, allocations: 2.994 MB / 460.5 MB, free: 36.61 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001459/0.1829, allocations: 2.461 MB / 463 MB, free: 35.45 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001066/0.1839, allocations: 1.901 MB / 464.9 MB, free: 34.61 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001049/0.185, allocations: 1.663 MB / 466.5 MB, free: 34.12 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002154/0.1852, allocations: 294 kB / 466.8 MB, free: 34.12 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008358/0.186, allocations: 0.9522 MB / 467.8 MB, free: 33.95 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006136/0.1866, allocations: 1.67 MB / 469.5 MB, free: 33.2 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005916/0.1872, allocations: 1.099 MB / 470.6 MB, free: 32.65 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003253/0.1905, allocations: 6.237 MB / 476.8 MB, free: 30.42 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.1905, allocations: 0 / 476.8 MB, free: 30.42 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1905, allocations: 3.156 kB / 476.8 MB, free: 30.42 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.765e-05/0.1905, allocations: 0 / 476.8 MB, free: 30.42 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: 1473 * Number of variables: 1473 Notification: Performance of Generate backend data structure: time 0.003879/0.1944, allocations: 4.227 MB / 481 MB, free: 27.96 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.1945, allocations: 9.531 kB / 481 MB, free: 27.96 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003253/0.1977, allocations: 1.847 MB / 482.9 MB, free: 27.62 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002041/0.1998, allocations: 1.72 MB / 484.6 MB, free: 26.66 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001328/0.1999, allocations: 228.9 kB / 484.8 MB, free: 26.55 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003599/0.2002, allocations: 301.2 kB / 485.1 MB, free: 26.45 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01111/0.2114, allocations: 10.72 MB / 495.8 MB, free: 21.89 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.945e-05/0.2114, allocations: 39.39 kB / 495.9 MB, free: 21.86 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002479/0.2117, allocations: 142.6 kB / 496 MB, free: 21.77 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002144/0.2138, allocations: 2.041 MB / 498.1 MB, free: 21.39 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01049/0.2243, allocations: 9.339 MB / 0.4955 GB, free: 17.32 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02406/0.2484, allocations: 35.44 MB / 0.5301 GB, free: 12.94 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007499/0.2559, allocations: 3.736 MB / 0.5338 GB, free: 9.148 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002151/0.258, allocations: 2.099 MB / 0.5358 GB, free: 7.039 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004697/0.2627, allocations: 4.657 MB / 0.5404 GB, free: 2.348 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.252e-05/0.2627, allocations: 55.81 kB / 0.5404 GB, free: 2.285 MB / 442.7 MB Notification: Performance of pre-optimization done (n=181): time 4.188e-06/0.2628, allocations: 0 / 0.5404 GB, free: 2.285 MB / 442.7 MB Notification: Performance of matching and sorting (n=210): time 0.03421/0.297, allocations: 22.42 MB / 0.5623 GB, free: 11.82 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.507e-05/0.297, allocations: 149.8 kB / 0.5624 GB, free: 11.64 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002859/0.2999, allocations: 3.085 MB / 0.5655 GB, free: 8.543 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001239/0.3, allocations: 53.7 kB / 0.5655 GB, free: 8.484 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001086/0.3011, allocations: 2.923 MB / 0.5684 GB, free: 5.531 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004501/0.3015, allocations: 0.8255 MB / 0.5692 GB, free: 4.699 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001256/0.3028, allocations: 1.187 MB / 0.5703 GB, free: 3.5 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.759e-05/0.3029, allocations: 353.9 kB / 0.5707 GB, free: 3.148 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002108/0.305, allocations: 2.338 MB / 0.5729 GB, free: 0.8047 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003841/0.3088, allocations: 5.792 MB / 0.5786 GB, free: 9.293 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006547/0.3154, allocations: 8.817 MB / 0.5872 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.09e-05/0.3154, allocations: 36 kB / 0.5872 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of matching and sorting (n=775) (initialization): time 0.009249/0.3247, allocations: 8.659 MB / 0.5957 GB, free: 6.066 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.944e-05/0.3247, allocations: 60 kB / 0.5958 GB, free: 6.008 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.533e-05/0.3248, allocations: 124.8 kB / 0.5959 GB, free: 5.887 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001432/0.3262, allocations: 1.042 MB / 0.5969 GB, free: 4.836 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002213/0.3285, allocations: 1.38 MB / 0.5982 GB, free: 3.453 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003975/0.3324, allocations: 5.527 MB / 0.6036 GB, free: 13.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002253/0.3347, allocations: 343.7 kB / 0.604 GB, free: 13.39 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003338/0.335, allocations: 360 kB / 0.6043 GB, free: 13.04 MB / 0.5105 GB 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.002373/0.3374, allocations: 1.931 MB / 0.6062 GB, free: 11.09 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003575/0.3377, allocations: 294 kB / 0.6065 GB, free: 10.8 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004396/0.3421, allocations: 3.904 MB / 0.6103 GB, free: 6.871 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.9e-05/0.3422, allocations: 24 kB / 0.6103 GB, free: 6.848 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.257e-06/0.3422, allocations: 7.938 kB / 0.6103 GB, free: 6.84 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.275e-05/0.3422, allocations: 15.97 kB / 0.6103 GB, free: 6.824 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009218/0.3514, allocations: 7.651 MB / 0.6178 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.183e-06/0.3514, allocations: 7.938 kB / 0.6178 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008779/0.3523, allocations: 355.5 kB / 0.6182 GB, free: 14.74 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001281/0.3536, allocations: 0.8618 MB / 0.619 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001055/0.3537, allocations: 39.98 kB / 0.619 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003404/0.3571, allocations: 4.847 MB / 0.6238 GB, free: 8.77 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.3571, allocations: 4.031 kB / 0.6238 GB, free: 8.766 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006749/0.3638, allocations: 6.866 MB / 0.6305 GB, free: 1.867 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005108/0.3643, allocations: 249.9 kB / 0.6307 GB, free: 1.621 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001945/0.3645, allocations: 32 kB / 0.6307 GB, free: 1.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006953/0.3652, allocations: 123.8 kB / 0.6309 GB, free: 1.469 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002155/0.3654, allocations: 121.1 kB / 0.631 GB, free: 1.348 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.402e-05/0.3655, allocations: 60.06 kB / 0.631 GB, free: 1.289 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.1854/0.5509, allocations: 1.716 MB / 0.6327 GB, free: 152.7 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4e-08/0.5509, allocations: 0 / 0.6327 GB, free: 152.7 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003384/0.5543, allocations: 0.9518 MB / 0.6336 GB, free: 152.7 MB / 0.5261 GB 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.0003388/0.5547, allocations: 170.7 kB / 0.6338 GB, free: 152.6 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005222/0.5599, allocations: 5.767 MB / 0.6394 GB, free: 151.6 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.5599, allocations: 5.188 kB / 0.6394 GB, free: 151.6 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002046/0.5619, allocations: 2.193 MB / 0.6416 GB, free: 150.7 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001194/0.5631, allocations: 291.9 kB / 0.6419 GB, free: 150.6 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008972/0.5721, allocations: 9.434 MB / 0.6511 GB, free: 146.5 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001838/0.5739, allocations: 2.485 MB / 0.6535 GB, free: 145.8 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006749/0.5746, allocations: 261.3 kB / 0.6538 GB, free: 145.8 MB / 0.5261 GB Notification: Performance of SimCode: time 1.202e-06/0.5746, allocations: 0 / 0.6538 GB, free: 145.8 MB / 0.5261 GB Notification: Performance of Templates: time 0.07872/0.6533, allocations: 124.4 MB / 0.7753 GB, free: 47.89 MB / 0.5261 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/SpringDamperSeries/SpringDamperSeries.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.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.720588388852775]