Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0008021/0.0008021, allocations: 84.44 kB / 20.69 MB, free: 3.871 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.0007608/0.0007608, allocations: 173.9 kB / 23.96 MB, free: 0.5977 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.7709/0.7709, allocations: 158.6 MB / 185.7 MB, free: 3.039 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1257/0.1257, allocations: 32.37 MB / 270.4 MB, free: 14.96 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 408.1 MB, free: 1.727 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.057e-05/2.238e-05, allocations: 6.078 kB / 408.1 MB, free: 1.723 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.007121/0.007143, allocations: 9.298 MB / 417.4 MB, free: 8.375 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.004529/0.01167, allocations: 3.112 MB / 420.5 MB, free: 5.254 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00064/0.01231, allocations: 59.75 kB / 420.6 MB, free: 5.195 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002476/0.01479, allocations: 2.421 MB / 423 MB, free: 2.766 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001426/0.01621, allocations: 1.309 MB / 424.3 MB, free: 1.449 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006145/0.01683, allocations: 0.5377 MB / 424.9 MB, free: 0.9102 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.001817/0.01864, allocations: 3.056 MB / 427.9 MB, free: 13.84 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00181/0.02045, allocations: 2.465 MB / 430.4 MB, free: 11.32 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001231/0.02169, allocations: 1.937 MB / 432.3 MB, free: 9.383 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001507/0.02319, allocations: 1.664 MB / 434 MB, free: 7.715 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003545/0.02355, allocations: 296 kB / 434.3 MB, free: 7.426 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001117/0.02466, allocations: 0.9361 MB / 435.2 MB, free: 6.488 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001205/0.02587, allocations: 1.687 MB / 436.9 MB, free: 4.797 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007492/0.02662, allocations: 1.125 MB / 438 MB, free: 3.668 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004185/0.0308, allocations: 6.265 MB / 444.3 MB, free: 13.38 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.03081, allocations: 0 / 444.3 MB, free: 13.38 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.03081, allocations: 0 / 444.3 MB, free: 13.38 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.774e-05/0.03085, allocations: 0 / 444.3 MB, free: 13.38 MB / 426.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.003841/0.03469, allocations: 4.256 MB / 448.5 MB, free: 9.07 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.03473, allocations: 8.031 kB / 448.5 MB, free: 9.062 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003176/0.0379, allocations: 1.858 MB / 450.4 MB, free: 7.199 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001747/0.03965, allocations: 1.72 MB / 452.1 MB, free: 5.449 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001004/0.03975, allocations: 226.2 kB / 452.3 MB, free: 5.227 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000316/0.04007, allocations: 304.2 kB / 452.6 MB, free: 4.93 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009649/0.04972, allocations: 10.7 MB / 463.3 MB, free: 9.594 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.975e-05/0.04978, allocations: 35.7 kB / 463.4 MB, free: 9.559 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002393/0.05001, allocations: 147.8 kB / 463.5 MB, free: 9.414 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001999/0.05201, allocations: 2.044 MB / 465.6 MB, free: 7.363 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1789/0.2309, allocations: 9.3 MB / 474.9 MB, free: 93.13 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02213/0.253, allocations: 35.43 MB / 0.4983 GB, free: 68.76 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005174/0.2582, allocations: 3.716 MB / 0.502 GB, free: 67.73 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001791/0.26, allocations: 2.084 MB / 0.504 GB, free: 66.92 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004443/0.2644, allocations: 4.638 MB / 0.5085 GB, free: 64.63 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.221e-05/0.2645, allocations: 55.83 kB / 0.5086 GB, free: 64.58 MB / 442.7 MB Notification: Performance of pre-optimization done (n=181): time 3.988e-06/0.2645, allocations: 0.6875 kB / 0.5086 GB, free: 64.58 MB / 442.7 MB Notification: Performance of matching and sorting (n=210): time 0.03288/0.2974, allocations: 22.37 MB / 0.5304 GB, free: 54.16 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.29e-05/0.2974, allocations: 149.8 kB / 0.5306 GB, free: 53.98 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002058/0.2995, allocations: 3.102 MB / 0.5336 GB, free: 50.98 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.611e-05/0.2996, allocations: 57.7 kB / 0.5337 GB, free: 50.92 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006418/0.3002, allocations: 2.924 MB / 0.5365 GB, free: 48.01 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002903/0.3005, allocations: 0.814 MB / 0.5373 GB, free: 47.2 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008224/0.3013, allocations: 1.185 MB / 0.5385 GB, free: 46.01 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 5.151e-05/0.3014, allocations: 357.9 kB / 0.5388 GB, free: 45.65 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001727/0.3031, allocations: 2.327 MB / 0.5411 GB, free: 43.32 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002447/0.3055, allocations: 5.785 MB / 0.5467 GB, free: 35.82 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004824/0.3104, allocations: 8.802 MB / 0.5553 GB, free: 25.31 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.702e-05/0.3104, allocations: 36 kB / 0.5554 GB, free: 25.28 MB / 442.7 MB Notification: Performance of matching and sorting (n=775) (initialization): time 0.006833/0.3172, allocations: 8.647 MB / 0.5638 GB, free: 16.61 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.976e-05/0.3173, allocations: 59.09 kB / 0.5639 GB, free: 16.56 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.691e-05/0.3173, allocations: 120 kB / 0.564 GB, free: 16.44 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001249/0.3186, allocations: 1.041 MB / 0.565 GB, free: 15.39 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001921/0.3205, allocations: 1.376 MB / 0.5663 GB, free: 14.01 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002778/0.3232, allocations: 5.529 MB / 0.5717 GB, free: 8.289 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001717/0.325, allocations: 323.6 kB / 0.572 GB, free: 7.973 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002328/0.3252, allocations: 354.2 kB / 0.5724 GB, free: 7.629 MB / 442.7 MB 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.001733/0.3269, allocations: 1.947 MB / 0.5743 GB, free: 5.668 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000216/0.3271, allocations: 286.1 kB / 0.5746 GB, free: 5.387 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003377/0.3305, allocations: 3.901 MB / 0.5784 GB, free: 1.461 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.456e-05/0.3305, allocations: 23.75 kB / 0.5784 GB, free: 1.441 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/0.3305, allocations: 8 kB / 0.5784 GB, free: 1.434 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.749e-06/0.3306, allocations: 11.97 kB / 0.5784 GB, free: 1.422 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008246/0.3388, allocations: 7.654 MB / 0.5859 GB, free: 9.742 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.3388, allocations: 0 / 0.5859 GB, free: 9.742 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008326/0.3396, allocations: 355.4 kB / 0.5862 GB, free: 9.395 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001274/0.3409, allocations: 0.8657 MB / 0.5871 GB, free: 8.516 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.251e-05/0.341, allocations: 32 kB / 0.5871 GB, free: 8.484 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003109/0.3441, allocations: 4.851 MB / 0.5918 GB, free: 3.441 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.3441, allocations: 128 / 0.5918 GB, free: 3.441 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006381/0.3505, allocations: 6.847 MB / 0.5985 GB, free: 12.56 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008363/0.3513, allocations: 0.572 MB / 0.5991 GB, free: 11.99 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001832/0.3515, allocations: 35.98 kB / 0.5991 GB, free: 11.95 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000668/0.3522, allocations: 115.8 kB / 0.5992 GB, free: 11.84 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002066/0.3524, allocations: 125 kB / 0.5993 GB, free: 11.72 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.821e-05/0.3525, allocations: 52 kB / 0.5994 GB, free: 11.67 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001912/0.3544, allocations: 1.737 MB / 0.6011 GB, free: 9.926 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.11e-07/0.3544, allocations: 4 kB / 0.6011 GB, free: 9.922 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00277/0.3572, allocations: 0.9605 MB / 0.602 GB, free: 8.965 MB / 474.7 MB 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.0003459/0.3575, allocations: 166.8 kB / 0.6022 GB, free: 8.789 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.005882/0.3634, allocations: 5.743 MB / 0.6078 GB, free: 3.047 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.3634, allocations: 0 / 0.6078 GB, free: 3.047 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002448/0.3658, allocations: 2.19 MB / 0.6099 GB, free: 0.8281 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00105/0.3669, allocations: 290 kB / 0.6102 GB, free: 0.5508 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01094/0.3778, allocations: 9.453 MB / 0.6194 GB, free: 7.055 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002174/0.38, allocations: 2.483 MB / 0.6219 GB, free: 4.543 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001204/0.3812, allocations: 268.4 kB / 0.6221 GB, free: 4.281 MB / 490.7 MB Notification: Performance of SimCode: time 1.382e-06/0.3812, allocations: 0 / 0.6221 GB, free: 4.281 MB / 490.7 MB Notification: Performance of Templates: time 0.2651/0.6464, allocations: 124.7 MB / 0.7439 GB, free: 102 MB / 0.5105 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/SpringDamperSeries/SpringDamperSeries.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.726920244283974]