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.001532/0.001532, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.001673/0.001673, allocations: 161 kB / 24.56 MB, free: 16 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 0.9582/0.9582, allocations: 177.1 MB / 205 MB, free: 5.641 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.6684/0.6684, allocations: 88.09 MB / 349.6 MB, free: 14.31 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.883e-06/1.883e-06, allocations: 0 / 451.6 MB, free: 33.38 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.63e-05/2.818e-05, allocations: 2.312 kB / 451.6 MB, free: 33.38 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck): time 0.001648/0.001676, allocations: 1.256 MB / 452.8 MB, free: 32.53 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0001929/0.001869, allocations: 37.83 kB / 452.9 MB, free: 32.51 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.497e-05/0.001904, allocations: 0 / 452.9 MB, free: 32.51 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 8.658e-05/0.00199, allocations: 7.406 kB / 452.9 MB, free: 32.5 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 6.945e-05/0.00206, allocations: 14.05 kB / 452.9 MB, free: 32.5 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001793/0.002239, allocations: 27.09 kB / 452.9 MB, free: 32.48 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001285/0.002367, allocations: 107 kB / 453 MB, free: 32.45 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.153e-05/0.002409, allocations: 2.906 kB / 453 MB, free: 32.45 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 6.095e-05/0.00247, allocations: 47.97 kB / 453.1 MB, free: 32.44 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 6.763e-05/0.002538, allocations: 29.69 kB / 453.1 MB, free: 32.43 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.29e-05/0.00256, allocations: 5.812 kB / 453.1 MB, free: 32.43 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.545e-05/0.002576, allocations: 9.75 kB / 453.1 MB, free: 32.43 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 6.301e-05/0.002639, allocations: 27.45 kB / 453.1 MB, free: 32.42 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 4.203e-05/0.002681, allocations: 25.33 kB / 453.2 MB, free: 32.41 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 9.137e-05/0.002772, allocations: 55.45 kB / 453.2 MB, free: 32.4 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.002775, allocations: 4 kB / 453.2 MB, free: 32.39 MB / 410.8 MB Notification: Performance of FrontEnd: time 9.62e-07/0.002776, allocations: 0 / 453.2 MB, free: 32.39 MB / 410.8 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.002781, allocations: 0 / 453.2 MB, free: 32.39 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.0004175/0.003199, allocations: 428.2 kB / 453.6 MB, free: 32.01 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.003238, allocations: 10.97 kB / 453.6 MB, free: 32.01 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.203e-05/0.00328, allocations: 8.172 kB / 453.6 MB, free: 32.01 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.938e-05/0.003379, allocations: 129.5 kB / 453.8 MB, free: 31.87 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.848e-06/0.003389, allocations: 7.281 kB / 453.8 MB, free: 31.87 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.966e-05/0.003419, allocations: 10.19 kB / 453.8 MB, free: 31.86 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.852e-05/0.003517, allocations: 64.94 kB / 453.9 MB, free: 31.82 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.003527, allocations: 192 / 453.9 MB, free: 31.82 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.003538, allocations: 7.281 kB / 453.9 MB, free: 31.82 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.003545, allocations: 384 / 453.9 MB, free: 31.82 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.353e-05/0.003599, allocations: 30.7 kB / 453.9 MB, free: 31.81 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000144/0.003743, allocations: 146.6 kB / 454 MB, free: 31.65 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000251/0.003994, allocations: 105.9 kB / 454.1 MB, free: 31.6 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.915e-05/0.004033, allocations: 29.61 kB / 454.2 MB, free: 31.59 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.103e-05/0.004044, allocations: 0 / 454.2 MB, free: 31.59 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.895e-05/0.004063, allocations: 41.02 kB / 454.2 MB, free: 31.54 MB / 410.8 MB Notification: Performance of pre-optimization done (n=12): time 9.92e-07/0.004064, allocations: 0 / 454.2 MB, free: 31.54 MB / 410.8 MB Notification: Performance of matching and sorting (n=12): time 0.000407/0.004471, allocations: 176.6 kB / 454.4 MB, free: 31.46 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.91e-05/0.00449, allocations: 57.34 kB / 454.4 MB, free: 31.4 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.806e-05/0.004538, allocations: 160.7 kB / 454.6 MB, free: 31.23 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 9.578e-06/0.004548, allocations: 28.64 kB / 454.6 MB, free: 31.2 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 1.764e-05/0.004565, allocations: 134.1 kB / 454.8 MB, free: 31.07 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.987e-05/0.004605, allocations: 52.59 kB / 454.8 MB, free: 31.02 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.889e-05/0.004644, allocations: 44.89 kB / 454.8 MB, free: 30.99 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.563e-05/0.00469, allocations: 0.4972 MB / 455.3 MB, free: 30.49 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.45e-05/0.004724, allocations: 29.38 kB / 455.4 MB, free: 30.48 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.201e-05/0.004776, allocations: 75.89 kB / 455.4 MB, free: 30.41 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.454e-05/0.004871, allocations: 119.2 kB / 455.6 MB, free: 30.32 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.004873, allocations: 0 / 455.6 MB, free: 30.32 MB / 410.8 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002196/0.005093, allocations: 167.8 kB / 455.7 MB, free: 30.24 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.005107, allocations: 5.844 kB / 455.7 MB, free: 30.24 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.005114, allocations: 10.78 kB / 455.7 MB, free: 30.23 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002373/0.005351, allocations: 51.53 kB / 455.8 MB, free: 30.21 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.595e-05/0.005427, allocations: 31.3 kB / 455.8 MB, free: 30.21 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007678/0.006195, allocations: 1.827 MB / 457.7 MB, free: 28.43 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.419e-05/0.006229, allocations: 14.45 kB / 457.7 MB, free: 28.41 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.346e-06/0.006238, allocations: 5.219 kB / 457.7 MB, free: 28.41 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.566e-05/0.006293, allocations: 163 kB / 457.8 MB, free: 28.25 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.419e-05/0.006308, allocations: 17.42 kB / 457.8 MB, free: 28.23 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.813e-05/0.006326, allocations: 18.69 kB / 457.9 MB, free: 28.22 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.006327, allocations: 336 / 457.9 MB, free: 28.22 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.006333, allocations: 5.844 kB / 457.9 MB, free: 28.22 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.006336, allocations: 0 / 457.9 MB, free: 28.22 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.295e-05/0.006409, allocations: 130 kB / 458 MB, free: 28.07 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.006411, allocations: 3.938 kB / 458 MB, free: 28.07 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.846e-05/0.006509, allocations: 34.89 kB / 458 MB, free: 28.07 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001426/0.006652, allocations: 58.06 kB / 458.1 MB, free: 28.04 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.006664, allocations: 0 / 458.1 MB, free: 28.04 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005777/0.007242, allocations: 1.834 MB / 459.9 MB, free: 26.25 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.007244, allocations: 4.031 kB / 459.9 MB, free: 26.25 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002374/0.007481, allocations: 214.9 kB / 460.1 MB, free: 26.12 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.38e-06/0.007486, allocations: 3.953 kB / 460.1 MB, free: 26.11 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.078e-05/0.007497, allocations: 6.781 kB / 460.2 MB, free: 26.11 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.317e-05/0.00752, allocations: 6.906 kB / 460.2 MB, free: 26.11 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.41e-05/0.007544, allocations: 13.08 kB / 460.2 MB, free: 26.1 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/0.00755, allocations: 2.656 kB / 460.2 MB, free: 26.1 MB / 410.8 MB Notification: Performance of sorting global known variables: time 1.758e-05/0.007567, allocations: 130 kB / 460.3 MB, free: 25.98 MB / 410.8 MB Notification: Performance of sort global known variables: time 8e-08/0.007567, allocations: 0 / 460.3 MB, free: 25.98 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001601/0.007728, allocations: 27.69 kB / 460.3 MB, free: 25.97 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 8.216e-05/0.00781, allocations: 103.7 kB / 460.4 MB, free: 25.88 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.000315/0.008125, allocations: 275.3 kB / 460.7 MB, free: 25.68 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.008126, allocations: 0 / 460.7 MB, free: 25.68 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001294/0.008256, allocations: 233.9 kB / 460.9 MB, free: 25.49 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000145/0.008401, allocations: 10.27 kB / 460.9 MB, free: 25.48 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004978/0.008899, allocations: 492.4 kB / 461.4 MB, free: 25.1 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.034e-05/0.008929, allocations: 73.95 kB / 461.5 MB, free: 25.02 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 3.464e-05/0.008964, allocations: 19.66 kB / 461.5 MB, free: 25.02 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.919e-05/0.008993, allocations: 13.81 kB / 461.5 MB, free: 25.02 MB / 410.8 MB Notification: Performance of SimCode: time 1.062e-06/0.008994, allocations: 0 / 461.5 MB, free: 25.02 MB / 410.8 MB Notification: Performance of Templates: time 0.003203/0.0122, allocations: 1.4 MB / 462.9 MB, free: 24.9 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: 4.063573430292308]