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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009113/0.0009113, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001089/0.002, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0006414/0.0006414, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008989/0.00154, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8768/0.8768, allocations: 173.4 MB / 186 MB, free: 7.52 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1634/1.04, allocations: 52.48 MB / 238.5 MB, free: 7.602 MB / 234.7 MB " [Timeout remaining time 179] 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.1442/0.1442, allocations: 32.79 MB / 272 MB, free: 6.27 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02577/0.17, allocations: 12.54 MB / 284.5 MB, free: 9.684 MB / 282.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.042e-06/1.042e-06, allocations: 0 / 285.9 MB, free: 8.371 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.638e-06/1.068e-05, allocations: 2.312 kB / 285.9 MB, free: 8.367 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.007444/0.007455, allocations: 10.11 MB / 296 MB, free: 14.21 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00405/0.01151, allocations: 3.274 MB / 299.3 MB, free: 10.93 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004763/0.01198, allocations: 59.75 kB / 299.3 MB, free: 10.87 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002613/0.0146, allocations: 2.417 MB / 301.7 MB, free: 8.441 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001551/0.01615, allocations: 1.317 MB / 303 MB, free: 7.117 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007342/0.01688, allocations: 0.5181 MB / 303.6 MB, free: 6.598 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002105/0.01899, allocations: 3 MB / 306.6 MB, free: 3.586 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001663/0.02065, allocations: 2.494 MB / 309.1 MB, free: 1.027 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001491/0.02214, allocations: 2.075 MB / 311.1 MB, free: 14.95 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001247/0.02339, allocations: 1.535 MB / 312.7 MB, free: 13.41 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002568/0.02364, allocations: 284 kB / 312.9 MB, free: 13.13 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001075/0.02472, allocations: 0.9556 MB / 313.9 MB, free: 12.18 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007657/0.02549, allocations: 1.519 MB / 315.4 MB, free: 10.65 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006445/0.02613, allocations: 0.9152 MB / 316.3 MB, free: 9.734 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002627/0.02876, allocations: 3.731 MB / 320.1 MB, free: 5.988 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.099e-05/0.02877, allocations: 0 / 320.1 MB, free: 5.988 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.02877, allocations: 0 / 320.1 MB, free: 5.988 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.43e-05/0.0288, allocations: 0 / 320.1 MB, free: 5.988 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.00392/0.03272, allocations: 4.833 MB / 324.9 MB, free: 1.086 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.792e-05/0.03275, allocations: 12.03 kB / 324.9 MB, free: 1.074 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002161/0.03491, allocations: 1.011 MB / 325.9 MB, free: 64 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.123/0.1579, allocations: 1.344 MB / 327.3 MB, free: 29.75 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001505/0.1581, allocations: 228.4 kB / 327.5 MB, free: 29.74 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004414/0.1585, allocations: 305.8 kB / 327.8 MB, free: 29.73 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007269/0.1658, allocations: 4.872 MB / 332.7 MB, free: 27.93 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.796e-05/0.1659, allocations: 37.11 kB / 332.7 MB, free: 27.93 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002909/0.1662, allocations: 152.5 kB / 332.8 MB, free: 27.93 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001742/0.1679, allocations: 1.639 MB / 334.5 MB, free: 27.92 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005509/0.1734, allocations: 2.539 MB / 337 MB, free: 27.73 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01534/0.1888, allocations: 28.92 MB / 365.9 MB, free: 0.5 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004185/0.193, allocations: 1.937 MB / 367.9 MB, free: 14.56 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005977/0.1936, allocations: 449.7 kB / 368.3 MB, free: 14.11 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004107/0.1977, allocations: 3.417 MB / 371.7 MB, free: 10.67 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.622e-05/0.1977, allocations: 53.56 kB / 371.8 MB, free: 10.61 MB / 330.7 MB Notification: Performance of pre-optimization done (n=152): time 3.697e-06/0.1977, allocations: 3.719 kB / 371.8 MB, free: 10.61 MB / 330.7 MB Notification: Performance of matching and sorting (n=166): time 0.01742/0.2151, allocations: 7.639 MB / 379.4 MB, free: 2.984 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.88e-05/0.2152, allocations: 145.5 kB / 379.6 MB, free: 2.812 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002234/0.2174, allocations: 2.439 MB / 382 MB, free: 368 kB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.029e-05/0.2175, allocations: 45.7 kB / 382.1 MB, free: 316 kB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001682/0.2192, allocations: 2.962 MB / 385 MB, free: 13.32 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004764/0.2197, allocations: 0.6706 MB / 385.7 MB, free: 12.65 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001147/0.2208, allocations: 1.112 MB / 386.8 MB, free: 11.52 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001621/0.221, allocations: 365.8 kB / 387.2 MB, free: 11.16 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009301/0.2219, allocations: 0.629 MB / 387.8 MB, free: 10.52 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0029/0.2248, allocations: 4.185 MB / 392 MB, free: 4.504 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005544/0.2304, allocations: 5.955 MB / 397.9 MB, free: 12.71 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001023/0.2305, allocations: 36 kB / 398 MB, free: 12.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=773) (initialization): time 0.006078/0.2365, allocations: 4.042 MB / 402 MB, free: 8.629 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.275e-05/0.2366, allocations: 63.5 kB / 402.1 MB, free: 8.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000138/0.2368, allocations: 136.1 kB / 402.2 MB, free: 8.438 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007581/0.2375, allocations: 319.1 kB / 402.5 MB, free: 8.117 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00326/0.2408, allocations: 1.497 MB / 404 MB, free: 6.617 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001989/0.241, allocations: 255 kB / 404.3 MB, free: 6.367 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002685/0.2437, allocations: 259.7 kB / 404.5 MB, free: 6.113 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003481/0.244, allocations: 316 kB / 404.8 MB, free: 5.805 MB / 362.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.001211/0.2452, allocations: 0.6106 MB / 405.4 MB, free: 5.18 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000332/0.2456, allocations: 183.8 kB / 405.6 MB, free: 5 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001523/0.2471, allocations: 0.9431 MB / 406.6 MB, free: 4.039 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.857e-05/0.2471, allocations: 12 kB / 406.6 MB, free: 4.027 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.2471, allocations: 4 kB / 406.6 MB, free: 4.023 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.258e-05/0.2471, allocations: 9.281 kB / 406.6 MB, free: 4.016 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005682/0.2528, allocations: 3.596 MB / 410.2 MB, free: 336 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-05/0.2528, allocations: 15.92 kB / 410.2 MB, free: 320 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008994/0.2537, allocations: 283.6 kB / 410.5 MB, free: 36 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003165/0.254, allocations: 242.1 kB / 410.7 MB, free: 15.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007262/0.2548, allocations: 287.8 kB / 411 MB, free: 15.5 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.102e-05/0.2549, allocations: 35.98 kB / 411 MB, free: 15.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.636e-06/0.2549, allocations: 7.984 kB / 411 MB, free: 15.46 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/0.2549, allocations: 7.938 kB / 411 MB, free: 15.45 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002073/0.2569, allocations: 1.739 MB / 412.8 MB, free: 13.67 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002265/0.2572, allocations: 39.94 kB / 412.8 MB, free: 13.63 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006077/0.2578, allocations: 35.97 kB / 412.8 MB, free: 13.59 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001609/0.2579, allocations: 92.81 kB / 412.9 MB, free: 13.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.741e-05/0.258, allocations: 32 kB / 413 MB, free: 13.47 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009293/0.2589, allocations: 0.9352 MB / 413.9 MB, free: 12.53 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2589, allocations: 0 / 413.9 MB, free: 12.53 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003109/0.2621, allocations: 0.8515 MB / 414.8 MB, free: 11.68 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.0002902/0.2623, allocations: 156 kB / 414.9 MB, free: 11.52 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00363/0.266, allocations: 2.566 MB / 417.5 MB, free: 9.02 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 0.000193/0.2662, allocations: 100.8 kB / 417.6 MB, free: 8.906 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001042/0.2672, allocations: 0.6404 MB / 418.2 MB, free: 8.258 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00194/0.2691, allocations: 1.969 MB / 420.2 MB, free: 6.031 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01264/0.2818, allocations: 7.15 MB / 427.3 MB, free: 14.79 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001127/0.2829, allocations: 1.094 MB / 428.4 MB, free: 13.68 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.00109/0.284, allocations: 448.9 kB / 428.9 MB, free: 13.24 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006117/0.2846, allocations: 473.2 kB / 429.3 MB, free: 12.78 MB / 394.7 MB Notification: Performance of SimCode: time 1.623e-06/0.2846, allocations: 4 kB / 429.3 MB, free: 12.77 MB / 394.7 MB Notification: Performance of Templates: time 0.03898/0.3236, allocations: 22.02 MB / 451.3 MB, free: 6.859 MB / 410.7 MB " [Timeout remaining time 660] 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 -ignoreHideResult -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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.3484094198793173]