Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.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.0023/0.0023, 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.002897/0.002897, allocations: 165.3 kB / 24.27 MB, free: 160 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.647/1.647, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo): time 0.9848/0.9848, allocations: 88.08 MB / 349.2 MB, free: 14.22 MB / 330.7 MB " [Timeout remaining time 179] Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/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(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="der.v.10..|der.v.1..|der.v.2..|der.v.3..|der.v.4..|der.v.5..|der.xm.10..|der.xm.1..|der.xm.2..|der.xm.3..|der.xm.4..|der.xm.5..|time|time|v.10.|v.1.|v.2.|v.3.|v.4.|v.5.|xm.10.|xm.1.|xm.2.|xm.3.|xm.4.|xm.5.|xs.10.|xs.1.|xs.2.|xs.3.|xs.4.|xs.5.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10") translateModel(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="der.v.10..|der.v.1..|der.v.2..|der.v.3..|der.v.4..|der.v.5..|der.xm.10..|der.xm.1..|der.xm.2..|der.xm.3..|der.xm.4..|der.xm.5..|time|time|v.10.|v.1.|v.2.|v.3.|v.4.|v.5.|xm.10.|xm.1.|xm.2.|xm.3.|xm.4.|xm.5.|xs.10.|xs.1.|xs.2.|xs.3.|xs.4.|xs.5.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.244e-06/2.244e-06, allocations: 3.938 kB / 450.9 MB, free: 33.11 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.392e-05/3.617e-05, allocations: 4.719 kB / 450.9 MB, free: 33.11 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10): time 0.002317/0.002353, allocations: 1.246 MB / 452.2 MB, free: 32.25 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0002082/0.002561, allocations: 42.58 kB / 452.2 MB, free: 32.22 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.889e-05/0.0026, allocations: 0 / 452.2 MB, free: 32.22 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001072/0.002708, allocations: 7.219 kB / 452.2 MB, free: 32.22 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 7.539e-05/0.002783, allocations: 6.781 kB / 452.2 MB, free: 32.21 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002121/0.002995, allocations: 30.61 kB / 452.2 MB, free: 32.2 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002491/0.003244, allocations: 228.7 kB / 452.5 MB, free: 32.14 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.192e-05/0.003286, allocations: 9.906 kB / 452.5 MB, free: 32.14 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001306/0.003417, allocations: 106.8 kB / 452.6 MB, free: 32.11 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001355/0.003552, allocations: 72.58 kB / 452.6 MB, free: 32.09 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 4.409e-05/0.003596, allocations: 8.844 kB / 452.7 MB, free: 32.09 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.633e-05/0.003632, allocations: 11.69 kB / 452.7 MB, free: 32.09 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 8.578e-05/0.003718, allocations: 67.69 kB / 452.7 MB, free: 32.06 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 7.94e-05/0.003798, allocations: 58.48 kB / 452.8 MB, free: 32.04 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001592/0.003957, allocations: 122.4 kB / 452.9 MB, free: 32.02 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.00396, allocations: 0 / 452.9 MB, free: 32.02 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.242e-06/0.003962, allocations: 0 / 452.9 MB, free: 32.02 MB / 410.8 MB Notification: Performance of Transformations before backend: time 6.182e-06/0.003968, allocations: 0 / 452.9 MB, free: 32.02 MB / 410.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0009528/0.004921, allocations: 0.5598 MB / 453.5 MB, free: 31.6 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.004964, allocations: 8.594 kB / 453.5 MB, free: 31.6 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.934e-05/0.005043, allocations: 33.73 kB / 453.5 MB, free: 31.59 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002289/0.005272, allocations: 143.4 kB / 453.7 MB, free: 31.45 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.864e-05/0.005291, allocations: 14.25 kB / 453.7 MB, free: 31.44 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.373e-05/0.005344, allocations: 29.78 kB / 453.7 MB, free: 31.43 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002488/0.005593, allocations: 122.3 kB / 453.8 MB, free: 31.38 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.773e-05/0.005611, allocations: 3 kB / 453.8 MB, free: 31.38 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.997e-05/0.005631, allocations: 4.375 kB / 453.8 MB, free: 31.38 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.005638, allocations: 7.219 kB / 453.8 MB, free: 31.37 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001599/0.005798, allocations: 72.64 kB / 453.9 MB, free: 31.36 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002784/0.006076, allocations: 196 kB / 454.1 MB, free: 31.17 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00047/0.006546, allocations: 191.4 kB / 454.3 MB, free: 31.1 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001158/0.006662, allocations: 68.12 kB / 454.3 MB, free: 31.07 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.53e-05/0.006687, allocations: 5.406 kB / 454.3 MB, free: 31.07 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.89e-05/0.006706, allocations: 36.67 kB / 454.4 MB, free: 31.03 MB / 410.8 MB Notification: Performance of pre-optimization done (n=30): time 1.283e-06/0.006707, allocations: 0 / 454.4 MB, free: 31.03 MB / 410.8 MB Notification: Performance of matching and sorting (n=30): time 0.001526/0.008233, allocations: 419.8 kB / 454.8 MB, free: 30.91 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.421e-05/0.008267, allocations: 54.19 kB / 454.8 MB, free: 30.85 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.595e-05/0.008343, allocations: 165.6 kB / 455 MB, free: 30.68 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 2.405e-05/0.008367, allocations: 33.7 kB / 455 MB, free: 30.64 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.073e-05/0.008408, allocations: 141.7 kB / 455.2 MB, free: 30.5 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 9.853e-05/0.008506, allocations: 134 kB / 455.3 MB, free: 30.4 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001064/0.008613, allocations: 93.2 kB / 455.4 MB, free: 30.34 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.008736, allocations: 0.5073 MB / 455.9 MB, free: 29.84 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001188/0.008855, allocations: 59.45 kB / 456 MB, free: 29.83 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001722/0.009027, allocations: 179.9 kB / 456.1 MB, free: 29.67 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003295/0.009357, allocations: 276.7 kB / 456.4 MB, free: 29.48 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.009359, allocations: 0 / 456.4 MB, free: 29.48 MB / 410.8 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008019/0.01016, allocations: 390.9 kB / 456.8 MB, free: 29.33 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.329e-05/0.01018, allocations: 8.375 kB / 456.8 MB, free: 29.33 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.01019, allocations: 2.906 kB / 456.8 MB, free: 29.33 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006921/0.01089, allocations: 131.3 kB / 456.9 MB, free: 29.3 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002547/0.01114, allocations: 84.09 kB / 457 MB, free: 29.3 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002027/0.01317, allocations: 2.168 MB / 459.2 MB, free: 27.39 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001446/0.01331, allocations: 31.86 kB / 459.2 MB, free: 27.38 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.318e-05/0.01334, allocations: 11.38 kB / 459.2 MB, free: 27.38 MB / 410.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001232/0.01346, allocations: 178.1 kB / 459.4 MB, free: 27.2 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.064e-05/0.0135, allocations: 19.39 kB / 459.4 MB, free: 27.19 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.367e-05/0.01359, allocations: 33.31 kB / 459.5 MB, free: 27.16 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.0136, allocations: 5.75 kB / 459.5 MB, free: 27.16 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.143e-05/0.01362, allocations: 7.969 kB / 459.5 MB, free: 27.15 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.73e-06/0.01362, allocations: 7.266 kB / 459.5 MB, free: 27.15 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002017/0.01383, allocations: 187.2 kB / 459.7 MB, free: 26.97 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.01383, allocations: 2.781 kB / 459.7 MB, free: 26.97 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003621/0.01419, allocations: 63.08 kB / 459.7 MB, free: 26.96 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005834/0.01477, allocations: 125.8 kB / 459.8 MB, free: 26.94 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.278e-05/0.01481, allocations: 12.98 kB / 459.9 MB, free: 26.93 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001872/0.01668, allocations: 2.148 MB / 462 MB, free: 25.05 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.01668, allocations: 0 / 462 MB, free: 25.05 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009064/0.01759, allocations: 449.9 kB / 462.4 MB, free: 24.86 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.384e-05/0.0176, allocations: 13.73 kB / 462.5 MB, free: 24.85 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.615e-05/0.01764, allocations: 13.12 kB / 462.5 MB, free: 24.84 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.01774, allocations: 6.75 kB / 462.5 MB, free: 24.84 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.17e-05/0.01781, allocations: 23.19 kB / 462.5 MB, free: 24.84 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.599e-05/0.01783, allocations: 10.03 kB / 462.5 MB, free: 24.83 MB / 410.8 MB Notification: Performance of sorting global known variables: time 4.746e-05/0.01788, allocations: 126.2 kB / 462.6 MB, free: 24.71 MB / 410.8 MB Notification: Performance of sort global known variables: time 5e-08/0.01788, allocations: 0 / 462.6 MB, free: 24.71 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0003274/0.01821, allocations: 72.59 kB / 462.7 MB, free: 24.7 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 20 (xm[1],xm[2],xm[3],xm[4],xm[5],xm[6],xm[7],xm[8],xm[9],xm[10],v[1],v[2],v[3],v[4],v[5],v[6],v[7],v[8],v[9],v[10]) * 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 (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001378/0.01834, allocations: 114.2 kB / 462.8 MB, free: 24.6 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0009472/0.01929, allocations: 462.8 kB / 463.3 MB, free: 24.35 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.01929, allocations: 2.969 kB / 463.3 MB, free: 24.35 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0005552/0.01985, allocations: 360.7 kB / 463.6 MB, free: 24.12 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002422/0.02009, allocations: 18.41 kB / 463.6 MB, free: 24.11 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001266/0.02136, allocations: 1.02 MB / 464.7 MB, free: 23.34 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001033/0.02146, allocations: 122.6 kB / 464.8 MB, free: 23.27 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0001064/0.02157, allocations: 54.56 kB / 464.8 MB, free: 23.27 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.446e-05/0.02161, allocations: 20.09 kB / 464.9 MB, free: 23.26 MB / 410.8 MB Notification: Performance of SimCode: time 9.72e-07/0.02161, allocations: 0 / 464.9 MB, free: 23.26 MB / 410.8 MB Notification: Performance of Templates: time 0.006719/0.02833, allocations: 2.887 MB / 467.7 MB, free: 23 MB / 410.8 MB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.makefile [Timeout 300] (rm -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.sim & ./ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.pipe 2>&1) [Timeout 240] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.146408366970718]