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.002595/0.002595, 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.003028/0.003028, 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.602/1.602, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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.3734/0.3734, allocations: 34.26 MB / 295.3 MB, free: 0.6914 MB / 266.7 MB " [Timeout remaining time 179] 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.653e-06/1.653e-06, allocations: 0 / 377.3 MB, free: 2.973 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.911e-05/3.077e-05, allocations: 5.547 kB / 377.3 MB, free: 2.969 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.01528/0.01531, allocations: 10.14 MB / 387.4 MB, free: 8.773 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007503/0.02282, allocations: 3.158 MB / 390.6 MB, free: 5.605 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001397/0.02421, allocations: 59.75 kB / 390.7 MB, free: 5.547 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006043/0.03026, allocations: 2.546 MB / 393.2 MB, free: 2.992 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003814/0.03407, allocations: 1.302 MB / 394.5 MB, free: 1.684 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001709/0.03578, allocations: 0.5378 MB / 395 MB, free: 1.145 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.005353/0.04113, allocations: 2.997 MB / 398 MB, free: 14.14 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005537/0.04667, allocations: 2.517 MB / 400.6 MB, free: 11.57 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0057/0.05237, allocations: 1.914 MB / 402.5 MB, free: 9.656 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003996/0.05637, allocations: 1.706 MB / 404.2 MB, free: 7.945 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001148/0.05751, allocations: 292 kB / 404.5 MB, free: 7.66 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002986/0.0605, allocations: 0.9478 MB / 405.4 MB, free: 6.711 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002552/0.06305, allocations: 1.679 MB / 407.1 MB, free: 5.027 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002551/0.0656, allocations: 1.106 MB / 408.2 MB, free: 3.918 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009357/0.07496, allocations: 6.241 MB / 414.4 MB, free: 13.66 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.07497, allocations: 0 / 414.4 MB, free: 13.66 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.07497, allocations: 4 kB / 414.4 MB, free: 13.65 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001988/0.07517, allocations: 3.938 kB / 414.4 MB, free: 13.65 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.01082/0.08598, allocations: 4.99 MB / 419.4 MB, free: 8.594 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.08602, allocations: 8.031 kB / 419.4 MB, free: 8.586 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007723/0.09374, allocations: 2.276 MB / 421.7 MB, free: 6.305 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004735/0.09848, allocations: 1.66 MB / 423.4 MB, free: 4.609 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002367/0.09871, allocations: 226.2 kB / 423.6 MB, free: 4.387 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008036/0.09952, allocations: 308.2 kB / 423.9 MB, free: 4.086 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01984/0.1194, allocations: 7.27 MB / 431.2 MB, free: 11.96 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001226/0.1195, allocations: 31.75 kB / 431.2 MB, free: 11.93 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00046/0.1199, allocations: 147.8 kB / 431.3 MB, free: 11.78 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004383/0.1243, allocations: 2.04 MB / 433.4 MB, free: 9.738 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01673/0.141, allocations: 4.623 MB / 438 MB, free: 5.09 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1985/0.3396, allocations: 44.05 MB / 482.1 MB, free: 60.63 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008556/0.3481, allocations: 2.523 MB / 484.6 MB, free: 60.04 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0013/0.3494, allocations: 0.7803 MB / 485.4 MB, free: 59.84 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006816/0.3562, allocations: 4.13 MB / 489.5 MB, free: 57.37 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.042e-05/0.3563, allocations: 56.95 kB / 489.5 MB, free: 57.31 MB / 410.7 MB Notification: Performance of pre-optimization done (n=181): time 4.389e-06/0.3563, allocations: 4.906 kB / 489.6 MB, free: 57.31 MB / 410.7 MB Notification: Performance of matching and sorting (n=210): time 0.0529/0.4092, allocations: 16.02 MB / 0.4937 GB, free: 52.77 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.698e-05/0.4092, allocations: 149.1 kB / 0.4939 GB, free: 52.61 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003775/0.413, allocations: 3.638 MB / 0.4974 GB, free: 51.02 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002056/0.4132, allocations: 57.45 kB / 0.4975 GB, free: 50.96 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00134/0.4145, allocations: 3.229 MB / 0.5006 GB, free: 48.53 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006594/0.4152, allocations: 0.9115 MB / 0.5015 GB, free: 47.87 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001549/0.4168, allocations: 1.496 MB / 0.503 GB, free: 47.08 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.4169, allocations: 0.5522 MB / 0.5035 GB, free: 46.57 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001736/0.4186, allocations: 0.863 MB / 0.5044 GB, free: 46.41 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003363/0.422, allocations: 6.165 MB / 0.5104 GB, free: 39.27 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006006/0.428, allocations: 7.801 MB / 0.518 GB, free: 30.25 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.514e-05/0.4281, allocations: 36.88 kB / 0.518 GB, free: 30.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01054/0.4386, allocations: 5.8 MB / 0.5237 GB, free: 25.03 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.439e-05/0.4387, allocations: 56.97 kB / 0.5238 GB, free: 24.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.835e-05/0.4388, allocations: 124.7 kB / 0.5239 GB, free: 24.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002441/0.4412, allocations: 0.6576 MB / 0.5245 GB, free: 24.37 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004144/0.4454, allocations: 1.38 MB / 0.5259 GB, free: 23.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003677/0.4491, allocations: 4.802 MB / 0.5306 GB, free: 18.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004104/0.4532, allocations: 324.8 kB / 0.5309 GB, free: 18.06 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006451/0.4538, allocations: 360 kB / 0.5312 GB, free: 17.72 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.001673/0.4555, allocations: 0.7411 MB / 0.5319 GB, free: 16.98 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005957/0.4561, allocations: 350 kB / 0.5323 GB, free: 16.64 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004783/0.4609, allocations: 2.119 MB / 0.5343 GB, free: 14.92 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.714e-05/0.4609, allocations: 24 kB / 0.5344 GB, free: 14.9 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.267e-05/0.4609, allocations: 11.88 kB / 0.5344 GB, free: 14.89 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.987e-05/0.4609, allocations: 11.39 kB / 0.5344 GB, free: 14.89 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01242/0.4733, allocations: 6.433 MB / 0.5407 GB, free: 9.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.259e-05/0.4733, allocations: 3.938 kB / 0.5407 GB, free: 9.227 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001697/0.475, allocations: 351.9 kB / 0.541 GB, free: 8.945 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002127/0.4772, allocations: 0.4886 MB / 0.5415 GB, free: 8.48 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002088/0.4774, allocations: 39.98 kB / 0.5415 GB, free: 8.441 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002905/0.4803, allocations: 4.15 MB / 0.5456 GB, free: 4.059 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.4803, allocations: 0 / 0.5456 GB, free: 4.059 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006061/0.4863, allocations: 3.38 MB / 0.5489 GB, free: 0.6367 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006387/0.487, allocations: 249.9 kB / 0.5491 GB, free: 400 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000348/0.4873, allocations: 32 kB / 0.5491 GB, free: 368 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001325/0.4887, allocations: 115.8 kB / 0.5492 GB, free: 252 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003012/0.489, allocations: 125 kB / 0.5494 GB, free: 128 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001371/0.4891, allocations: 55.98 kB / 0.5494 GB, free: 72 kB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002606/0.4917, allocations: 1.432 MB / 0.5508 GB, free: 14.63 MB / 426.7 MB Notification: Performance of sort global known variables: time 9e-08/0.4917, allocations: 7.938 kB / 0.5508 GB, free: 14.62 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004773/0.4965, allocations: 0.9452 MB / 0.5518 GB, free: 13.68 MB / 426.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.0004716/0.4969, allocations: 173.1 kB / 0.5519 GB, free: 13.51 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.009712/0.5067, allocations: 4.043 MB / 0.5559 GB, free: 9.434 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.738e-06/0.5067, allocations: 0 / 0.5559 GB, free: 9.434 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003775/0.5104, allocations: 1.536 MB / 0.5574 GB, free: 7.852 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001907/0.5123, allocations: 298.3 kB / 0.5576 GB, free: 7.57 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01478/0.5271, allocations: 7.346 MB / 0.5648 GB, free: 156 kB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003319/0.5304, allocations: 2.248 MB / 0.567 GB, free: 13.88 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.004069/0.5345, allocations: 1.534 MB / 0.5685 GB, free: 12.34 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000803/0.5353, allocations: 220.4 kB / 0.5687 GB, free: 12.12 MB / 442.7 MB Notification: Performance of SimCode: time 1.543e-06/0.5353, allocations: 0 / 0.5687 GB, free: 12.12 MB / 442.7 MB Notification: Performance of Templates: time 0.06731/0.6026, allocations: 29.9 MB / 0.5979 GB, free: 14.72 MB / 474.7 MB " [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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe 2>&1) [Timeout 240] 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: 6.879709924920462]