Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.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.001689/0.001689, allocations: 80.23 kB / 21.18 MB, free: 3.379 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.001748/0.001748, allocations: 161 kB / 24.56 MB, free: 8 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.078/1.078, allocations: 177.1 MB / 205 MB, free: 5.277 MB / 186.7 MB " [Timeout remaining time 179] 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.7611/0.7611, allocations: 88.07 MB / 349.6 MB, free: 14.16 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.Verification.HarmonicOscillatorNetworkCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="der.v.[0-9,]+..|der.xm.[0-9,]+..|time|v.[0-9,]+.|xm.[0-9,]+.|xs.[0-9,]+.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck") translateModel(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="der.v.[0-9,]+..|der.xm.[0-9,]+..|time|v.[0-9,]+.|xm.[0-9,]+.|xs.[0-9,]+.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.635e-06/2.635e-06, allocations: 0 / 451.6 MB, free: 33.39 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.491e-05/3.754e-05, allocations: 4.422 kB / 451.6 MB, free: 33.39 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck): time 0.00211/0.002147, allocations: 1.245 MB / 452.8 MB, free: 32.55 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0002802/0.002427, allocations: 45.64 kB / 452.9 MB, free: 32.52 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.408e-05/0.002481, allocations: 0 / 452.9 MB, free: 32.52 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001321/0.002613, allocations: 3.938 kB / 452.9 MB, free: 32.52 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001116/0.002725, allocations: 10.11 kB / 452.9 MB, free: 32.52 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002678/0.002993, allocations: 31.34 kB / 452.9 MB, free: 32.5 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001989/0.003192, allocations: 101.4 kB / 453 MB, free: 32.48 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 6.621e-05/0.003258, allocations: 2.969 kB / 453 MB, free: 32.48 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 9.016e-05/0.003348, allocations: 48.98 kB / 453 MB, free: 32.46 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 9.477e-05/0.003443, allocations: 35.86 kB / 453.1 MB, free: 32.45 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 3.514e-05/0.003478, allocations: 5.812 kB / 453.1 MB, free: 32.45 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.942e-05/0.003497, allocations: 6.125 kB / 453.1 MB, free: 32.45 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 6.449e-05/0.003562, allocations: 27.38 kB / 453.1 MB, free: 32.44 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 5.415e-05/0.003616, allocations: 29.8 kB / 453.1 MB, free: 32.43 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001375/0.003754, allocations: 52.59 kB / 453.2 MB, free: 32.41 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.003757, allocations: 0 / 453.2 MB, free: 32.41 MB / 410.8 MB Notification: Performance of FrontEnd: time 2.444e-06/0.00376, allocations: 0 / 453.2 MB, free: 32.41 MB / 410.8 MB Notification: Performance of Transformations before backend: time 5.561e-06/0.003765, allocations: 0 / 453.2 MB, free: 32.41 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005654/0.004331, allocations: 425.5 kB / 453.6 MB, free: 32.04 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.934e-05/0.00439, allocations: 8.5 kB / 453.6 MB, free: 32.04 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.067e-05/0.004451, allocations: 12.17 kB / 453.6 MB, free: 32.03 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000143/0.004594, allocations: 125.7 kB / 453.8 MB, free: 31.89 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.611e-05/0.00461, allocations: 18.16 kB / 453.8 MB, free: 31.88 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.025e-05/0.00465, allocations: 10.34 kB / 453.8 MB, free: 31.88 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001607/0.004811, allocations: 58.11 kB / 453.8 MB, free: 31.84 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.004824, allocations: 3.125 kB / 453.8 MB, free: 31.84 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.833e-05/0.004842, allocations: 8.359 kB / 453.9 MB, free: 31.84 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/0.004853, allocations: 7.547 kB / 453.9 MB, free: 31.83 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.396e-05/0.004917, allocations: 22.41 kB / 453.9 MB, free: 31.83 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002017/0.005119, allocations: 145.1 kB / 454 MB, free: 31.67 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003433/0.005462, allocations: 103.4 kB / 454.1 MB, free: 31.62 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.761e-05/0.00551, allocations: 28.38 kB / 454.2 MB, free: 31.61 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.51e-05/0.005525, allocations: 6.5 kB / 454.2 MB, free: 31.61 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.677e-05/0.005552, allocations: 41.31 kB / 454.2 MB, free: 31.56 MB / 410.8 MB Notification: Performance of pre-optimization done (n=12): time 1.934e-06/0.005554, allocations: 0 / 454.2 MB, free: 31.56 MB / 410.8 MB Notification: Performance of matching and sorting (n=12): time 0.0005309/0.006085, allocations: 175 kB / 454.4 MB, free: 31.49 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.069e-05/0.006115, allocations: 54.38 kB / 454.4 MB, free: 31.43 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.062e-05/0.006186, allocations: 163.8 kB / 454.6 MB, free: 31.25 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.195e-05/0.006198, allocations: 32.39 kB / 454.6 MB, free: 31.22 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.069e-05/0.006229, allocations: 130.9 kB / 454.7 MB, free: 31.09 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.789e-05/0.006286, allocations: 61.55 kB / 454.8 MB, free: 31.04 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.354e-05/0.00633, allocations: 43.48 kB / 454.8 MB, free: 31 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 8.168e-05/0.006412, allocations: 0.4936 MB / 455.3 MB, free: 30.5 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.044e-05/0.006452, allocations: 29.3 kB / 455.4 MB, free: 30.5 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.229e-05/0.006524, allocations: 71.88 kB / 455.4 MB, free: 30.43 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001296/0.006654, allocations: 113.3 kB / 455.5 MB, free: 30.34 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.006658, allocations: 0 / 455.5 MB, free: 30.34 MB / 410.8 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002636/0.006922, allocations: 167.3 kB / 455.7 MB, free: 30.26 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.006939, allocations: 7.312 kB / 455.7 MB, free: 30.26 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.006946, allocations: 6.844 kB / 455.7 MB, free: 30.26 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002666/0.007212, allocations: 58.64 kB / 455.8 MB, free: 30.23 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.289e-05/0.007305, allocations: 29.86 kB / 455.8 MB, free: 30.23 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001016/0.008321, allocations: 1.835 MB / 457.6 MB, free: 28.44 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.762e-05/0.008359, allocations: 14.48 kB / 457.7 MB, free: 28.43 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.123e-05/0.00837, allocations: 5.219 kB / 457.7 MB, free: 28.43 MB / 410.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (17): * Single equations (assignments): 16 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.082e-05/0.008451, allocations: 163.1 kB / 457.8 MB, free: 28.26 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.695e-05/0.008468, allocations: 21.08 kB / 457.8 MB, free: 28.25 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.227e-05/0.00849, allocations: 15.36 kB / 457.9 MB, free: 28.24 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.008494, allocations: 2.531 kB / 457.9 MB, free: 28.24 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.008497, allocations: 0 / 457.9 MB, free: 28.24 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.008503, allocations: 6.812 kB / 457.9 MB, free: 28.23 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.755e-05/0.0086, allocations: 137.5 kB / 458 MB, free: 28.08 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.008603, allocations: 0 / 458 MB, free: 28.08 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001075/0.008711, allocations: 26.2 kB / 458 MB, free: 28.08 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000166/0.008877, allocations: 53.73 kB / 458.1 MB, free: 28.06 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.061e-05/0.008897, allocations: 9.859 kB / 458.1 MB, free: 28.06 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007727/0.00967, allocations: 1.833 MB / 459.9 MB, free: 26.26 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.009671, allocations: 0 / 459.9 MB, free: 26.26 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002512/0.009922, allocations: 214 kB / 460.1 MB, free: 26.13 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.772e-06/0.009929, allocations: 6.484 kB / 460.1 MB, free: 26.12 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.748e-05/0.009946, allocations: 10.05 kB / 460.1 MB, free: 26.12 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.479e-05/0.009971, allocations: 4 kB / 460.2 MB, free: 26.12 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.504e-05/0.01001, allocations: 8.203 kB / 460.2 MB, free: 26.12 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.037e-06/0.01002, allocations: 9.734 kB / 460.2 MB, free: 26.11 MB / 410.8 MB Notification: Performance of sorting global known variables: time 2.815e-05/0.01004, allocations: 121.4 kB / 460.3 MB, free: 26 MB / 410.8 MB Notification: Performance of sort global known variables: time 6e-08/0.01004, allocations: 0 / 460.3 MB, free: 26 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001656/0.01021, allocations: 31.09 kB / 460.3 MB, free: 25.99 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (xm[1],xm[2],xm[3],xm[4],v[1],v[2],v[3],v[4]) * 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 (9): * Single equations (assignments): 8 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.468e-05/0.0103, allocations: 101.2 kB / 460.4 MB, free: 25.9 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0005125/0.01082, allocations: 280.9 kB / 460.7 MB, free: 25.7 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.01082, allocations: 0 / 460.7 MB, free: 25.7 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001864/0.01101, allocations: 235.5 kB / 460.9 MB, free: 25.5 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001741/0.01118, allocations: 6.938 kB / 460.9 MB, free: 25.5 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006256/0.01181, allocations: 492.6 kB / 461.4 MB, free: 25.11 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.293e-05/0.01185, allocations: 69.42 kB / 461.5 MB, free: 25.04 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 4.538e-05/0.01189, allocations: 25.84 kB / 461.5 MB, free: 25.04 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.687e-05/0.01193, allocations: 11.5 kB / 461.5 MB, free: 25.04 MB / 410.8 MB Notification: Performance of SimCode: time 1.012e-06/0.01193, allocations: 0 / 461.5 MB, free: 25.04 MB / 410.8 MB Notification: Performance of Templates: time 0.004137/0.01607, allocations: 1.43 MB / 462.9 MB, free: 24.92 MB / 410.8 MB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.makefile [Timeout 300] (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck_res.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.291038556024432]