Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.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.ScaledExperiments.HarmonicOscillatorNetwork_N_10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.v.10..|der.v.1..|der.v.2..|der.v.3..|der.v.4..|der.v.5..|der.xm.10..|der.xm.1..|der.xm.2..|der.xm.3..|der.xm.4..|der.xm.5..|time|time|v.10.|v.1.|v.2.|v.3.|v.4.|v.5.|xm.10.|xm.1.|xm.2.|xm.3.|xm.4.|xm.5.|xs.10.|xs.1.|xs.2.|xs.3.|xs.4.|xs.5.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10") translateModel(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.v.10..|der.v.1..|der.v.2..|der.v.3..|der.v.4..|der.v.5..|der.xm.10..|der.xm.1..|der.xm.2..|der.xm.3..|der.xm.4..|der.xm.5..|time|time|v.10.|v.1.|v.2.|v.3.|v.4.|v.5.|xm.10.|xm.1.|xm.2.|xm.3.|xm.4.|xm.5.|xs.10.|xs.1.|xs.2.|xs.3.|xs.4.|xs.5.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10") [: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.002149/0.002149, allocations: 185.5 kB / 8.135 MB, free: 2.199 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.245/1.245, allocations: 221.4 MB / 229.9 MB, free: 3.055 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.0009073/0.0009074, allocations: 96.41 kB / 280.8 MB, free: 1.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8118/0.8118, allocations: 120.4 MB / 452 MB, free: 12.98 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 7.203e-06/7.233e-06, allocations: 0 / 0.5282 GB, free: 52.4 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1482/0.1482, allocations: 82.84 MB / 0.6091 GB, free: 3.543 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6453/0.7935, allocations: 124.6 MB / 0.7307 GB, free: 5.25 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001896/0.7937, allocations: 58.09 kB / 0.7308 GB, free: 5.23 MB / 0.4953 GB Notification: Performance of FrontEnd: time 0.007016/0.8008, allocations: 2.16 MB / 0.7329 GB, free: 3.715 MB / 0.4953 GB Notification: Performance of Transformations before backend: time 1.14e-05/0.8008, allocations: 7.938 kB / 0.7329 GB, free: 3.707 MB / 0.4953 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0006143/0.8015, allocations: 472.7 kB / 0.7334 GB, free: 3.207 MB / 0.4953 GB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.8015, allocations: 10.66 kB / 0.7334 GB, free: 3.199 MB / 0.4953 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.986e-05/0.8016, allocations: 15.81 kB / 0.7334 GB, free: 3.184 MB / 0.4953 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002056/0.8018, allocations: 199 kB / 0.7336 GB, free: 2.949 MB / 0.4953 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.8018, allocations: 4 kB / 0.7336 GB, free: 2.945 MB / 0.4953 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.748e-05/0.8019, allocations: 23.28 kB / 0.7336 GB, free: 2.926 MB / 0.4953 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001942/0.8021, allocations: 102.9 kB / 0.7337 GB, free: 2.844 MB / 0.4953 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002192/0.8023, allocations: 166.8 kB / 0.7339 GB, free: 2.699 MB / 0.4953 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.725e-05/0.8023, allocations: 7.906 kB / 0.7339 GB, free: 2.691 MB / 0.4953 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.97e-05/0.8023, allocations: 0 / 0.7339 GB, free: 2.691 MB / 0.4953 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.8023, allocations: 4 kB / 0.7339 GB, free: 2.688 MB / 0.4953 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003094/0.8027, allocations: 275.6 kB / 0.7341 GB, free: 2.41 MB / 0.4953 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004426/0.8031, allocations: 250.8 kB / 0.7344 GB, free: 2.207 MB / 0.4953 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001358/0.8033, allocations: 106.5 kB / 0.7345 GB, free: 2.129 MB / 0.4953 GB Notification: Performance of preOpt evalFunc (simulation): time 2.302e-05/0.8033, allocations: 7.938 kB / 0.7345 GB, free: 2.121 MB / 0.4953 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.062e-05/0.8033, allocations: 41.53 kB / 0.7345 GB, free: 2.074 MB / 0.4953 GB Notification: Performance of pre-optimization done (n=30): time 1.493e-06/0.8033, allocations: 0 / 0.7345 GB, free: 2.074 MB / 0.4953 GB Notification: Performance of matching and sorting (n=30): time 0.0008838/0.8042, allocations: 386.7 kB / 0.7349 GB, free: 1.738 MB / 0.4953 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.231e-05/0.8043, allocations: 51.41 kB / 0.735 GB, free: 1.676 MB / 0.4953 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.229e-05/0.8043, allocations: 100.3 kB / 0.735 GB, free: 1.574 MB / 0.4953 GB Notification: Performance of collectPreVariables (initialization): time 2.342e-05/0.8044, allocations: 29.64 kB / 0.7351 GB, free: 1.539 MB / 0.4953 GB Notification: Performance of collectInitialEqns (initialization): time 1.659e-05/0.8044, allocations: 84.8 kB / 0.7352 GB, free: 1.449 MB / 0.4953 GB Notification: Performance of collectInitialBindings (initialization): time 7.708e-05/0.8045, allocations: 129.5 kB / 0.7353 GB, free: 1.34 MB / 0.4953 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.457e-05/0.8045, allocations: 0 / 0.7353 GB, free: 1.34 MB / 0.4953 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.8046, allocations: 330.6 kB / 0.7356 GB, free: 17.02 MB / 0.5109 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001593/0.8048, allocations: 121.6 kB / 0.7357 GB, free: 16.92 MB / 0.5109 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001948/0.805, allocations: 209.8 kB / 0.7359 GB, free: 16.72 MB / 0.5109 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001812/0.8052, allocations: 163.7 kB / 0.7361 GB, free: 16.59 MB / 0.5109 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.8052, allocations: 4 kB / 0.7361 GB, free: 16.59 MB / 0.5109 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008536/0.806, allocations: 498 kB / 0.7365 GB, free: 16.16 MB / 0.5109 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.806, allocations: 4 kB / 0.7365 GB, free: 16.16 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.086e-06/0.8061, allocations: 4 kB / 0.7366 GB, free: 16.16 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007154/0.8068, allocations: 165.4 kB / 0.7367 GB, free: 16 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002629/0.8071, allocations: 79.91 kB / 0.7368 GB, free: 15.93 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00223/0.8093, allocations: 1.862 MB / 0.7386 GB, free: 14.1 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001594/0.8095, allocations: 27.67 kB / 0.7386 GB, free: 14.07 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.909e-05/0.8095, allocations: 19.91 kB / 0.7387 GB, free: 14.05 MB / 0.5109 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * 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%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001205/0.8096, allocations: 113 kB / 0.7388 GB, free: 13.94 MB / 0.5109 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.628e-05/0.8097, allocations: 15.84 kB / 0.7388 GB, free: 13.93 MB / 0.5109 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.17e-05/0.8097, allocations: 26.25 kB / 0.7388 GB, free: 13.93 MB / 0.5109 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.8098, allocations: 4 kB / 0.7388 GB, free: 13.92 MB / 0.5109 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.138e-05/0.8098, allocations: 3.906 kB / 0.7388 GB, free: 13.92 MB / 0.5109 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.8098, allocations: 0 / 0.7388 GB, free: 13.92 MB / 0.5109 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003028/0.8101, allocations: 276.4 kB / 0.7391 GB, free: 13.64 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.8101, allocations: 3.984 kB / 0.7391 GB, free: 13.63 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000428/0.8105, allocations: 71.41 kB / 0.7391 GB, free: 13.57 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006631/0.8112, allocations: 147.2 kB / 0.7393 GB, free: 13.43 MB / 0.5109 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.422e-05/0.8112, allocations: 15.45 kB / 0.7393 GB, free: 13.42 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00209/0.8133, allocations: 1.873 MB / 0.7411 GB, free: 11.59 MB / 0.5109 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.8134, allocations: 3.938 kB / 0.7411 GB, free: 11.58 MB / 0.5109 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001064/0.8144, allocations: 0.5561 MB / 0.7417 GB, free: 11.09 MB / 0.5109 GB Notification: Performance of postOpt removeConstants (simulation): time 8.441e-05/0.8145, allocations: 92.94 kB / 0.7418 GB, free: 10.98 MB / 0.5109 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.813e-05/0.8146, allocations: 4 kB / 0.7418 GB, free: 10.98 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001228/0.8147, allocations: 7.984 kB / 0.7418 GB, free: 10.97 MB / 0.5109 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.099e-05/0.8148, allocations: 19.64 kB / 0.7418 GB, free: 10.96 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.295e-05/0.8148, allocations: 10.3 kB / 0.7418 GB, free: 10.95 MB / 0.5109 GB Notification: Performance of sort global known variables: time 4.364e-05/0.8148, allocations: 90.81 kB / 0.7419 GB, free: 10.86 MB / 0.5109 GB Notification: Performance of remove unused functions: time 0.0003705/0.8152, allocations: 52 kB / 0.7419 GB, free: 10.81 MB / 0.5109 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 20 (xm[1],xm[2],xm[3],xm[4],xm[5],xm[6],xm[7],xm[8],xm[9],xm[10],v[1],v[2],v[3],v[4],v[5],v[6],v[7],v[8],v[9],v[10]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 20 * 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%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001612/0.8154, allocations: 104.2 kB / 0.742 GB, free: 10.7 MB / 0.5109 GB Notification: Performance of simCode: created initialization part: time 0.0008884/0.8163, allocations: 468.3 kB / 0.7425 GB, free: 10.3 MB / 0.5109 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.8163, allocations: 0 / 0.7425 GB, free: 10.3 MB / 0.5109 GB Notification: Performance of simCode: created simulation system equations: time 0.0005365/0.8168, allocations: 298 kB / 0.7428 GB, free: 10.04 MB / 0.5109 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001618/0.817, allocations: 3.938 kB / 0.7428 GB, free: 10.04 MB / 0.5109 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001977/0.819, allocations: 1.529 MB / 0.7443 GB, free: 8.508 MB / 0.5109 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000339/0.8194, allocations: 0.7589 MB / 0.745 GB, free: 7.727 MB / 0.5109 GB Notification: Performance of SimCode: time 4.41e-07/0.8194, allocations: 3.938 kB / 0.745 GB, free: 7.723 MB / 0.5109 GB Notification: Performance of Templates: time 0.005747/0.8251, allocations: 2.991 MB / 0.7479 GB, free: 4.773 MB / 0.5109 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches