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.001233/0.001233, allocations: 95.2 kB / 20.43 MB, free: 4.141 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.001124/0.001124, allocations: 165 kB / 23.79 MB, free: 0.7773 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.8785/0.8785, allocations: 158.6 MB / 185.7 MB, free: 2.918 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.1453/0.1453, allocations: 32.37 MB / 270.4 MB, free: 14.7 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.683e-06/1.683e-06, allocations: 0 / 347.7 MB, free: 9.453 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.278e-05/3.447e-05, allocations: 10.19 kB / 347.7 MB, free: 9.441 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.006976/0.007011, allocations: 10.27 MB / 357.9 MB, free: 15.13 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005771/0.01278, allocations: 3.202 MB / 361.1 MB, free: 11.92 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001351/0.01413, allocations: 59.75 kB / 361.2 MB, free: 11.86 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002785/0.01692, allocations: 2.538 MB / 363.7 MB, free: 9.312 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002558/0.01947, allocations: 1.309 MB / 365.1 MB, free: 7.996 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001034/0.02051, allocations: 0.5377 MB / 365.6 MB, free: 7.457 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003147/0.02366, allocations: 3.056 MB / 368.6 MB, free: 4.391 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002665/0.02632, allocations: 2.536 MB / 371.2 MB, free: 1.801 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00231/0.02863, allocations: 1.945 MB / 373.1 MB, free: 15.85 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002027/0.03066, allocations: 1.707 MB / 374.8 MB, free: 14.14 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005359/0.03119, allocations: 296 kB / 375.1 MB, free: 13.85 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001341/0.03253, allocations: 0.9322 MB / 376.1 MB, free: 12.92 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00105/0.03358, allocations: 1.71 MB / 377.8 MB, free: 11.2 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000991/0.03458, allocations: 1.118 MB / 378.9 MB, free: 10.08 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004089/0.03866, allocations: 4.039 MB / 382.9 MB, free: 6.027 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.03867, allocations: 0 / 382.9 MB, free: 6.027 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.482e-06/0.03867, allocations: 4 kB / 382.9 MB, free: 6.023 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001077/0.03878, allocations: 4 kB / 382.9 MB, free: 6.02 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.00513/0.04391, allocations: 4.592 MB / 387.5 MB, free: 1.363 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.04395, allocations: 12.03 kB / 387.5 MB, free: 1.352 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003866/0.04782, allocations: 2.272 MB / 389.8 MB, free: 15.07 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002455/0.05027, allocations: 1.664 MB / 391.5 MB, free: 13.38 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001121/0.05039, allocations: 226.2 kB / 391.7 MB, free: 13.15 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003342/0.05072, allocations: 300.2 kB / 392 MB, free: 12.86 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01011/0.06083, allocations: 6.791 MB / 398.8 MB, free: 5.211 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.431e-05/0.06092, allocations: 39.64 kB / 398.8 MB, free: 5.172 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000278/0.0612, allocations: 147.9 kB / 399 MB, free: 5.027 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001988/0.06319, allocations: 2.044 MB / 401 MB, free: 2.98 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009325/0.07251, allocations: 4.212 MB / 405.2 MB, free: 14.74 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03383/0.1063, allocations: 40.14 MB / 445.3 MB, free: 5.379 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007744/0.1141, allocations: 2.449 MB / 447.8 MB, free: 2.859 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001485/0.1156, allocations: 0.7439 MB / 448.5 MB, free: 2.09 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1618/0.2774, allocations: 4.051 MB / 452.6 MB, free: 88.16 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.905e-05/0.2775, allocations: 52.02 kB / 452.6 MB, free: 88.11 MB / 378.7 MB Notification: Performance of pre-optimization done (n=181): time 6.462e-06/0.2775, allocations: 0 / 452.6 MB, free: 88.11 MB / 378.7 MB Notification: Performance of matching and sorting (n=210): time 0.04272/0.3202, allocations: 15.63 MB / 468.3 MB, free: 85.66 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.708e-05/0.3203, allocations: 152.1 kB / 468.4 MB, free: 85.51 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004254/0.3245, allocations: 2.877 MB / 471.3 MB, free: 84.89 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005488/0.3251, allocations: 57.27 kB / 471.4 MB, free: 84.85 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001935/0.327, allocations: 3.068 MB / 474.4 MB, free: 82.72 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001203/0.3282, allocations: 0.8509 MB / 475.3 MB, free: 82.1 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001959/0.3302, allocations: 1.282 MB / 476.6 MB, free: 81.27 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001732/0.3303, allocations: 0.5263 MB / 477.1 MB, free: 80.75 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001948/0.3323, allocations: 0.7708 MB / 477.9 MB, free: 80.12 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004121/0.3364, allocations: 5.869 MB / 483.7 MB, free: 72.06 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007036/0.3434, allocations: 7.375 MB / 491.1 MB, free: 62.86 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001223/0.3436, allocations: 36 kB / 491.1 MB, free: 62.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=775) (initialization): time 0.008083/0.3516, allocations: 5.578 MB / 496.7 MB, free: 57.61 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.294e-05/0.3517, allocations: 56 kB / 496.8 MB, free: 57.55 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.887e-05/0.3518, allocations: 128.2 kB / 496.9 MB, free: 57.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0013/0.3531, allocations: 0.6269 MB / 497.5 MB, free: 56.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00271/0.3558, allocations: 1.388 MB / 498.9 MB, free: 55.39 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002296/0.3581, allocations: 4.687 MB / 0.4918 GB, free: 50.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002718/0.3608, allocations: 326.6 kB / 0.4921 GB, free: 50.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004218/0.3612, allocations: 360 kB / 0.4924 GB, free: 49.81 MB / 378.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.001263/0.3625, allocations: 0.6406 MB / 0.4931 GB, free: 49.16 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004152/0.3629, allocations: 346 kB / 0.4934 GB, free: 48.82 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002597/0.3655, allocations: 2.01 MB / 0.4954 GB, free: 46.77 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.846e-05/0.3655, allocations: 23 kB / 0.4954 GB, free: 46.75 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/0.3655, allocations: 7.938 kB / 0.4954 GB, free: 46.75 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.146e-05/0.3655, allocations: 17.34 kB / 0.4954 GB, free: 46.73 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007178/0.3727, allocations: 5.485 MB / 0.5008 GB, free: 41.21 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.928e-06/0.3727, allocations: 0 / 0.5008 GB, free: 41.21 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009454/0.3737, allocations: 351.5 kB / 0.5011 GB, free: 40.87 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00108/0.3747, allocations: 485.3 kB / 0.5016 GB, free: 40.39 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001336/0.3749, allocations: 39.98 kB / 0.5016 GB, free: 40.35 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001839/0.3767, allocations: 4.064 MB / 0.5056 GB, free: 36.05 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.3767, allocations: 3.938 kB / 0.5056 GB, free: 36.05 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00371/0.3804, allocations: 3.134 MB / 0.5086 GB, free: 32.89 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001015/0.3814, allocations: 0.5329 MB / 0.5092 GB, free: 32.35 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002669/0.3817, allocations: 32 kB / 0.5092 GB, free: 32.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007909/0.3825, allocations: 115.8 kB / 0.5093 GB, free: 32.21 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002478/0.3827, allocations: 125.1 kB / 0.5094 GB, free: 32.08 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.623e-05/0.3828, allocations: 55.98 kB / 0.5095 GB, free: 32.03 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001552/0.3844, allocations: 1.187 MB / 0.5106 GB, free: 30.84 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.3844, allocations: 0 / 0.5106 GB, free: 30.84 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003604/0.388, allocations: 0.9647 MB / 0.5116 GB, free: 29.88 MB / 378.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.0004162/0.3884, allocations: 172.7 kB / 0.5117 GB, free: 29.7 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005303/0.3937, allocations: 3.687 MB / 0.5153 GB, free: 25.98 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.3937, allocations: 0 / 0.5153 GB, free: 25.98 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001857/0.3956, allocations: 1.436 MB / 0.5167 GB, free: 24.5 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001877/0.3975, allocations: 290.2 kB / 0.517 GB, free: 24.23 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01051/0.408, allocations: 7.254 MB / 0.5241 GB, free: 16.92 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009193/0.4089, allocations: 1.13 MB / 0.5252 GB, free: 15.77 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002935/0.4118, allocations: 1.53 MB / 0.5267 GB, free: 14.23 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005979/0.4124, allocations: 224.4 kB / 0.5269 GB, free: 14.01 MB / 378.7 MB Notification: Performance of SimCode: time 2.214e-06/0.4124, allocations: 4 kB / 0.5269 GB, free: 14.01 MB / 378.7 MB Notification: Performance of Templates: time 0.04936/0.4618, allocations: 29.94 MB / 0.5561 GB, free: 264 kB / 394.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.464294672012329]