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.001187/0.001187, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001829/0.003015, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001064/0.001064, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001412/0.002476, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.9402/0.9402, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1159/1.056, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.4.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.4.0-master/package.mo): time 0.8517/0.8517, allocations: 88.08 MB / 332.1 MB, free: 14.18 MB / 330.8 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06083/0.9126, allocations: 32.92 MB / 365 MB, free: 13.45 MB / 362.8 MB " [Timeout remaining time 179] Using package ScalableTestSuite with version 2.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.4.0-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="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="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 1.713e-06/1.713e-06, allocations: 0 / 366.2 MB, free: 12.29 MB / 362.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.704e-05/2.875e-05, allocations: 4.281 kB / 366.2 MB, free: 12.28 MB / 362.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck): time 0.002585/0.002614, allocations: 1.3 MB / 367.5 MB, free: 10.97 MB / 362.8 MB Notification: Performance of NFInst.instExpressions: time 0.0001119/0.002725, allocations: 39.88 kB / 367.5 MB, free: 10.93 MB / 362.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.827e-05/0.002754, allocations: 0 / 367.5 MB, free: 10.93 MB / 362.8 MB Notification: Performance of NFTyping.typeComponents: time 3.699e-05/0.002791, allocations: 15.92 kB / 367.5 MB, free: 10.91 MB / 362.8 MB Notification: Performance of NFTyping.typeBindings: time 5.396e-05/0.002845, allocations: 4 kB / 367.5 MB, free: 10.91 MB / 362.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000138/0.002983, allocations: 23.94 kB / 367.5 MB, free: 10.89 MB / 362.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001844/0.003167, allocations: 107.8 kB / 367.7 MB, free: 10.78 MB / 362.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.237e-05/0.003219, allocations: 3.984 kB / 367.7 MB, free: 10.78 MB / 362.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001045/0.003324, allocations: 51.95 kB / 367.7 MB, free: 10.73 MB / 362.8 MB Notification: Performance of NFSimplifyModel.simplify: time 9.199e-05/0.003416, allocations: 35.88 kB / 367.7 MB, free: 10.69 MB / 362.8 MB Notification: Performance of NFPackage.collectConstants: time 3.289e-05/0.003449, allocations: 4 kB / 367.7 MB, free: 10.69 MB / 362.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.858e-05/0.003467, allocations: 4 kB / 367.7 MB, free: 10.68 MB / 362.8 MB Notification: Performance of NFScalarize.scalarize: time 5.366e-05/0.003521, allocations: 23.92 kB / 367.8 MB, free: 10.66 MB / 362.8 MB Notification: Performance of NFVerifyModel.verify: time 3.967e-05/0.003561, allocations: 20 kB / 367.8 MB, free: 10.64 MB / 362.8 MB Notification: Performance of NFConvertDAE.convert: time 9.187e-05/0.003653, allocations: 43.77 kB / 367.8 MB, free: 10.6 MB / 362.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.672e-05/0.003669, allocations: 0 / 367.8 MB, free: 10.6 MB / 362.8 MB Notification: Performance of FrontEnd: time 1.383e-06/0.003671, allocations: 4 kB / 367.8 MB, free: 10.59 MB / 362.8 MB Notification: Performance of Transformations before backend: time 1.601e-05/0.003687, allocations: 0 / 367.8 MB, free: 10.59 MB / 362.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.0005031/0.00419, allocations: 297.2 kB / 368.1 MB, free: 10.28 MB / 362.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.004233, allocations: 12.03 kB / 368.1 MB, free: 10.27 MB / 362.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.554e-05/0.004279, allocations: 12.92 kB / 368.2 MB, free: 10.25 MB / 362.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001511/0.00443, allocations: 125.7 kB / 368.3 MB, free: 10.11 MB / 362.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/0.004446, allocations: 8.375 kB / 368.3 MB, free: 10.1 MB / 362.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.826e-05/0.004474, allocations: 4.375 kB / 368.3 MB, free: 10.09 MB / 362.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001073/0.004581, allocations: 66.16 kB / 368.4 MB, free: 10.02 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.004591, allocations: 192 / 368.4 MB, free: 10.02 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.004602, allocations: 4.359 kB / 368.4 MB, free: 10.02 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.595e-06/0.004609, allocations: 8.375 kB / 368.4 MB, free: 10.01 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.601e-05/0.004655, allocations: 17.25 kB / 368.4 MB, free: 9.996 MB / 362.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001587/0.004814, allocations: 95.75 kB / 368.5 MB, free: 9.887 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002693/0.005083, allocations: 86.53 kB / 368.6 MB, free: 9.793 MB / 362.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.826e-05/0.005122, allocations: 24.84 kB / 368.6 MB, free: 9.766 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.279e-05/0.005135, allocations: 4 kB / 368.6 MB, free: 9.762 MB / 362.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.548e-05/0.00516, allocations: 30.56 kB / 368.6 MB, free: 9.723 MB / 362.8 MB Notification: Performance of pre-optimization done (n=12): time 1.553e-06/0.005162, allocations: 3.938 kB / 368.6 MB, free: 9.719 MB / 362.8 MB Notification: Performance of matching and sorting (n=12): time 0.0004229/0.005584, allocations: 142.4 kB / 368.8 MB, free: 9.57 MB / 362.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.609e-05/0.005621, allocations: 59.28 kB / 368.8 MB, free: 9.5 MB / 362.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.488e-05/0.005685, allocations: 102.7 kB / 368.9 MB, free: 9.387 MB / 362.8 MB Notification: Performance of collectPreVariables (initialization): time 1.787e-05/0.005703, allocations: 33.7 kB / 369 MB, free: 9.348 MB / 362.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.827e-05/0.005732, allocations: 80.14 kB / 369 MB, free: 9.266 MB / 362.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.845e-05/0.00579, allocations: 51.56 kB / 369.1 MB, free: 9.215 MB / 362.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.666e-05/0.005857, allocations: 37.69 kB / 369.1 MB, free: 9.172 MB / 362.8 MB Notification: Performance of setup shared object (initialization): time 9.945e-05/0.005956, allocations: 322.8 kB / 369.4 MB, free: 8.848 MB / 362.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.087e-05/0.005987, allocations: 19.98 kB / 369.5 MB, free: 8.828 MB / 362.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.775e-05/0.006045, allocations: 48.28 kB / 369.5 MB, free: 8.766 MB / 362.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001122/0.006157, allocations: 84.77 kB / 369.6 MB, free: 8.668 MB / 362.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.006159, allocations: 0 / 369.6 MB, free: 8.668 MB / 362.8 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002662/0.006426, allocations: 137.2 kB / 369.7 MB, free: 8.523 MB / 362.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.006445, allocations: 8 kB / 369.7 MB, free: 8.516 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.006453, allocations: 7.922 kB / 369.7 MB, free: 8.508 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002339/0.006687, allocations: 43.64 kB / 369.8 MB, free: 8.461 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001796/0.006866, allocations: 53.75 kB / 369.8 MB, free: 8.41 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001143/0.008009, allocations: 1.28 MB / 371.1 MB, free: 7.035 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.984e-05/0.008059, allocations: 11.95 kB / 371.1 MB, free: 7.023 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.00807, allocations: 8.031 kB / 371.1 MB, free: 7.016 MB / 362.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.85e-05/0.008158, allocations: 124.5 kB / 371.2 MB, free: 6.883 MB / 362.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.897e-05/0.008177, allocations: 12 kB / 371.3 MB, free: 6.871 MB / 362.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.692e-05/0.008214, allocations: 16.06 kB / 371.3 MB, free: 6.852 MB / 362.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.008216, allocations: 0 / 371.3 MB, free: 6.852 MB / 362.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.008222, allocations: 3.984 kB / 371.3 MB, free: 6.848 MB / 362.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.008225, allocations: 4 kB / 371.3 MB, free: 6.844 MB / 362.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000111/0.008336, allocations: 89.89 kB / 371.4 MB, free: 6.738 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.008339, allocations: 0 / 371.4 MB, free: 6.738 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001722/0.008511, allocations: 42.72 kB / 371.4 MB, free: 6.699 MB / 362.8 MB Notification: Performance of postOpt removeConstants (simulation): time 9.959e-06/0.008521, allocations: 4.453 kB / 371.4 MB, free: 6.695 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001668/0.008688, allocations: 47.64 kB / 371.5 MB, free: 6.645 MB / 362.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.207e-05/0.00871, allocations: 11.92 kB / 371.5 MB, free: 6.633 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009287/0.009638, allocations: 1.268 MB / 372.7 MB, free: 5.27 MB / 362.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.00964, allocations: 4 kB / 372.7 MB, free: 5.266 MB / 362.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000286/0.009926, allocations: 189.8 kB / 372.9 MB, free: 5.059 MB / 362.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.073e-05/0.009947, allocations: 7.984 kB / 372.9 MB, free: 5.051 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.12e-05/0.009978, allocations: 4 kB / 372.9 MB, free: 5.047 MB / 362.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.266e-05/0.01001, allocations: 15.86 kB / 373 MB, free: 5.031 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.885e-06/0.01002, allocations: 0 / 373 MB, free: 5.031 MB / 362.8 MB Notification: Performance of sorting global known variables: time 1.551e-05/0.01003, allocations: 8.859 kB / 373 MB, free: 5.02 MB / 362.8 MB Notification: Performance of sort global known variables: time 6e-08/0.01003, allocations: 0 / 373 MB, free: 5.02 MB / 362.8 MB Notification: Performance of remove unused functions: time 0.0002264/0.01026, allocations: 28 kB / 373 MB, free: 4.992 MB / 362.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 0.0001306/0.01039, allocations: 88.41 kB / 373.1 MB, free: 4.898 MB / 362.8 MB Notification: Performance of simCode: created initialization part: time 0.0003346/0.01073, allocations: 203.3 kB / 373.3 MB, free: 4.684 MB / 362.8 MB Notification: Performance of simCode: created event and clocks part: time 9.228e-06/0.01073, allocations: 8 kB / 373.3 MB, free: 4.676 MB / 362.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001692/0.0109, allocations: 171.4 kB / 373.5 MB, free: 4.492 MB / 362.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001184/0.01102, allocations: 19.02 kB / 373.5 MB, free: 4.477 MB / 362.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009997/0.01202, allocations: 263.8 kB / 373.7 MB, free: 4.191 MB / 362.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.799e-05/0.01207, allocations: 71.33 kB / 373.8 MB, free: 4.102 MB / 362.8 MB Notification: Performance of simCode: alias equations: time 4.1e-05/0.01211, allocations: 4.5 kB / 373.8 MB, free: 4.098 MB / 362.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.81e-05/0.01216, allocations: 59.36 kB / 373.9 MB, free: 4.039 MB / 362.8 MB Notification: Performance of SimCode: time 6.51e-07/0.01216, allocations: 0 / 373.9 MB, free: 4.039 MB / 362.8 MB Notification: Performance of Templates: time 0.00371/0.01587, allocations: 1.53 MB / 375.4 MB, free: 2.57 MB / 362.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 -ignoreHideResult -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: 3.1574944956228137]