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.001617/0.001617, allocations: 120.9 kB / 19.13 MB, free: 3.902 MB / 14.72 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.001735/0.001735, allocations: 210.6 kB / 22.08 MB, free: 0.9531 MB / 14.72 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.447/1.447, allocations: 227.4 MB / 252.3 MB, free: 76 kB / 190.1 MB " [Timeout remaining time 178] 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.232/0.232, allocations: 46.16 MB / 351.8 MB, free: 14.3 MB / 286.1 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 0.003465/0.003465, allocations: 81.11 kB / 490.9 MB, free: 27.98 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.1422, allocations: 62.46 MB / 0.5403 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.01261/0.1549, allocations: 10.51 MB / 0.5506 GB, free: 9.68 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007054/0.162, allocations: 3.24 MB / 0.5538 GB, free: 6.426 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001362/0.1634, allocations: 59.81 kB / 0.5538 GB, free: 6.367 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00474/0.1682, allocations: 2.359 MB / 0.5561 GB, free: 4 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003669/0.1719, allocations: 1.209 MB / 0.5573 GB, free: 2.785 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001412/0.1733, allocations: 0.5263 MB / 0.5578 GB, free: 2.258 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004332/0.1777, allocations: 2.915 MB / 0.5607 GB, free: 15.34 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004003/0.1817, allocations: 3.036 MB / 0.5636 GB, free: 12.25 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002302/0.184, allocations: 1.257 MB / 0.5649 GB, free: 10.99 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00283/0.1869, allocations: 1.725 MB / 0.5666 GB, free: 9.258 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009447/0.1879, allocations: 292 kB / 0.5668 GB, free: 8.973 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002097/0.19, allocations: 1.003 MB / 0.5678 GB, free: 7.969 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001667/0.1917, allocations: 1.582 MB / 0.5694 GB, free: 6.383 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002211/0.1939, allocations: 1.961 MB / 0.5713 GB, free: 4.41 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007685/0.2016, allocations: 6.264 MB / 0.5774 GB, free: 14.12 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/0.2016, allocations: 0 / 0.5774 GB, free: 14.12 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.766e-06/0.2017, allocations: 0 / 0.5774 GB, free: 14.12 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000208/0.2019, allocations: 4 kB / 0.5774 GB, free: 14.12 MB / 446.1 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.009693/0.2116, allocations: 4.358 MB / 0.5816 GB, free: 9.688 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.2116, allocations: 8.031 kB / 0.5817 GB, free: 9.68 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006124/0.2178, allocations: 1.835 MB / 0.5834 GB, free: 7.84 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003612/0.2214, allocations: 1.777 MB / 0.5852 GB, free: 6.016 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001945/0.2216, allocations: 233.7 kB / 0.5854 GB, free: 5.785 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007069/0.2223, allocations: 287.9 kB / 0.5857 GB, free: 5.504 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02081/0.2432, allocations: 10.66 MB / 0.5961 GB, free: 10.22 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001383/0.2433, allocations: 43.67 kB / 0.5961 GB, free: 10.18 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004107/0.2438, allocations: 139.9 kB / 0.5963 GB, free: 10.04 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003607/0.2474, allocations: 2.04 MB / 0.5983 GB, free: 7.992 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2904/0.5378, allocations: 9.347 MB / 0.6074 GB, free: 53.33 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04213/0.58, allocations: 37.89 MB / 0.6444 GB, free: 27.77 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009685/0.5897, allocations: 4.21 MB / 0.6485 GB, free: 25.31 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00225/0.592, allocations: 2.298 MB / 0.6507 GB, free: 24.09 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006399/0.5984, allocations: 6.129 MB / 0.6567 GB, free: 19.53 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/0.5985, allocations: 51.62 kB / 0.6568 GB, free: 19.48 MB / 462.1 MB Notification: Performance of pre-optimization done (n=181): time 3.737e-06/0.5985, allocations: 0 / 0.6568 GB, free: 19.48 MB / 462.1 MB Notification: Performance of matching and sorting (n=210): time 0.05741/0.6559, allocations: 22.22 MB / 0.6785 GB, free: 15.18 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001085/0.6561, allocations: 145.8 kB / 0.6786 GB, free: 15 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005703/0.6618, allocations: 3.387 MB / 0.6819 GB, free: 11.61 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000434/0.6622, allocations: 53.7 kB / 0.682 GB, free: 11.55 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002359/0.6646, allocations: 2.917 MB / 0.6848 GB, free: 8.648 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001055/0.6657, allocations: 0.8273 MB / 0.6856 GB, free: 7.832 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001837/0.6675, allocations: 1.203 MB / 0.6868 GB, free: 6.617 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.6677, allocations: 305.1 kB / 0.6871 GB, free: 6.316 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003945/0.6716, allocations: 2.335 MB / 0.6894 GB, free: 3.977 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007453/0.6791, allocations: 5.792 MB / 0.695 GB, free: 12.47 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01218/0.6913, allocations: 8.827 MB / 0.7037 GB, free: 1.938 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001084/0.6915, allocations: 32 kB / 0.7037 GB, free: 1.906 MB / 494.1 MB Notification: Performance of matching and sorting (n=775) (initialization): time 0.0174/0.7089, allocations: 8.715 MB / 0.7122 GB, free: 9.176 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001182/0.709, allocations: 60 kB / 0.7123 GB, free: 9.117 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001886/0.7092, allocations: 120 kB / 0.7124 GB, free: 9 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002934/0.7122, allocations: 1.034 MB / 0.7134 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004786/0.717, allocations: 1.38 MB / 0.7147 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006899/0.7239, allocations: 5.812 MB / 0.7204 GB, free: 500 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004205/0.7281, allocations: 327.6 kB / 0.7207 GB, free: 172 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001032/0.7292, allocations: 360.9 kB / 0.7211 GB, free: 15.82 MB / 0.5137 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.003806/0.733, allocations: 1.951 MB / 0.723 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008042/0.7338, allocations: 325.8 kB / 0.7233 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008186/0.742, allocations: 3.955 MB / 0.7271 GB, free: 9.555 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.432e-05/0.7421, allocations: 26 kB / 0.7272 GB, free: 9.531 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.007e-05/0.7421, allocations: 11.94 kB / 0.7272 GB, free: 9.52 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.967e-05/0.7422, allocations: 11.97 kB / 0.7272 GB, free: 9.508 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01768/0.7599, allocations: 8.817 MB / 0.7358 GB, free: 0.6328 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.471e-05/0.7599, allocations: 0 / 0.7358 GB, free: 0.6328 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001818/0.7617, allocations: 355.5 kB / 0.7361 GB, free: 292 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002657/0.7644, allocations: 0.8716 MB / 0.737 GB, free: 15.4 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002567/0.7647, allocations: 39.98 kB / 0.737 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00596/0.7707, allocations: 5.119 MB / 0.742 GB, free: 9.977 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/0.7707, allocations: 4.031 kB / 0.742 GB, free: 9.973 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01173/0.7824, allocations: 6.934 MB / 0.7488 GB, free: 3.008 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008477/0.7833, allocations: 374.7 kB / 0.7492 GB, free: 2.621 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006881/0.784, allocations: 35.98 kB / 0.7492 GB, free: 2.586 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001809/0.7859, allocations: 115.8 kB / 0.7493 GB, free: 2.473 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004524/0.7863, allocations: 121.1 kB / 0.7494 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001725/0.7865, allocations: 55.98 kB / 0.7495 GB, free: 2.301 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003456/0.79, allocations: 2.073 MB / 0.7515 GB, free: 240 kB / 0.5294 GB Notification: Performance of sort global known variables: time 1.5e-07/0.79, allocations: 0 / 0.7515 GB, free: 240 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004622/0.7946, allocations: 0.957 MB / 0.7524 GB, free: 15.27 MB / 0.545 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.0006033/0.7952, allocations: 170 kB / 0.7526 GB, free: 15.1 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01112/0.8064, allocations: 6.169 MB / 0.7586 GB, free: 8.887 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.8064, allocations: 4.188 kB / 0.7586 GB, free: 8.883 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004854/0.8113, allocations: 2.491 MB / 0.7611 GB, free: 6.328 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002727/0.814, allocations: 349.5 kB / 0.7614 GB, free: 5.992 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01813/0.8322, allocations: 9.59 MB / 0.7707 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004173/0.8364, allocations: 3.029 MB / 0.7737 GB, free: 9.301 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001291/0.8377, allocations: 283.4 kB / 0.774 GB, free: 9.023 MB / 0.5606 GB Notification: Performance of SimCode: time 1.032e-06/0.8378, allocations: 0 / 0.774 GB, free: 9.023 MB / 0.5606 GB Notification: Performance of Templates: time 0.3954/1.233, allocations: 124.9 MB / 0.8959 GB, free: 186.7 MB / 0.6231 GB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/SpringDamperSeries/SpringDamperSeries.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 14.356570579926483]