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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.v.1..|der.v.2..|der.v.3..|der.v.4..|der.xm.1..|der.xm.2..|der.xm.3..|der.xm.4..|time|time|v.1.|v.2.|v.3.|v.4.|xm.1.|xm.2.|xm.3.|xm.4.|xs.1.|xs.2.|xs.3.|xs.4.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck") translateModel(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.v.1..|der.v.2..|der.v.3..|der.v.4..|der.xm.1..|der.xm.2..|der.xm.3..|der.xm.4..|time|time|v.1.|v.2.|v.3.|v.4.|xm.1.|xm.2.|xm.3.|xm.4.|xs.1.|xs.2.|xs.3.|xs.4.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck") [:1:1-1:33:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 183.9 kB / 8.134 MB, free: 2.133 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.106/1.106, allocations: 221.4 MB / 229.9 MB, free: 3.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009953/0.0009954, allocations: 99.88 kB / 280.8 MB, free: 1.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.653/0.653, allocations: 120.4 MB / 452 MB, free: 13.03 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 5.069e-06/5.18e-06, allocations: 0 / 0.5282 GB, free: 43.11 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1165, allocations: 82.85 MB / 0.6091 GB, free: 10.39 MB / 442.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5102/0.6267, allocations: 124.5 MB / 0.7307 GB, free: 23.76 MB / 0.5109 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001182/0.6269, allocations: 48.45 kB / 0.7307 GB, free: 23.76 MB / 0.5109 GB Notification: Performance of FrontEnd: time 0.003606/0.6305, allocations: 0.9637 MB / 0.7317 GB, free: 23.7 MB / 0.5109 GB Notification: Performance of Transformations before backend: time 7.794e-06/0.6305, allocations: 1.25 kB / 0.7317 GB, free: 23.7 MB / 0.5109 GB 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.0003452/0.6308, allocations: 371.6 kB / 0.732 GB, free: 23.35 MB / 0.5109 GB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.6309, allocations: 9.625 kB / 0.7321 GB, free: 23.35 MB / 0.5109 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.813e-05/0.6309, allocations: 7.453 kB / 0.7321 GB, free: 23.35 MB / 0.5109 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000145/0.6311, allocations: 183.2 kB / 0.7322 GB, free: 23.14 MB / 0.5109 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.717e-06/0.6311, allocations: 1.375 kB / 0.7322 GB, free: 23.14 MB / 0.5109 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.083e-05/0.6311, allocations: 6.875 kB / 0.7322 GB, free: 23.14 MB / 0.5109 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001156/0.6313, allocations: 45.08 kB / 0.7323 GB, free: 23.14 MB / 0.5109 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000122/0.6314, allocations: 85.3 kB / 0.7324 GB, free: 23.1 MB / 0.5109 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.6314, allocations: 3.906 kB / 0.7324 GB, free: 23.1 MB / 0.5109 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.6314, allocations: 1.375 kB / 0.7324 GB, free: 23.1 MB / 0.5109 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.6314, allocations: 5.359 kB / 0.7324 GB, free: 23.09 MB / 0.5109 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001945/0.6316, allocations: 184.9 kB / 0.7326 GB, free: 22.93 MB / 0.5109 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003609/0.632, allocations: 124.9 kB / 0.7327 GB, free: 22.91 MB / 0.5109 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.242e-05/0.6321, allocations: 46.94 kB / 0.7327 GB, free: 22.9 MB / 0.5109 GB Notification: Performance of preOpt evalFunc (simulation): time 1.393e-05/0.6321, allocations: 5.812 kB / 0.7327 GB, free: 22.89 MB / 0.5109 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.228e-05/0.6321, allocations: 36.56 kB / 0.7328 GB, free: 22.85 MB / 0.5109 GB Notification: Performance of pre-optimization done (n=12): time 1.443e-06/0.6321, allocations: 1.531 kB / 0.7328 GB, free: 22.85 MB / 0.5109 GB Notification: Performance of matching and sorting (n=12): time 0.0004484/0.6326, allocations: 161 kB / 0.7329 GB, free: 22.8 MB / 0.5109 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.768e-05/0.6326, allocations: 54.02 kB / 0.733 GB, free: 22.74 MB / 0.5109 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.558e-05/0.6327, allocations: 93.53 kB / 0.7331 GB, free: 22.65 MB / 0.5109 GB Notification: Performance of collectPreVariables (initialization): time 1.459e-05/0.6327, allocations: 31.91 kB / 0.7331 GB, free: 22.62 MB / 0.5109 GB Notification: Performance of collectInitialEqns (initialization): time 1.1e-05/0.6327, allocations: 87.02 kB / 0.7332 GB, free: 22.53 MB / 0.5109 GB Notification: Performance of collectInitialBindings (initialization): time 4.428e-05/0.6328, allocations: 50.62 kB / 0.7332 GB, free: 22.5 MB / 0.5109 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.104e-06/0.6328, allocations: 0 / 0.7332 GB, free: 22.5 MB / 0.5109 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.6329, allocations: 323.5 kB / 0.7335 GB, free: 38.18 MB / 0.5265 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.477e-05/0.633, allocations: 46.45 kB / 0.7336 GB, free: 38.18 MB / 0.5265 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001035/0.6331, allocations: 90.17 kB / 0.7337 GB, free: 38.13 MB / 0.5265 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001052/0.6332, allocations: 66.98 kB / 0.7337 GB, free: 38.12 MB / 0.5265 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.6332, allocations: 0.9062 kB / 0.7337 GB, free: 38.12 MB / 0.5265 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004427/0.6337, allocations: 210.8 kB / 0.7339 GB, free: 38.07 MB / 0.5265 GB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/0.6337, allocations: 5.5 kB / 0.7339 GB, free: 38.07 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.6337, allocations: 1.375 kB / 0.7339 GB, free: 38.07 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003254/0.634, allocations: 61.06 kB / 0.734 GB, free: 38.07 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000134/0.6342, allocations: 33.83 kB / 0.734 GB, free: 38.06 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001222/0.6354, allocations: 1.395 MB / 0.7354 GB, free: 36.85 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.702e-05/0.6355, allocations: 21.19 kB / 0.7354 GB, free: 36.84 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.385e-05/0.6355, allocations: 8.312 kB / 0.7354 GB, free: 36.84 MB / 0.5265 GB 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.152e-05/0.6356, allocations: 110.1 kB / 0.7355 GB, free: 36.72 MB / 0.5265 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.696e-05/0.6356, allocations: 4.266 kB / 0.7355 GB, free: 36.72 MB / 0.5265 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.433e-05/0.6357, allocations: 22.53 kB / 0.7355 GB, free: 36.71 MB / 0.5265 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.6357, allocations: 5.266 kB / 0.7355 GB, free: 36.71 MB / 0.5265 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.6357, allocations: 1.25 kB / 0.7355 GB, free: 36.71 MB / 0.5265 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.6357, allocations: 2.453 kB / 0.7355 GB, free: 36.71 MB / 0.5265 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000157/0.6359, allocations: 184.2 kB / 0.7357 GB, free: 36.55 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.6359, allocations: 0 / 0.7357 GB, free: 36.55 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001821/0.6361, allocations: 26.61 kB / 0.7357 GB, free: 36.55 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002556/0.6363, allocations: 59.55 kB / 0.7358 GB, free: 36.54 MB / 0.5265 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.879e-05/0.6363, allocations: 5.875 kB / 0.7358 GB, free: 36.54 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001058/0.6374, allocations: 1.399 MB / 0.7372 GB, free: 35.32 MB / 0.5265 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.6374, allocations: 0 / 0.7372 GB, free: 35.32 MB / 0.5265 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004092/0.6378, allocations: 252.7 kB / 0.7374 GB, free: 35.23 MB / 0.5265 GB Notification: Performance of postOpt removeConstants (simulation): time 1.596e-05/0.6379, allocations: 83.67 kB / 0.7375 GB, free: 35.14 MB / 0.5265 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.148e-05/0.6379, allocations: 8.312 kB / 0.7375 GB, free: 35.14 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.611e-05/0.638, allocations: 0.5156 kB / 0.7375 GB, free: 35.14 MB / 0.5265 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.545e-05/0.638, allocations: 4.625 kB / 0.7375 GB, free: 35.14 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.488e-06/0.638, allocations: 2.344 kB / 0.7375 GB, free: 35.14 MB / 0.5265 GB Notification: Performance of sort global known variables: time 3.893e-05/0.638, allocations: 81.41 kB / 0.7376 GB, free: 35.06 MB / 0.5265 GB Notification: Performance of remove unused functions: time 0.0002305/0.6383, allocations: 27.66 kB / 0.7376 GB, free: 35.06 MB / 0.5265 GB 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.276e-05/0.6384, allocations: 103.9 kB / 0.7377 GB, free: 34.97 MB / 0.5265 GB Notification: Performance of simCode: created initialization part: time 0.0004163/0.6388, allocations: 235.2 kB / 0.7379 GB, free: 34.86 MB / 0.5265 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.6388, allocations: 1.25 kB / 0.7379 GB, free: 34.86 MB / 0.5265 GB Notification: Performance of simCode: created simulation system equations: time 0.0002488/0.6391, allocations: 169.8 kB / 0.7381 GB, free: 34.77 MB / 0.5265 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001182/0.6392, allocations: 15.06 kB / 0.7381 GB, free: 34.75 MB / 0.5265 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007529/0.64, allocations: 0.6291 MB / 0.7387 GB, free: 34.31 MB / 0.5265 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002629/0.6402, allocations: 0.7139 MB / 0.7394 GB, free: 33.61 MB / 0.5265 GB Notification: Performance of SimCode: time 2.2e-07/0.6402, allocations: 1.5 kB / 0.7394 GB, free: 33.61 MB / 0.5265 GB Notification: Performance of Templates: time 0.003179/0.6434, allocations: 1.39 MB / 0.7408 GB, free: 32.84 MB / 0.5265 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.makefile (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=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches