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.0008565/0.0008565, allocations: 88.28 kB / 21.44 MB, free: 3.129 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.00363/0.00363, allocations: 157.7 kB / 24.7 MB, free: 8.891 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 0.8444/0.8444, allocations: 177 MB / 204.9 MB, free: 5.73 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.2456/0.2456, allocations: 34.24 MB / 295.6 MB, free: 0.6641 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.463e-06/1.463e-06, allocations: 0 / 443.4 MB, free: 1.039 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.659e-05/2.805e-05, allocations: 4.812 kB / 443.4 MB, free: 1.035 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.1782/0.1783, allocations: 9.24 MB / 452.7 MB, free: 39.15 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004447/0.1827, allocations: 3.103 MB / 455.8 MB, free: 37.16 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009948/0.1837, allocations: 62.88 kB / 455.8 MB, free: 37.14 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002147/0.1858, allocations: 2.42 MB / 458.3 MB, free: 36.1 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002057/0.1879, allocations: 1.303 MB / 459.6 MB, free: 35.42 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008529/0.1888, allocations: 0.5383 MB / 460.1 MB, free: 35.14 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002263/0.191, allocations: 2.997 MB / 463.1 MB, free: 33.84 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002009/0.193, allocations: 2.453 MB / 465.5 MB, free: 32.68 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001874/0.1949, allocations: 1.898 MB / 467.4 MB, free: 31.84 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001432/0.1963, allocations: 1.657 MB / 469.1 MB, free: 31.36 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003515/0.1967, allocations: 294.2 kB / 469.4 MB, free: 31.36 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00109/0.1978, allocations: 0.97 MB / 470.4 MB, free: 31.17 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007626/0.1985, allocations: 1.665 MB / 472 MB, free: 30.43 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007409/0.1993, allocations: 1.097 MB / 473.1 MB, free: 29.88 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004126/0.2034, allocations: 6.232 MB / 479.3 MB, free: 27.66 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.2034, allocations: 0 / 479.3 MB, free: 27.66 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2034, allocations: 0 / 479.3 MB, free: 27.66 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001552/0.2036, allocations: 0.8438 kB / 479.3 MB, free: 27.66 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.00696/0.2105, allocations: 4.228 MB / 483.6 MB, free: 25.2 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.087e-05/0.2106, allocations: 9.906 kB / 483.6 MB, free: 25.2 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005152/0.2157, allocations: 1.85 MB / 485.4 MB, free: 24.85 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003853/0.2196, allocations: 1.722 MB / 487.2 MB, free: 23.89 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001902/0.2198, allocations: 224.2 kB / 487.4 MB, free: 23.79 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009207/0.2207, allocations: 304.9 kB / 487.7 MB, free: 23.68 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0187/0.2394, allocations: 10.71 MB / 498.4 MB, free: 19.12 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000175/0.2396, allocations: 44.36 kB / 498.4 MB, free: 19.1 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005492/0.2401, allocations: 142.2 kB / 498.6 MB, free: 19 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002817/0.2429, allocations: 2.048 MB / 0.4889 GB, free: 18.62 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01479/0.2577, allocations: 9.341 MB / 0.498 GB, free: 13.21 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03237/0.2901, allocations: 35.43 MB / 0.5326 GB, free: 8.844 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006498/0.2966, allocations: 3.749 MB / 0.5363 GB, free: 5.043 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002455/0.299, allocations: 2.091 MB / 0.5383 GB, free: 2.934 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005777/0.3048, allocations: 4.654 MB / 0.5429 GB, free: 14.25 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.949e-05/0.3049, allocations: 55.81 kB / 0.5429 GB, free: 14.18 MB / 458.7 MB Notification: Performance of pre-optimization done (n=181): time 4.899e-06/0.3049, allocations: 0 / 0.5429 GB, free: 14.18 MB / 458.7 MB Notification: Performance of matching and sorting (n=210): time 0.03715/0.342, allocations: 22.42 MB / 0.5648 GB, free: 7.703 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.843e-05/0.3421, allocations: 153.8 kB / 0.565 GB, free: 7.523 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003354/0.3454, allocations: 3.083 MB / 0.568 GB, free: 4.426 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003701/0.3458, allocations: 57.7 kB / 0.568 GB, free: 4.363 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001252/0.3471, allocations: 2.915 MB / 0.5709 GB, free: 1.422 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007092/0.3478, allocations: 0.8216 MB / 0.5717 GB, free: 0.5938 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001182/0.3489, allocations: 1.183 MB / 0.5728 GB, free: 15.4 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.3491, allocations: 357.9 kB / 0.5732 GB, free: 15.04 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002529/0.3516, allocations: 2.346 MB / 0.5755 GB, free: 12.69 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004231/0.3558, allocations: 5.796 MB / 0.5811 GB, free: 5.176 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008335/0.3642, allocations: 8.811 MB / 0.5897 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.393e-05/0.3643, allocations: 36 kB / 0.5898 GB, free: 10.63 MB / 0.4948 GB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01159/0.3758, allocations: 8.663 MB / 0.5982 GB, free: 1.949 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.082e-05/0.3759, allocations: 56 kB / 0.5983 GB, free: 1.895 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001051/0.376, allocations: 121.6 kB / 0.5984 GB, free: 1.777 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001552/0.3776, allocations: 1.041 MB / 0.5994 GB, free: 0.7227 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002878/0.3804, allocations: 1.384 MB / 0.6008 GB, free: 15.34 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004177/0.3846, allocations: 5.527 MB / 0.6062 GB, free: 9.605 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002957/0.3876, allocations: 331.6 kB / 0.6065 GB, free: 9.281 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006693/0.3883, allocations: 360 kB / 0.6068 GB, free: 8.93 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.002731/0.391, allocations: 1.935 MB / 0.6087 GB, free: 6.98 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004292/0.3914, allocations: 286.1 kB / 0.609 GB, free: 6.699 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004726/0.3961, allocations: 3.912 MB / 0.6128 GB, free: 2.762 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.757e-05/0.3962, allocations: 24 kB / 0.6128 GB, free: 2.738 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.382e-05/0.3962, allocations: 8.312 kB / 0.6128 GB, free: 2.73 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.791e-05/0.3962, allocations: 11.95 kB / 0.6128 GB, free: 2.719 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01012/0.4063, allocations: 7.647 MB / 0.6203 GB, free: 10.99 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.111e-05/0.4063, allocations: 3.938 kB / 0.6203 GB, free: 10.99 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000986/0.4073, allocations: 359.4 kB / 0.6207 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001366/0.4087, allocations: 0.8837 MB / 0.6215 GB, free: 9.742 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001622/0.4088, allocations: 32 kB / 0.6215 GB, free: 9.711 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003569/0.4124, allocations: 4.842 MB / 0.6263 GB, free: 4.66 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.4124, allocations: 0 / 0.6263 GB, free: 4.66 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1788/0.5912, allocations: 6.87 MB / 0.633 GB, free: 150.8 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005942/0.5918, allocations: 245.1 kB / 0.6332 GB, free: 150.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003615/0.5922, allocations: 34.22 kB / 0.6332 GB, free: 150.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007768/0.5929, allocations: 124 kB / 0.6334 GB, free: 150.8 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002081/0.5932, allocations: 121.7 kB / 0.6335 GB, free: 150.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.995e-05/0.5932, allocations: 52.16 kB / 0.6335 GB, free: 150.8 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001655/0.5949, allocations: 1.726 MB / 0.6352 GB, free: 150.3 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5949, allocations: 0 / 0.6352 GB, free: 150.3 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00306/0.598, allocations: 0.9512 MB / 0.6361 GB, free: 150.2 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.0003819/0.5983, allocations: 170.8 kB / 0.6363 GB, free: 150.1 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005648/0.604, allocations: 5.773 MB / 0.6419 GB, free: 148.1 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.604, allocations: 0 / 0.6419 GB, free: 148.1 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002071/0.6061, allocations: 2.192 MB / 0.6441 GB, free: 147.2 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001313/0.6074, allocations: 291.7 kB / 0.6444 GB, free: 147 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01022/0.6176, allocations: 9.441 MB / 0.6536 GB, free: 142.9 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002468/0.6201, allocations: 2.484 MB / 0.656 GB, free: 142.2 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009644/0.621, allocations: 264.1 kB / 0.6563 GB, free: 142.2 MB / 0.5261 GB Notification: Performance of SimCode: time 1.543e-06/0.621, allocations: 3.828 kB / 0.6563 GB, free: 142.2 MB / 0.5261 GB Notification: Performance of Templates: time 0.08925/0.7103, allocations: 124.4 MB / 0.7778 GB, free: 41.65 MB / 0.5261 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.1.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: 8.492320627905428]