Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009887/0.0009887, allocations: 82.59 kB / 21.43 MB, free: 3.07 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001067/0.001067, allocations: 170 kB / 24.82 MB, free: 9.254 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.959/0.959, allocations: 177 MB / 205.1 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2841/0.2841, allocations: 34.86 MB / 296.6 MB, free: 0.5117 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 379.2 MB, free: 1.836 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.203e-05/1.366e-05, allocations: 3.578 kB / 379.2 MB, free: 1.832 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.007646/0.00766, allocations: 9.963 MB / 389.2 MB, free: 7.816 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004357/0.01202, allocations: 3.158 MB / 392.4 MB, free: 4.648 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005276/0.01254, allocations: 59.75 kB / 392.4 MB, free: 4.59 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002286/0.01483, allocations: 2.503 MB / 394.9 MB, free: 2.078 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001436/0.01627, allocations: 1.313 MB / 396.2 MB, free: 0.7578 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006536/0.01692, allocations: 0.5299 MB / 396.8 MB, free: 232 kB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002058/0.01898, allocations: 3 MB / 399.8 MB, free: 13.22 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001578/0.02056, allocations: 2.52 MB / 402.3 MB, free: 10.65 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001318/0.02187, allocations: 2.003 MB / 404.3 MB, free: 8.641 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001191/0.02306, allocations: 1.613 MB / 405.9 MB, free: 7.023 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003862/0.02345, allocations: 284 kB / 406.2 MB, free: 6.746 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008598/0.02431, allocations: 0.9555 MB / 407.1 MB, free: 5.789 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008074/0.02512, allocations: 1.667 MB / 408.8 MB, free: 4.117 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006783/0.0258, allocations: 1.082 MB / 409.9 MB, free: 3.031 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002654/0.02845, allocations: 3.95 MB / 413.8 MB, free: 15.07 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.02845, allocations: 7.922 kB / 413.8 MB, free: 15.06 MB / 394.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.02845, allocations: 0 / 413.8 MB, free: 15.06 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.369e-05/0.0285, allocations: 0 / 413.8 MB, free: 15.06 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.004264/0.03276, allocations: 4.517 MB / 418.4 MB, free: 10.48 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.03281, allocations: 8.031 kB / 418.4 MB, free: 10.47 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002516/0.03532, allocations: 1.329 MB / 419.7 MB, free: 9.137 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00174/0.03706, allocations: 1.51 MB / 421.2 MB, free: 7.59 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000124/0.03719, allocations: 226.2 kB / 421.4 MB, free: 7.367 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003253/0.03751, allocations: 304.1 kB / 421.7 MB, free: 7.07 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006071/0.04358, allocations: 5.444 MB / 427.2 MB, free: 0.7695 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.434e-05/0.04365, allocations: 35.67 kB / 427.2 MB, free: 0.7344 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002318/0.04388, allocations: 143.9 kB / 427.3 MB, free: 0.5938 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001329/0.04521, allocations: 1.736 MB / 429.1 MB, free: 14.86 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004272/0.04948, allocations: 2.577 MB / 431.6 MB, free: 12.23 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2016/0.251, allocations: 39.88 MB / 471.5 MB, free: 61.14 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004026/0.2551, allocations: 2.124 MB / 473.6 MB, free: 60.93 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005265/0.2556, allocations: 0.4931 MB / 474.1 MB, free: 60.86 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003731/0.2593, allocations: 3.892 MB / 478 MB, free: 59.36 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.634e-05/0.2594, allocations: 53.45 kB / 478.1 MB, free: 59.32 MB / 410.7 MB Notification: Performance of pre-optimization done (n=152): time 4.258e-06/0.2594, allocations: 0 / 478.1 MB, free: 59.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=166): time 0.01872/0.2781, allocations: 8.906 MB / 487 MB, free: 57.79 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.084e-05/0.2781, allocations: 145.1 kB / 487.1 MB, free: 57.63 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002192/0.2803, allocations: 3.036 MB / 490.2 MB, free: 56.79 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.259e-05/0.2804, allocations: 54.53 kB / 490.2 MB, free: 56.74 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009101/0.2813, allocations: 3.209 MB / 493.4 MB, free: 54.31 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002974/0.2816, allocations: 0.7076 MB / 494.1 MB, free: 53.78 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001061/0.2827, allocations: 1.291 MB / 495.4 MB, free: 53.07 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.2828, allocations: 0.5405 MB / 496 MB, free: 52.55 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007718/0.2835, allocations: 0.4994 MB / 496.5 MB, free: 52.54 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002855/0.2864, allocations: 5.996 MB / 0.4907 GB, free: 45.14 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005425/0.2918, allocations: 7.292 MB / 0.4978 GB, free: 37.05 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.724e-05/0.2919, allocations: 36.94 kB / 0.4978 GB, free: 37.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=773) (initialization): time 0.007692/0.2996, allocations: 4.804 MB / 0.5025 GB, free: 35.29 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001044/0.2997, allocations: 66.06 kB / 0.5026 GB, free: 35.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001965/0.2999, allocations: 132.3 kB / 0.5027 GB, free: 35.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008171/0.3007, allocations: 316.2 kB / 0.503 GB, free: 35.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002353/0.3031, allocations: 1.346 MB / 0.5043 GB, free: 35.08 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001359/0.3032, allocations: 254.9 kB / 0.5046 GB, free: 35.03 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001839/0.305, allocations: 262 kB / 0.5048 GB, free: 34.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002326/0.3053, allocations: 317.1 kB / 0.5051 GB, free: 34.87 MB / 410.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.000886/0.3061, allocations: 0.6429 MB / 0.5058 GB, free: 34.35 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003089/0.3065, allocations: 335.5 kB / 0.5061 GB, free: 34.16 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001229/0.3077, allocations: 1.08 MB / 0.5071 GB, free: 33.79 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.585e-05/0.3077, allocations: 19.03 kB / 0.5072 GB, free: 33.79 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.776e-06/0.3077, allocations: 4 kB / 0.5072 GB, free: 33.79 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.009e-05/0.3077, allocations: 6.328 kB / 0.5072 GB, free: 33.79 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004917/0.3126, allocations: 4.306 MB / 0.5114 GB, free: 31.76 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.3126, allocations: 3.25 kB / 0.5114 GB, free: 31.76 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005445/0.3132, allocations: 251.1 kB / 0.5116 GB, free: 31.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004206/0.3136, allocations: 147.7 kB / 0.5118 GB, free: 31.7 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.604e-05/0.3137, allocations: 30.89 kB / 0.5118 GB, free: 31.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.043e-06/0.3137, allocations: 19.22 kB / 0.5118 GB, free: 31.68 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.3137, allocations: 0 / 0.5118 GB, free: 31.68 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001836/0.3155, allocations: 2.125 MB / 0.5139 GB, free: 30.58 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002026/0.3157, allocations: 241.8 kB / 0.5141 GB, free: 30.34 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001448/0.3159, allocations: 24.75 kB / 0.5141 GB, free: 30.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004211/0.3163, allocations: 37.86 kB / 0.5142 GB, free: 30.29 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001439/0.3164, allocations: 100 kB / 0.5143 GB, free: 30.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.58e-05/0.3165, allocations: 38.86 kB / 0.5143 GB, free: 30.2 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0009295/0.3174, allocations: 1.155 MB / 0.5154 GB, free: 29.26 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3174, allocations: 0 / 0.5154 GB, free: 29.26 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002225/0.3196, allocations: 0.8372 MB / 0.5162 GB, free: 28.42 MB / 410.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.0002411/0.3199, allocations: 169.4 kB / 0.5164 GB, free: 28.25 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002798/0.3227, allocations: 2.666 MB / 0.519 GB, free: 25.94 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3227, allocations: 0 / 0.519 GB, free: 25.94 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007751/0.3235, allocations: 0.6281 MB / 0.5196 GB, free: 25.4 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008618/0.3243, allocations: 302.9 kB / 0.5199 GB, free: 25.14 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006783/0.3311, allocations: 6.931 MB / 0.5267 GB, free: 18.71 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008809/0.332, allocations: 1.094 MB / 0.5278 GB, free: 17.91 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0008796/0.3329, allocations: 457.7 kB / 0.5282 GB, free: 17.59 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005487/0.3334, allocations: 0.5054 MB / 0.5287 GB, free: 17.11 MB / 410.7 MB Notification: Performance of SimCode: time 1.032e-06/0.3334, allocations: 4 kB / 0.5287 GB, free: 17.11 MB / 410.7 MB Notification: Performance of Templates: time 0.03257/0.366, allocations: 23.39 MB / 0.5515 GB, free: 12.02 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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","",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.210018888115883]