Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001921/0.001921, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.00201/0.00201, allocations: 169.3 kB / 24.28 MB, free: 152 kB / 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 1.615/1.615, allocations: 177.1 MB / 204.6 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3316/0.3316, allocations: 32.8 MB / 293.9 MB, free: 1.211 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 375.3 MB, free: 4.992 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.667e-05/2.835e-05, allocations: 2.312 kB / 375.3 MB, free: 4.988 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.01453/0.01455, allocations: 10.15 MB / 385.4 MB, free: 10.79 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007293/0.02185, allocations: 3.158 MB / 388.6 MB, free: 7.617 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001017/0.02286, allocations: 63.69 kB / 388.6 MB, free: 7.555 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005277/0.02814, allocations: 2.538 MB / 391.2 MB, free: 5.008 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002994/0.03114, allocations: 1.306 MB / 392.5 MB, free: 3.695 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001502/0.03264, allocations: 0.5377 MB / 393 MB, free: 3.156 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003892/0.03653, allocations: 2.994 MB / 396 MB, free: 156 kB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003303/0.03983, allocations: 2.52 MB / 398.5 MB, free: 13.58 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002951/0.04279, allocations: 1.91 MB / 400.4 MB, free: 11.67 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002651/0.04544, allocations: 1.695 MB / 402.1 MB, free: 9.969 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005398/0.04598, allocations: 296 kB / 402.4 MB, free: 9.68 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001824/0.0478, allocations: 0.9633 MB / 403.4 MB, free: 8.715 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001808/0.04961, allocations: 1.679 MB / 405.1 MB, free: 7.031 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001574/0.05118, allocations: 1.102 MB / 406.2 MB, free: 5.926 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008443/0.05962, allocations: 6.241 MB / 412.4 MB, free: 15.66 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.974e-06/0.05963, allocations: 0 / 412.4 MB, free: 15.66 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.05963, allocations: 0 / 412.4 MB, free: 15.66 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001446/0.05978, allocations: 0 / 412.4 MB, free: 15.66 MB / 394.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.01035/0.07013, allocations: 4.986 MB / 417.4 MB, free: 10.61 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.07017, allocations: 12.03 kB / 417.4 MB, free: 10.6 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007274/0.07745, allocations: 2.268 MB / 419.7 MB, free: 8.328 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004249/0.0817, allocations: 1.672 MB / 421.4 MB, free: 6.621 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002215/0.08192, allocations: 230.2 kB / 421.6 MB, free: 6.395 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000629/0.08255, allocations: 304.2 kB / 421.9 MB, free: 6.098 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01772/0.1003, allocations: 7.267 MB / 429.1 MB, free: 13.97 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001095/0.1004, allocations: 39.67 kB / 429.2 MB, free: 13.93 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004127/0.1008, allocations: 139.9 kB / 429.3 MB, free: 13.8 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003963/0.1048, allocations: 2.04 MB / 431.4 MB, free: 11.75 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01575/0.1205, allocations: 4.635 MB / 436 MB, free: 7.098 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1838/0.3043, allocations: 44.04 MB / 480 MB, free: 62.58 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00846/0.3127, allocations: 2.528 MB / 482.6 MB, free: 61.99 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001227/0.314, allocations: 0.7825 MB / 483.3 MB, free: 61.79 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006598/0.3206, allocations: 4.13 MB / 487.5 MB, free: 59.33 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.685e-05/0.3206, allocations: 56.7 kB / 487.5 MB, free: 59.28 MB / 410.7 MB Notification: Performance of pre-optimization done (n=181): time 4.358e-06/0.3206, allocations: 0 / 487.5 MB, free: 59.28 MB / 410.7 MB Notification: Performance of matching and sorting (n=210): time 0.05242/0.373, allocations: 16.02 MB / 0.4917 GB, free: 54.75 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.95e-05/0.3731, allocations: 152 kB / 0.4919 GB, free: 54.59 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004161/0.3772, allocations: 3.628 MB / 0.4954 GB, free: 53.01 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002404/0.3775, allocations: 64.88 kB / 0.4955 GB, free: 52.95 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001477/0.379, allocations: 3.236 MB / 0.4986 GB, free: 50.52 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006763/0.3796, allocations: 0.9046 MB / 0.4995 GB, free: 49.86 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001654/0.3813, allocations: 1.498 MB / 0.501 GB, free: 49.07 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.3814, allocations: 0.5569 MB / 0.5015 GB, free: 48.55 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001752/0.3832, allocations: 0.8669 MB / 0.5024 GB, free: 48.39 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003381/0.3866, allocations: 6.168 MB / 0.5084 GB, free: 41.25 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006213/0.3928, allocations: 7.803 MB / 0.516 GB, free: 33.14 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.632e-05/0.3929, allocations: 31.91 kB / 0.5161 GB, free: 33.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01064/0.4035, allocations: 5.795 MB / 0.5217 GB, free: 28.62 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.003e-05/0.4036, allocations: 60.45 kB / 0.5218 GB, free: 28.56 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.531e-05/0.4037, allocations: 120.8 kB / 0.5219 GB, free: 28.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002491/0.4062, allocations: 0.6618 MB / 0.5225 GB, free: 27.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00414/0.4103, allocations: 1.373 MB / 0.5239 GB, free: 26.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003698/0.414, allocations: 4.812 MB / 0.5286 GB, free: 21.92 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004107/0.4181, allocations: 324.9 kB / 0.5289 GB, free: 21.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006261/0.4187, allocations: 354.6 kB / 0.5292 GB, free: 21.31 MB / 410.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.001782/0.4205, allocations: 0.7437 MB / 0.5299 GB, free: 20.56 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006069/0.4211, allocations: 343.2 kB / 0.5303 GB, free: 20.23 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004954/0.4261, allocations: 2.128 MB / 0.5324 GB, free: 18.5 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.532e-05/0.4261, allocations: 24 kB / 0.5324 GB, free: 18.48 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.118e-05/0.4261, allocations: 4 kB / 0.5324 GB, free: 18.47 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.632e-05/0.4261, allocations: 7.547 kB / 0.5324 GB, free: 18.47 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01241/0.4385, allocations: 6.465 MB / 0.5387 GB, free: 12.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.078e-05/0.4385, allocations: 0 / 0.5387 GB, free: 12.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001697/0.4402, allocations: 350.7 kB / 0.539 GB, free: 12.51 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002121/0.4424, allocations: 0.4912 MB / 0.5395 GB, free: 12.19 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001976/0.4426, allocations: 38.44 kB / 0.5396 GB, free: 12.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00291/0.4455, allocations: 4.147 MB / 0.5436 GB, free: 7.918 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.4455, allocations: 0 / 0.5436 GB, free: 7.918 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006218/0.4517, allocations: 3.379 MB / 0.5469 GB, free: 4.504 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007498/0.4524, allocations: 245.9 kB / 0.5471 GB, free: 4.262 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003591/0.4528, allocations: 32 kB / 0.5472 GB, free: 4.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001369/0.4542, allocations: 115.8 kB / 0.5473 GB, free: 4.117 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003079/0.4545, allocations: 132.9 kB / 0.5474 GB, free: 3.988 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001434/0.4546, allocations: 59.61 kB / 0.5475 GB, free: 3.934 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001851/0.4565, allocations: 1.428 MB / 0.5489 GB, free: 2.5 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4565, allocations: 0 / 0.5489 GB, free: 2.5 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005552/0.462, allocations: 0.9491 MB / 0.5498 GB, free: 1.551 MB / 410.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.0004736/0.4625, allocations: 167.4 kB / 0.5499 GB, free: 1.379 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.008849/0.4713, allocations: 4.055 MB / 0.5539 GB, free: 13.29 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.4714, allocations: 0 / 0.5539 GB, free: 13.29 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003959/0.4753, allocations: 1.536 MB / 0.5554 GB, free: 11.71 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002114/0.4774, allocations: 307.7 kB / 0.5557 GB, free: 11.43 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01566/0.4931, allocations: 7.332 MB / 0.5629 GB, free: 4.031 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003304/0.4964, allocations: 2.247 MB / 0.5651 GB, free: 1.75 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.00421/0.5006, allocations: 1.534 MB / 0.5666 GB, free: 216 kB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008213/0.5014, allocations: 224.5 kB / 0.5668 GB, free: 15.99 MB / 442.7 MB Notification: Performance of SimCode: time 1.483e-06/0.5014, allocations: 0 / 0.5668 GB, free: 15.99 MB / 442.7 MB Notification: Performance of Templates: time 0.06801/0.5694, allocations: 29.88 MB / 0.5959 GB, free: 2.594 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_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_4.0.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: 7.019162356038578]