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.001288/0.001288, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001447/0.001447, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.4/1.4, allocations: 230.3 MB / 258 MB, free: 8.227 MB / 206.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.2128/0.2128, allocations: 46.89 MB / 361.3 MB, free: 4.469 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.002223/0.002223, allocations: 79.86 kB / 0.4971 GB, free: 7.617 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3093/0.3115, allocations: 66.03 MB / 0.5615 GB, free: 4.648 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.01279/0.3243, allocations: 10.57 MB / 0.5719 GB, free: 10.02 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00754/0.3319, allocations: 3.291 MB / 0.5751 GB, free: 6.723 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001877/0.3337, allocations: 59.75 kB / 0.5751 GB, free: 6.664 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004851/0.3386, allocations: 2.417 MB / 0.5775 GB, free: 4.238 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00362/0.3422, allocations: 1.252 MB / 0.5787 GB, free: 2.98 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001503/0.3437, allocations: 0.5301 MB / 0.5792 GB, free: 2.449 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004315/0.348, allocations: 2.924 MB / 0.5821 GB, free: 15.52 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002807/0.3508, allocations: 2.263 MB / 0.5843 GB, free: 13.21 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001731/0.3526, allocations: 1.285 MB / 0.5856 GB, free: 11.92 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002416/0.355, allocations: 1.853 MB / 0.5874 GB, free: 10.06 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005328/0.3555, allocations: 300 kB / 0.5877 GB, free: 9.766 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001827/0.3573, allocations: 1.03 MB / 0.5887 GB, free: 8.734 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00149/0.3588, allocations: 1.616 MB / 0.5902 GB, free: 7.113 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001974/0.3608, allocations: 1.969 MB / 0.5922 GB, free: 5.133 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006933/0.3677, allocations: 6.26 MB / 0.5983 GB, free: 14.85 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.3678, allocations: 0 / 0.5983 GB, free: 14.85 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.3678, allocations: 0 / 0.5983 GB, free: 14.85 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001051/0.3679, allocations: 0 / 0.5983 GB, free: 14.85 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.008324/0.3762, allocations: 4.284 MB / 0.6025 GB, free: 10.51 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.3762, allocations: 8.031 kB / 0.6025 GB, free: 10.5 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006151/0.3824, allocations: 1.839 MB / 0.6043 GB, free: 8.66 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003719/0.3861, allocations: 1.713 MB / 0.6059 GB, free: 6.914 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001929/0.3863, allocations: 233.7 kB / 0.6062 GB, free: 6.684 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006393/0.3869, allocations: 299.8 kB / 0.6064 GB, free: 6.391 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01899/0.4059, allocations: 10.65 MB / 0.6168 GB, free: 11.11 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.116e-05/0.406, allocations: 43.69 kB / 0.6169 GB, free: 11.07 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003765/0.4064, allocations: 143.9 kB / 0.617 GB, free: 10.93 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003507/0.4099, allocations: 2.04 MB / 0.619 GB, free: 8.887 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01876/0.4287, allocations: 9.347 MB / 0.6281 GB, free: 15.52 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04875/0.4774, allocations: 37.8 MB / 0.6651 GB, free: 8.684 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01109/0.4885, allocations: 3.599 MB / 0.6686 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003297/0.4918, allocations: 2.086 MB / 0.6706 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01041/0.5022, allocations: 5.129 MB / 0.6756 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.069e-05/0.5023, allocations: 51.88 kB / 0.6757 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=181): time 5.71e-06/0.5023, allocations: 0 / 0.6757 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of matching and sorting (n=210): time 0.06807/0.5704, allocations: 21.85 MB / 0.697 GB, free: 7.789 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001033/0.5705, allocations: 157.8 kB / 0.6972 GB, free: 7.605 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005754/0.5762, allocations: 3.379 MB / 0.7005 GB, free: 4.219 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.000396/0.5766, allocations: 53.7 kB / 0.7005 GB, free: 4.16 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002549/0.5792, allocations: 2.92 MB / 0.7034 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001208/0.5804, allocations: 0.8217 MB / 0.7042 GB, free: 392 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002416/0.5828, allocations: 1.207 MB / 0.7053 GB, free: 15.16 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001273/0.5829, allocations: 304.9 kB / 0.7056 GB, free: 14.86 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004051/0.587, allocations: 2.346 MB / 0.7079 GB, free: 12.51 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007003/0.594, allocations: 5.788 MB / 0.7136 GB, free: 5.004 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01189/0.6059, allocations: 8.824 MB / 0.7222 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001191/0.606, allocations: 32 kB / 0.7222 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01757/0.6235, allocations: 8.701 MB / 0.7307 GB, free: 1.723 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001068/0.6236, allocations: 56 kB / 0.7308 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000159/0.6238, allocations: 124 kB / 0.7309 GB, free: 1.547 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002981/0.6268, allocations: 1.034 MB / 0.7319 GB, free: 0.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2683/0.8951, allocations: 1.377 MB / 0.7332 GB, free: 153.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005171/0.9002, allocations: 5.615 MB / 0.7387 GB, free: 150.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003997/0.9042, allocations: 327.7 kB / 0.739 GB, free: 150 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004561/0.9047, allocations: 358 kB / 0.7394 GB, free: 150 MB / 0.5606 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.002394/0.9071, allocations: 1.957 MB / 0.7413 GB, free: 149.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004462/0.9075, allocations: 325.6 kB / 0.7416 GB, free: 149.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005914/0.9134, allocations: 3.943 MB / 0.7455 GB, free: 147.6 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.591e-05/0.9135, allocations: 23.5 kB / 0.7455 GB, free: 147.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.064e-05/0.9135, allocations: 3.938 kB / 0.7455 GB, free: 147.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.585e-05/0.9135, allocations: 7.5 kB / 0.7455 GB, free: 147.6 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0114/0.9249, allocations: 8.768 MB / 0.754 GB, free: 144.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.225e-06/0.9249, allocations: 0 / 0.754 GB, free: 144.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001505/0.9264, allocations: 357.4 kB / 0.7544 GB, free: 144.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002162/0.9286, allocations: 0.8724 MB / 0.7552 GB, free: 143.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001321/0.9287, allocations: 32 kB / 0.7553 GB, free: 143.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003585/0.9323, allocations: 4.925 MB / 0.7601 GB, free: 139.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.9323, allocations: 7.875 kB / 0.7601 GB, free: 139.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007696/0.94, allocations: 6.904 MB / 0.7668 GB, free: 132.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005854/0.9406, allocations: 307.5 kB / 0.7671 GB, free: 132.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004865/0.941, allocations: 32 kB / 0.7672 GB, free: 132.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001462/0.9425, allocations: 123.8 kB / 0.7673 GB, free: 132.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002545/0.9428, allocations: 125 kB / 0.7674 GB, free: 132 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001322/0.9429, allocations: 59.38 kB / 0.7674 GB, free: 131.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002777/0.9457, allocations: 2.073 MB / 0.7695 GB, free: 129.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9457, allocations: 0 / 0.7695 GB, free: 129.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003858/0.9495, allocations: 0.9568 MB / 0.7704 GB, free: 128.9 MB / 0.5606 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.0003764/0.9499, allocations: 165.5 kB / 0.7706 GB, free: 128.7 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007733/0.9576, allocations: 5.769 MB / 0.7762 GB, free: 123 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.9576, allocations: 4 kB / 0.7762 GB, free: 123 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003204/0.9608, allocations: 2.188 MB / 0.7783 GB, free: 120.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001972/0.9628, allocations: 360.9 kB / 0.7787 GB, free: 120.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01274/0.9756, allocations: 9.25 MB / 0.7877 GB, free: 111.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003031/0.9786, allocations: 3.021 MB / 0.7907 GB, free: 108.1 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003644/0.9822, allocations: 1.857 MB / 0.7925 GB, free: 106.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008479/0.9831, allocations: 235.4 kB / 0.7927 GB, free: 106 MB / 0.5606 GB Notification: Performance of SimCode: time 8.41e-07/0.9831, allocations: 0 / 0.7927 GB, free: 106 MB / 0.5606 GB Notification: Performance of Templates: time 0.0582/1.041, allocations: 38.5 MB / 0.8303 GB, free: 67.8 MB / 0.5606 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/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_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: 7.104085875675082]