Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001249/0.001249, 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.007295/0.007295, allocations: 160.7 kB / 24.7 MB, free: 9.43 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.8833/0.8833, allocations: 177.2 MB / 205 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2437/0.2437, allocations: 34.26 MB / 295.7 MB, free: 0.6875 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 3.938 kB / 443.4 MB, free: 1.152 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.06e-05/3.223e-05, allocations: 2.844 kB / 443.4 MB, free: 1.148 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.1714/0.1715, allocations: 9.242 MB / 452.7 MB, free: 39.29 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004548/0.176, allocations: 3.102 MB / 455.8 MB, free: 37.3 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001064/0.1771, allocations: 61.25 kB / 455.9 MB, free: 37.28 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002228/0.1793, allocations: 2.428 MB / 458.3 MB, free: 36.23 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00201/0.1813, allocations: 1.3 MB / 459.6 MB, free: 35.55 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008317/0.1821, allocations: 0.5336 MB / 460.1 MB, free: 35.28 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002353/0.1845, allocations: 2.999 MB / 463.1 MB, free: 33.97 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001824/0.1863, allocations: 2.461 MB / 465.6 MB, free: 32.81 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001585/0.1879, allocations: 1.902 MB / 467.5 MB, free: 31.97 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001318/0.1892, allocations: 1.662 MB / 469.1 MB, free: 31.48 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003/0.1895, allocations: 292.2 kB / 469.4 MB, free: 31.48 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001052/0.1906, allocations: 0.9497 MB / 470.4 MB, free: 31.3 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007273/0.1913, allocations: 1.672 MB / 472 MB, free: 30.56 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007425/0.192, allocations: 1.101 MB / 473.1 MB, free: 30.01 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004062/0.1961, allocations: 6.231 MB / 479.4 MB, free: 27.79 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1961, allocations: 0 / 479.4 MB, free: 27.79 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1961, allocations: 0 / 479.4 MB, free: 27.79 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000148/0.1962, allocations: 4 kB / 479.4 MB, free: 27.78 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.006032/0.2023, allocations: 4.232 MB / 483.6 MB, free: 25.32 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.2023, allocations: 14.19 kB / 483.6 MB, free: 25.32 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003725/0.206, allocations: 1.843 MB / 485.5 MB, free: 24.98 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003695/0.2097, allocations: 1.728 MB / 487.2 MB, free: 24.02 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001668/0.2099, allocations: 225.3 kB / 487.4 MB, free: 23.91 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007624/0.2107, allocations: 299.9 kB / 487.7 MB, free: 23.8 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01625/0.2269, allocations: 10.72 MB / 498.4 MB, free: 19.25 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001365/0.2271, allocations: 35.05 kB / 498.5 MB, free: 19.23 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003032/0.2274, allocations: 142.3 kB / 498.6 MB, free: 19.13 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002446/0.2298, allocations: 2.046 MB / 0.4889 GB, free: 18.75 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01323/0.243, allocations: 9.341 MB / 0.498 GB, free: 13.35 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03085/0.2739, allocations: 35.44 MB / 0.5326 GB, free: 8.973 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006633/0.2805, allocations: 3.733 MB / 0.5363 GB, free: 5.191 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001947/0.2825, allocations: 2.095 MB / 0.5383 GB, free: 3.082 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005531/0.288, allocations: 4.658 MB / 0.5429 GB, free: 14.39 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.323e-05/0.288, allocations: 51.88 kB / 0.5429 GB, free: 14.33 MB / 458.7 MB Notification: Performance of pre-optimization done (n=181): time 4.599e-06/0.288, allocations: 0 / 0.5429 GB, free: 14.33 MB / 458.7 MB Notification: Performance of matching and sorting (n=210): time 0.03616/0.3242, allocations: 22.42 MB / 0.5648 GB, free: 7.855 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.173e-05/0.3243, allocations: 157.8 kB / 0.565 GB, free: 7.672 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003008/0.3273, allocations: 3.079 MB / 0.568 GB, free: 4.578 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002301/0.3275, allocations: 53.7 kB / 0.568 GB, free: 4.52 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001261/0.3288, allocations: 2.926 MB / 0.5709 GB, free: 1.566 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008456/0.3296, allocations: 0.8177 MB / 0.5717 GB, free: 0.7422 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001138/0.3308, allocations: 1.183 MB / 0.5728 GB, free: 15.55 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001023/0.3309, allocations: 357.9 kB / 0.5732 GB, free: 15.19 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002335/0.3332, allocations: 2.342 MB / 0.5755 GB, free: 12.84 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004069/0.3373, allocations: 5.792 MB / 0.5811 GB, free: 5.332 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007736/0.345, allocations: 8.817 MB / 0.5897 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.247e-05/0.3451, allocations: 36 kB / 0.5898 GB, free: 10.78 MB / 0.4948 GB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01154/0.3566, allocations: 8.662 MB / 0.5982 GB, free: 2.105 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 6.384e-05/0.3567, allocations: 59.94 kB / 0.5983 GB, free: 2.047 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001042/0.3568, allocations: 120 kB / 0.5984 GB, free: 1.93 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001589/0.3584, allocations: 1.039 MB / 0.5994 GB, free: 0.8789 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002924/0.3613, allocations: 1.384 MB / 0.6008 GB, free: 15.49 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00436/0.3657, allocations: 5.52 MB / 0.6062 GB, free: 9.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003119/0.3688, allocations: 331.6 kB / 0.6065 GB, free: 9.445 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000673/0.3695, allocations: 363.9 kB / 0.6068 GB, free: 9.09 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.002779/0.3722, allocations: 1.939 MB / 0.6087 GB, free: 7.137 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004123/0.3727, allocations: 282.1 kB / 0.609 GB, free: 6.859 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004635/0.3773, allocations: 3.916 MB / 0.6128 GB, free: 2.914 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-05/0.3773, allocations: 24 kB / 0.6128 GB, free: 2.891 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-05/0.3773, allocations: 11.88 kB / 0.6128 GB, free: 2.879 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.511e-05/0.3774, allocations: 7.969 kB / 0.6129 GB, free: 2.871 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01098/0.3883, allocations: 7.651 MB / 0.6203 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.428e-05/0.3883, allocations: 7.922 kB / 0.6203 GB, free: 11.13 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001041/0.3894, allocations: 351.5 kB / 0.6207 GB, free: 10.79 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001378/0.3908, allocations: 0.8774 MB / 0.6215 GB, free: 9.898 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001829/0.3909, allocations: 39.98 kB / 0.6216 GB, free: 9.859 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003648/0.3946, allocations: 4.838 MB / 0.6263 GB, free: 4.816 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.3946, allocations: 4 kB / 0.6263 GB, free: 4.812 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1855/0.5801, allocations: 6.872 MB / 0.633 GB, free: 150.8 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006207/0.5807, allocations: 248.1 kB / 0.6332 GB, free: 150.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004806/0.5812, allocations: 31.75 kB / 0.6333 GB, free: 150.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008118/0.582, allocations: 120.6 kB / 0.6334 GB, free: 150.8 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002241/0.5822, allocations: 124.5 kB / 0.6335 GB, free: 150.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.779e-05/0.5823, allocations: 54.95 kB / 0.6336 GB, free: 150.8 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001778/0.5841, allocations: 1.726 MB / 0.6352 GB, free: 150.4 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.1e-07/0.5841, allocations: 0 / 0.6352 GB, free: 150.4 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002956/0.587, allocations: 0.9475 MB / 0.6362 GB, free: 150.3 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.0004118/0.5875, allocations: 172.9 kB / 0.6363 GB, free: 150.2 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005779/0.5932, allocations: 5.765 MB / 0.642 GB, free: 148.1 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.5932, allocations: 3.125 kB / 0.642 GB, free: 148.1 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002129/0.5954, allocations: 2.198 MB / 0.6441 GB, free: 147.3 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001283/0.5966, allocations: 289 kB / 0.6444 GB, free: 147.1 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01003/0.6067, allocations: 9.449 MB / 0.6536 GB, free: 143 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002349/0.609, allocations: 2.476 MB / 0.656 GB, free: 142.3 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009632/0.61, allocations: 269.5 kB / 0.6563 GB, free: 142.3 MB / 0.5261 GB Notification: Performance of SimCode: time 1.252e-06/0.61, allocations: 1.125 kB / 0.6563 GB, free: 142.3 MB / 0.5261 GB Notification: Performance of Templates: time 0.08474/0.6947, allocations: 124.4 MB / 0.7778 GB, free: 41.86 MB / 0.5261 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.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.020858138799667]