Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_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.001386/0.001386, allocations: 75.75 kB / 21.69 MB, free: 2.852 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.001489/0.001489, allocations: 165.5 kB / 24.99 MB, free: 9.281 MB / 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 0.9515/0.9515, allocations: 177.1 MB / 205.3 MB, free: 5.625 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.598/0.598, allocations: 88.08 MB / 349.9 MB, free: 14.29 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_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_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 451.5 MB, free: 33.35 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.424e-05/1.579e-05, allocations: 5.484 kB / 451.5 MB, free: 33.34 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck): time 0.001273/0.001289, allocations: 1.258 MB / 452.8 MB, free: 32.48 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0001542/0.001443, allocations: 40.17 kB / 452.8 MB, free: 32.46 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.637e-05/0.001479, allocations: 0 / 452.8 MB, free: 32.46 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 7.468e-05/0.001554, allocations: 3.188 kB / 452.8 MB, free: 32.46 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 5.735e-05/0.001611, allocations: 9.844 kB / 452.9 MB, free: 32.46 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001588/0.00177, allocations: 27.56 kB / 452.9 MB, free: 32.45 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001152/0.001885, allocations: 104.2 kB / 453 MB, free: 32.42 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.815e-05/0.001924, allocations: 10.95 kB / 453 MB, free: 32.41 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 5.315e-05/0.001977, allocations: 41.06 kB / 453 MB, free: 32.41 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 6.312e-05/0.00204, allocations: 39.72 kB / 453.1 MB, free: 32.39 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.104e-05/0.002061, allocations: 6.875 kB / 453.1 MB, free: 32.39 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.338e-05/0.002074, allocations: 5.812 kB / 453.1 MB, free: 32.39 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 4.082e-05/0.002115, allocations: 27.36 kB / 453.1 MB, free: 32.38 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 3.288e-05/0.002148, allocations: 26.36 kB / 453.1 MB, free: 32.37 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 7.356e-05/0.002221, allocations: 44.61 kB / 453.2 MB, free: 32.36 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.002223, allocations: 2.906 kB / 453.2 MB, free: 32.36 MB / 410.8 MB Notification: Performance of FrontEnd: time 9.22e-07/0.002224, allocations: 0 / 453.2 MB, free: 32.36 MB / 410.8 MB Notification: Performance of Transformations before backend: time 3.186e-06/0.002227, allocations: 0 / 453.2 MB, free: 32.36 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.0003545/0.002582, allocations: 426.8 kB / 453.6 MB, free: 31.98 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.002619, allocations: 11.91 kB / 453.6 MB, free: 31.98 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.005e-05/0.002659, allocations: 8.234 kB / 453.6 MB, free: 31.98 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001003/0.002759, allocations: 135.2 kB / 453.8 MB, free: 31.84 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.727e-06/0.002768, allocations: 3.125 kB / 453.8 MB, free: 31.84 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.316e-05/0.002791, allocations: 15.69 kB / 453.8 MB, free: 31.83 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.74e-05/0.002889, allocations: 67.75 kB / 453.8 MB, free: 31.79 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.002898, allocations: 192 / 453.8 MB, free: 31.79 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.002909, allocations: 3.125 kB / 453.8 MB, free: 31.79 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.002915, allocations: 384 / 453.8 MB, free: 31.79 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.625e-05/0.002961, allocations: 29.48 kB / 453.9 MB, free: 31.78 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001302/0.003091, allocations: 140.9 kB / 454 MB, free: 31.62 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002287/0.00332, allocations: 113.2 kB / 454.1 MB, free: 31.57 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.536e-05/0.003355, allocations: 26.66 kB / 454.1 MB, free: 31.55 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 8.916e-06/0.003364, allocations: 2.844 kB / 454.1 MB, free: 31.55 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.41e-05/0.003378, allocations: 40.23 kB / 454.2 MB, free: 31.5 MB / 410.8 MB Notification: Performance of pre-optimization done (n=12): time 9.42e-07/0.003379, allocations: 0 / 454.2 MB, free: 31.5 MB / 410.8 MB Notification: Performance of matching and sorting (n=12): time 0.0003912/0.003771, allocations: 179.7 kB / 454.4 MB, free: 31.43 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.867e-05/0.003789, allocations: 51.41 kB / 454.4 MB, free: 31.37 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.974e-05/0.003829, allocations: 159.8 kB / 454.6 MB, free: 31.2 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 8.125e-06/0.003837, allocations: 32.89 kB / 454.6 MB, free: 31.17 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 1.682e-05/0.003854, allocations: 133.8 kB / 454.7 MB, free: 31.04 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.365e-05/0.003888, allocations: 52.75 kB / 454.8 MB, free: 30.99 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.602e-05/0.003924, allocations: 49.31 kB / 454.8 MB, free: 30.95 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 3.866e-05/0.003962, allocations: 0.4908 MB / 455.3 MB, free: 30.46 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.442e-05/0.003997, allocations: 25.28 kB / 455.3 MB, free: 30.45 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.995e-05/0.004047, allocations: 84.17 kB / 455.4 MB, free: 30.38 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.897e-05/0.004136, allocations: 109.6 kB / 455.5 MB, free: 30.29 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.004137, allocations: 0 / 455.5 MB, free: 30.29 MB / 410.8 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001951/0.004333, allocations: 170.9 kB / 455.7 MB, free: 30.2 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.045e-05/0.004343, allocations: 5.562 kB / 455.7 MB, free: 30.2 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.004348, allocations: 9.828 kB / 455.7 MB, free: 30.2 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000207/0.004555, allocations: 60.31 kB / 455.8 MB, free: 30.18 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.004e-05/0.004625, allocations: 34.22 kB / 455.8 MB, free: 30.17 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006641/0.005289, allocations: 1.823 MB / 457.6 MB, free: 28.39 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.185e-05/0.005321, allocations: 10.73 kB / 457.6 MB, free: 28.38 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.00533, allocations: 4.969 kB / 457.6 MB, free: 28.38 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 5.392e-05/0.005384, allocations: 166.8 kB / 457.8 MB, free: 28.21 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.277e-05/0.005396, allocations: 13.58 kB / 457.8 MB, free: 28.2 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.899e-05/0.005415, allocations: 16.12 kB / 457.8 MB, free: 28.19 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.005417, allocations: 2.781 kB / 457.8 MB, free: 28.19 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.00542, allocations: 0 / 457.8 MB, free: 28.19 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.005423, allocations: 0 / 457.8 MB, free: 28.19 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.874e-05/0.005501, allocations: 148.2 kB / 458 MB, free: 28.03 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.005503, allocations: 0 / 458 MB, free: 28.03 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.871e-05/0.005601, allocations: 28.67 kB / 458 MB, free: 28.03 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001398/0.005741, allocations: 52.75 kB / 458.1 MB, free: 28.01 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.624e-05/0.005757, allocations: 8.5 kB / 458.1 MB, free: 28.01 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005784/0.006336, allocations: 1.834 MB / 459.9 MB, free: 26.21 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.006337, allocations: 3.062 kB / 459.9 MB, free: 26.21 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002235/0.00656, allocations: 209 kB / 460.1 MB, free: 26.08 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.21e-06/0.006565, allocations: 10.8 kB / 460.1 MB, free: 26.07 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.222e-05/0.006578, allocations: 9.859 kB / 460.1 MB, free: 26.07 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.259e-05/0.0066, allocations: 3.938 kB / 460.1 MB, free: 26.07 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.249e-05/0.006623, allocations: 15.94 kB / 460.2 MB, free: 26.06 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/0.006628, allocations: 2.531 kB / 460.2 MB, free: 26.06 MB / 410.8 MB Notification: Performance of sorting global known variables: time 1.625e-05/0.006644, allocations: 122.5 kB / 460.3 MB, free: 25.95 MB / 410.8 MB Notification: Performance of sort global known variables: time 5e-08/0.006644, allocations: 0 / 460.3 MB, free: 25.95 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001485/0.006793, allocations: 25.91 kB / 460.3 MB, free: 25.94 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 6.209e-05/0.006855, allocations: 106.4 kB / 460.4 MB, free: 25.85 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0002747/0.00713, allocations: 277.4 kB / 460.7 MB, free: 25.64 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.007132, allocations: 0 / 460.7 MB, free: 25.64 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001148/0.007246, allocations: 232.4 kB / 460.9 MB, free: 25.45 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001285/0.007375, allocations: 9.062 kB / 460.9 MB, free: 25.45 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004312/0.007806, allocations: 493.5 kB / 461.4 MB, free: 25.07 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.447e-05/0.007831, allocations: 68.78 kB / 461.5 MB, free: 25 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 3.297e-05/0.007864, allocations: 22.11 kB / 461.5 MB, free: 25 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.24e-05/0.007886, allocations: 18.16 kB / 461.5 MB, free: 24.99 MB / 410.8 MB Notification: Performance of SimCode: time 6.61e-07/0.007887, allocations: 3.938 kB / 461.5 MB, free: 24.98 MB / 410.8 MB Notification: Performance of Templates: time 0.002967/0.01085, allocations: 1.408 MB / 462.9 MB, free: 24.86 MB / 410.8 MB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.makefile [Timeout 300] (rm -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.sim & ./ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("ScalableTestSuite_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: 3.64299724297598]