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.001619/0.001619, allocations: 82.64 kB / 21.44 MB, free: 3.055 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.001283/0.001283, allocations: 165.9 kB / 24.84 MB, free: 8.629 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.8784/0.8784, allocations: 158.6 MB / 186.7 MB, free: 2.801 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.1386/0.1386, allocations: 32.38 MB / 271.5 MB, free: 14.53 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.673e-06/1.673e-06, allocations: 0 / 348.9 MB, free: 9.176 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.334e-05/2.502e-05, allocations: 6.25 kB / 348.9 MB, free: 9.168 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.006913/0.006938, allocations: 10.01 MB / 358.9 MB, free: 15.11 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005146/0.01208, allocations: 3.175 MB / 362.1 MB, free: 11.93 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009111/0.013, allocations: 63.69 kB / 362.2 MB, free: 11.87 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002758/0.01575, allocations: 2.503 MB / 364.7 MB, free: 9.355 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00204/0.01779, allocations: 1.313 MB / 366 MB, free: 8.035 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009522/0.01875, allocations: 0.5416 MB / 366.5 MB, free: 7.492 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002556/0.0213, allocations: 3.046 MB / 369.6 MB, free: 4.434 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002024/0.02333, allocations: 2.54 MB / 372.1 MB, free: 1.844 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002037/0.02536, allocations: 2.038 MB / 374.2 MB, free: 15.8 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002468/0.02783, allocations: 1.625 MB / 375.8 MB, free: 14.17 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007666/0.0286, allocations: 284 kB / 376.1 MB, free: 13.89 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001824/0.03042, allocations: 0.9243 MB / 377 MB, free: 12.97 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001489/0.03191, allocations: 1.702 MB / 378.7 MB, free: 11.26 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001507/0.03342, allocations: 1.094 MB / 379.8 MB, free: 10.16 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004529/0.03795, allocations: 3.996 MB / 383.8 MB, free: 6.152 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.03795, allocations: 0 / 383.8 MB, free: 6.152 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.03795, allocations: 0 / 383.8 MB, free: 6.152 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.786e-05/0.03799, allocations: 3.984 kB / 383.8 MB, free: 6.148 MB / 314.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.005755/0.04374, allocations: 4.528 MB / 388.3 MB, free: 1.555 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/0.04379, allocations: 12.03 kB / 388.3 MB, free: 1.543 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003648/0.04744, allocations: 1.321 MB / 389.6 MB, free: 224 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001944/0.04938, allocations: 1.526 MB / 391.2 MB, free: 14.66 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001859/0.04957, allocations: 226.2 kB / 391.4 MB, free: 14.43 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004964/0.05006, allocations: 304.2 kB / 391.7 MB, free: 14.14 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008709/0.05877, allocations: 5.428 MB / 397.1 MB, free: 7.852 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.562e-05/0.05887, allocations: 35.64 kB / 397.1 MB, free: 7.816 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000311/0.05918, allocations: 147.9 kB / 397.3 MB, free: 7.672 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002218/0.0614, allocations: 1.74 MB / 399 MB, free: 5.93 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006377/0.06778, allocations: 2.562 MB / 401.6 MB, free: 3.324 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02536/0.09313, allocations: 39.87 MB / 441.5 MB, free: 10.12 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00432/0.09745, allocations: 2.127 MB / 443.6 MB, free: 7.914 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005198/0.09797, allocations: 496.8 kB / 444.1 MB, free: 7.402 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003859/0.1018, allocations: 3.879 MB / 448 MB, free: 3.484 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.724e-05/0.1019, allocations: 58.33 kB / 448 MB, free: 3.418 MB / 378.7 MB Notification: Performance of pre-optimization done (n=152): time 3.386e-06/0.1019, allocations: 0 / 448 MB, free: 3.418 MB / 378.7 MB Notification: Performance of matching and sorting (n=166): time 0.1787/0.2805, allocations: 8.874 MB / 456.9 MB, free: 100.4 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.767e-05/0.2806, allocations: 151.4 kB / 457 MB, free: 100.2 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002322/0.2829, allocations: 3.041 MB / 460.1 MB, free: 99.72 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.63e-05/0.283, allocations: 50.58 kB / 460.1 MB, free: 99.69 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001177/0.2841, allocations: 3.214 MB / 463.3 MB, free: 97.87 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003551/0.2845, allocations: 0.7047 MB / 464 MB, free: 97.48 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009477/0.2854, allocations: 1.304 MB / 465.3 MB, free: 97.33 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.707e-05/0.2855, allocations: 0.5367 MB / 465.9 MB, free: 96.85 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005389/0.2861, allocations: 0.5003 MB / 466.4 MB, free: 96.83 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001978/0.288, allocations: 5.988 MB / 472.4 MB, free: 89.75 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003631/0.2917, allocations: 7.294 MB / 479.7 MB, free: 82.24 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.9e-05/0.2917, allocations: 35.44 kB / 479.7 MB, free: 82.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=773) (initialization): time 0.004478/0.2962, allocations: 4.814 MB / 484.5 MB, free: 77.92 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.444e-05/0.2962, allocations: 60 kB / 484.6 MB, free: 77.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.662e-05/0.2963, allocations: 132 kB / 484.7 MB, free: 77.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00053/0.2968, allocations: 319.2 kB / 485 MB, free: 77.47 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001893/0.2987, allocations: 1.337 MB / 486.4 MB, free: 76.28 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001314/0.2989, allocations: 260.9 kB / 486.6 MB, free: 76.05 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001667/0.3005, allocations: 251.7 kB / 486.9 MB, free: 75.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002249/0.3008, allocations: 319.7 kB / 487.2 MB, free: 75.49 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 596 * 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 (745): * Single equations (assignments): 740 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(3,88.9%), (3,88.9%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008521/0.3016, allocations: 0.6524 MB / 487.8 MB, free: 74.83 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002719/0.3019, allocations: 330 kB / 488.1 MB, free: 74.51 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001231/0.3031, allocations: 1.087 MB / 489.2 MB, free: 73.52 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.486e-05/0.3031, allocations: 20 kB / 489.2 MB, free: 73.5 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.814e-06/0.3031, allocations: 4 kB / 489.2 MB, free: 73.49 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.093e-05/0.3032, allocations: 11.97 kB / 489.3 MB, free: 73.48 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0046/0.3078, allocations: 4.3 MB / 493.6 MB, free: 69.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.3078, allocations: 0 / 493.6 MB, free: 69.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005878/0.3083, allocations: 247.7 kB / 493.8 MB, free: 68.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004539/0.3088, allocations: 155.2 kB / 494 MB, free: 68.68 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.697e-05/0.3089, allocations: 31.98 kB / 494 MB, free: 68.65 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.272e-06/0.3089, allocations: 11.94 kB / 494 MB, free: 68.64 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.3089, allocations: 4 kB / 494 MB, free: 68.64 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00172/0.3106, allocations: 2.123 MB / 496.1 MB, free: 66.45 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004119/0.311, allocations: 369.8 kB / 496.5 MB, free: 66.09 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001938/0.3112, allocations: 31.98 kB / 496.5 MB, free: 66.05 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004484/0.3116, allocations: 28 kB / 496.5 MB, free: 66.03 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000124/0.3118, allocations: 103.5 kB / 496.6 MB, free: 65.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.596e-05/0.3118, allocations: 40 kB / 496.7 MB, free: 65.89 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008495/0.3127, allocations: 1.166 MB / 497.8 MB, free: 64.72 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.11e-07/0.3127, allocations: 0 / 497.8 MB, free: 64.72 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002466/0.3151, allocations: 0.8592 MB / 498.7 MB, free: 63.86 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (143): * Single equations (assignments): 138 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(3,88.9%), (3,88.9%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002798/0.3154, allocations: 162.8 kB / 498.9 MB, free: 63.7 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002546/0.318, allocations: 2.661 MB / 0.4898 GB, free: 61.04 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.318, allocations: 0 / 0.4898 GB, free: 61.04 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007371/0.3187, allocations: 0.6352 MB / 0.4904 GB, free: 60.4 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009438/0.3196, allocations: 289.1 kB / 0.4907 GB, free: 60.13 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006976/0.3266, allocations: 6.941 MB / 0.4974 GB, free: 53.1 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007488/0.3274, allocations: 1.096 MB / 0.4985 GB, free: 51.98 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0009391/0.3283, allocations: 447.3 kB / 0.4989 GB, free: 51.55 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005547/0.3289, allocations: 0.506 MB / 0.4994 GB, free: 51.04 MB / 378.7 MB Notification: Performance of SimCode: time 1.373e-06/0.3289, allocations: 0 / 0.4994 GB, free: 51.04 MB / 378.7 MB Notification: Performance of Templates: time 0.03197/0.3608, allocations: 24 MB / 0.5229 GB, free: 27.15 MB / 378.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.1058477107435465]