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.001341/0.001341, allocations: 81.78 kB / 21.25 MB, free: 0.5469 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.001484/0.001484, allocations: 162.6 kB / 24.5 MB, free: 3.715 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.475/1.475, allocations: 177.1 MB / 204.7 MB, free: 8.973 MB / 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.2248/0.2248, allocations: 34.26 MB / 295.4 MB, free: 14.48 MB / 286.1 MB " [Timeout remaining time 179] 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.002571/0.002571, allocations: 79.88 kB / 443.2 MB, free: 6.492 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3301/0.3326, allocations: 66.06 MB / 0.4973 GB, free: 29.78 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.009066/0.3417, allocations: 9.248 MB / 0.5063 GB, free: 23.75 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006381/0.3481, allocations: 3.107 MB / 0.5093 GB, free: 21.73 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002037/0.3501, allocations: 59.94 kB / 0.5094 GB, free: 21.71 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004035/0.3541, allocations: 2.318 MB / 0.5117 GB, free: 20.71 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003721/0.3579, allocations: 1.255 MB / 0.5129 GB, free: 20.07 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001523/0.3594, allocations: 0.5207 MB / 0.5134 GB, free: 19.8 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00477/0.3642, allocations: 2.918 MB / 0.5162 GB, free: 18.57 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003242/0.3674, allocations: 2.434 MB / 0.5186 GB, free: 17.43 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002292/0.3697, allocations: 1.29 MB / 0.5199 GB, free: 16.86 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003195/0.3729, allocations: 1.728 MB / 0.5216 GB, free: 16.25 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007602/0.3736, allocations: 294.3 kB / 0.5219 GB, free: 16.25 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002197/0.3758, allocations: 0.9034 MB / 0.5227 GB, free: 16.08 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001848/0.3777, allocations: 1.624 MB / 0.5243 GB, free: 15.42 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001919/0.3796, allocations: 1.437 MB / 0.5257 GB, free: 14.52 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009369/0.389, allocations: 6.281 MB / 0.5319 GB, free: 11.99 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.389, allocations: 1.156 kB / 0.5319 GB, free: 11.99 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.235e-06/0.389, allocations: 0 / 0.5319 GB, free: 11.99 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002114/0.3892, allocations: 7.875 kB / 0.5319 GB, free: 11.98 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.01164/0.4008, allocations: 4.28 MB / 0.536 GB, free: 8.953 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.4009, allocations: 9.094 kB / 0.5361 GB, free: 8.953 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006577/0.4075, allocations: 1.884 MB / 0.5379 GB, free: 7.949 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005097/0.4126, allocations: 1.729 MB / 0.5396 GB, free: 6.812 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002273/0.4128, allocations: 235.6 kB / 0.5398 GB, free: 6.695 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001013/0.4138, allocations: 304 kB / 0.5401 GB, free: 6.586 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02482/0.4386, allocations: 10.7 MB / 0.5505 GB, free: 14.16 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002627/0.4389, allocations: 39.67 kB / 0.5506 GB, free: 14.12 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00153/0.4404, allocations: 139.9 kB / 0.5507 GB, free: 13.99 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004311/0.4447, allocations: 2.044 MB / 0.5527 GB, free: 11.94 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02416/0.4689, allocations: 9.305 MB / 0.5618 GB, free: 2.613 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05703/0.5259, allocations: 35.5 MB / 0.5965 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0121/0.538, allocations: 3.745 MB / 0.6001 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003359/0.5414, allocations: 2.086 MB / 0.6022 GB, free: 8.223 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01002/0.5514, allocations: 4.65 MB / 0.6067 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.034e-05/0.5514, allocations: 55.81 kB / 0.6068 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=181): time 6.402e-06/0.5514, allocations: 0 / 0.6068 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of matching and sorting (n=210): time 0.07616/0.6276, allocations: 22.43 MB / 0.6287 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000152/0.6278, allocations: 149.8 kB / 0.6288 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008404/0.6362, allocations: 3.087 MB / 0.6318 GB, free: 9.711 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0006496/0.6368, allocations: 53.7 kB / 0.6319 GB, free: 9.652 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003698/0.6405, allocations: 2.95 MB / 0.6347 GB, free: 6.672 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001816/0.6423, allocations: 0.8371 MB / 0.6356 GB, free: 5.828 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004504/0.6468, allocations: 1.203 MB / 0.6367 GB, free: 4.613 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002863/0.6471, allocations: 357.9 kB / 0.6371 GB, free: 4.258 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006614/0.6537, allocations: 2.342 MB / 0.6394 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01091/0.6646, allocations: 5.793 MB / 0.645 GB, free: 10.4 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0164/0.681, allocations: 8.828 MB / 0.6536 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001389/0.6812, allocations: 32 kB / 0.6537 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01972/0.7009, allocations: 8.666 MB / 0.6621 GB, free: 7.148 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001048/0.701, allocations: 56 kB / 0.6622 GB, free: 7.094 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001607/0.7012, allocations: 124 kB / 0.6623 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003136/0.7043, allocations: 1.034 MB / 0.6633 GB, free: 5.926 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00644/0.7107, allocations: 1.384 MB / 0.6647 GB, free: 4.539 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007455/0.7182, allocations: 5.526 MB / 0.6701 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005251/0.7235, allocations: 331.6 kB / 0.6704 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001555/0.725, allocations: 356 kB / 0.6707 GB, free: 14.14 MB / 0.5762 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.005424/0.7304, allocations: 1.947 MB / 0.6726 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00102/0.7315, allocations: 286.1 kB / 0.6729 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009011/0.7405, allocations: 3.904 MB / 0.6767 GB, free: 7.965 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.748e-05/0.7405, allocations: 24 kB / 0.6767 GB, free: 7.941 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.821e-05/0.7405, allocations: 4 kB / 0.6767 GB, free: 7.938 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-05/0.7406, allocations: 15.94 kB / 0.6768 GB, free: 7.922 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01815/0.7587, allocations: 7.663 MB / 0.6842 GB, free: 188 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.625e-05/0.7587, allocations: 0 / 0.6842 GB, free: 188 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001972/0.7607, allocations: 351.5 kB / 0.6846 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002724/0.7634, allocations: 0.8739 MB / 0.6854 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002874/0.7637, allocations: 32 kB / 0.6855 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005882/0.7696, allocations: 4.85 MB / 0.6902 GB, free: 9.867 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.7696, allocations: 0 / 0.6902 GB, free: 9.867 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01348/0.7831, allocations: 6.87 MB / 0.6969 GB, free: 2.961 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009946/0.7841, allocations: 245.9 kB / 0.6971 GB, free: 2.719 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001042/0.7851, allocations: 39.92 kB / 0.6972 GB, free: 2.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002038/0.7872, allocations: 123.8 kB / 0.6973 GB, free: 2.559 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004591/0.7876, allocations: 133.1 kB / 0.6974 GB, free: 2.426 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002447/0.7879, allocations: 55.98 kB / 0.6975 GB, free: 2.371 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.003966/0.7918, allocations: 1.717 MB / 0.6991 GB, free: 0.6484 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.7918, allocations: 0 / 0.6991 GB, free: 0.6484 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.2897/1.081, allocations: 0.9443 MB / 0.7001 GB, free: 166.6 MB / 0.5919 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.0008365/1.082, allocations: 168.2 kB / 0.7002 GB, free: 166.6 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01069/1.093, allocations: 5.767 MB / 0.7059 GB, free: 165.4 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/1.093, allocations: 0 / 0.7059 GB, free: 165.4 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.003525/1.097, allocations: 2.191 MB / 0.708 GB, free: 164.5 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001835/1.098, allocations: 285 kB / 0.7083 GB, free: 164.3 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01462/1.113, allocations: 9.193 MB / 0.7173 GB, free: 160.3 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003595/1.117, allocations: 2.473 MB / 0.7197 GB, free: 159.6 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.005126/1.122, allocations: 1.811 MB / 0.7214 GB, free: 159.5 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009029/1.123, allocations: 223.2 kB / 0.7216 GB, free: 159.5 MB / 0.5919 GB Notification: Performance of SimCode: time 1.282e-06/1.123, allocations: 0 / 0.7216 GB, free: 159.5 MB / 0.5919 GB Notification: Performance of Templates: time 0.06014/1.183, allocations: 29.78 MB / 0.7507 GB, free: 149.2 MB / 0.5919 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 -s ida -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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/SpringDamperSeries/SpringDamperSeries.csv","/var/lib/jenkins1/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.266754678916186]