Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.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_20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.v.1..|der.v.20..|der.v.2..|der.v.3..|der.v.4..|der.v.5..|der.xm.1..|der.xm.20..|der.xm.2..|der.xm.3..|der.xm.4..|der.xm.5..|time|time|v.1.|v.20.|v.2.|v.3.|v.4.|v.5.|xm.1.|xm.20.|xm.2.|xm.3.|xm.4.|xm.5.|xs.1.|xs.20.|xs.2.|xs.3.|xs.4.|xs.5.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20") translateModel(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.v.1..|der.v.20..|der.v.2..|der.v.3..|der.v.4..|der.v.5..|der.xm.1..|der.xm.20..|der.xm.2..|der.xm.3..|der.xm.4..|der.xm.5..|time|time|v.1.|v.20.|v.2.|v.3.|v.4.|v.5.|xm.1.|xm.20.|xm.2.|xm.3.|xm.4.|xm.5.|xs.1.|xs.20.|xs.2.|xs.3.|xs.4.|xs.5.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009395/0.0009397, allocations: 178.5 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.167/1.167, allocations: 221.3 MB / 235.5 MB, free: 2.934 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.0008272/0.0008269, allocations: 83.62 kB / 286.5 MB, free: 240 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8447/0.8447, allocations: 120.5 MB / 457.9 MB, free: 7.02 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 2.592e-05/2.595e-05, allocations: 4 kB / 0.5357 GB, free: 12.18 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5402/0.5402, allocations: 82.84 MB / 0.6166 GB, free: 9.324 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1377/0.6779, allocations: 125.3 MB / 0.739 GB, free: 11.9 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001666/0.6781, allocations: 59.97 kB / 0.739 GB, free: 11.84 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.01317/0.6913, allocations: 4.489 MB / 0.7434 GB, free: 7.34 MB / 0.5419 GB Notification: Performance of FrontEnd: time 1.272e-06/0.6914, allocations: 0 / 0.7434 GB, free: 7.34 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 1.42e-05/0.6914, allocations: 4 kB / 0.7434 GB, free: 7.336 MB / 0.5419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001066/0.6924, allocations: 0.6394 MB / 0.744 GB, free: 6.648 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.6925, allocations: 8.031 kB / 0.744 GB, free: 6.641 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.81e-05/0.6926, allocations: 31.67 kB / 0.7441 GB, free: 6.609 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003218/0.6929, allocations: 239 kB / 0.7443 GB, free: 6.336 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.339e-05/0.6929, allocations: 32.56 kB / 0.7443 GB, free: 6.305 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.878e-05/0.693, allocations: 59.8 kB / 0.7444 GB, free: 6.246 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005188/0.6936, allocations: 332.7 kB / 0.7447 GB, free: 5.914 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.123e-05/0.6936, allocations: 4 kB / 0.7447 GB, free: 5.91 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.99e-05/0.6936, allocations: 12 kB / 0.7447 GB, free: 5.898 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.6936, allocations: 7.953 kB / 0.7447 GB, free: 5.891 MB / 0.5419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003278/0.694, allocations: 214.1 kB / 0.7449 GB, free: 5.684 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005649/0.6945, allocations: 487.8 kB / 0.7454 GB, free: 5.156 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007626/0.6953, allocations: 481.7 kB / 0.7459 GB, free: 4.672 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003211/0.6956, allocations: 234.5 kB / 0.7461 GB, free: 4.441 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.363e-05/0.6957, allocations: 8.562 kB / 0.7461 GB, free: 4.434 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.224e-05/0.6957, allocations: 39.12 kB / 0.7461 GB, free: 4.387 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=60): time 2.234e-06/0.6957, allocations: 3.938 kB / 0.7461 GB, free: 4.383 MB / 0.5419 GB Notification: Performance of matching and sorting (n=60): time 0.001639/0.6974, allocations: 0.7599 MB / 0.7469 GB, free: 3.609 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.406e-05/0.6974, allocations: 59.91 kB / 0.7469 GB, free: 3.539 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.656e-05/0.6975, allocations: 105.1 kB / 0.747 GB, free: 3.43 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 4.532e-05/0.6976, allocations: 41.7 kB / 0.7471 GB, free: 3.383 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 3.559e-05/0.6976, allocations: 93.45 kB / 0.7472 GB, free: 3.285 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 0.000171/0.6978, allocations: 244.4 kB / 0.7474 GB, free: 3.043 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.022e-05/0.6978, allocations: 16 kB / 0.7474 GB, free: 3.027 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.6979, allocations: 346.8 kB / 0.7477 GB, free: 2.68 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003678/0.6983, allocations: 253.9 kB / 0.748 GB, free: 2.434 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004674/0.6988, allocations: 421 kB / 0.7484 GB, free: 1.961 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004433/0.6992, allocations: 323 kB / 0.7487 GB, free: 1.645 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/0.6992, allocations: 4 kB / 0.7487 GB, free: 1.641 MB / 0.5419 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001909/0.7012, allocations: 1.026 MB / 0.7497 GB, free: 0.6094 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.7012, allocations: 8 kB / 0.7497 GB, free: 0.6016 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/0.7012, allocations: 4 kB / 0.7497 GB, free: 0.5977 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001231/0.7024, allocations: 323.1 kB / 0.75 GB, free: 288 kB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004956/0.7029, allocations: 163.8 kB / 0.7502 GB, free: 124 kB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5003/1.203, allocations: 2.886 MB / 0.753 GB, free: 130.7 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003434/1.204, allocations: 69.2 kB / 0.7531 GB, free: 130.7 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.953e-05/1.204, allocations: 30.94 kB / 0.7531 GB, free: 130.7 MB / 0.5421 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 80 * 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%) 19} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001291/1.204, allocations: 149.3 kB / 0.7532 GB, free: 130.6 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.673e-05/1.204, allocations: 23.95 kB / 0.7533 GB, free: 130.6 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001507/1.204, allocations: 60.2 kB / 0.7533 GB, free: 130.5 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/1.204, allocations: 6.469 kB / 0.7533 GB, free: 130.5 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/1.204, allocations: 6.906 kB / 0.7533 GB, free: 130.5 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/1.204, allocations: 2.859 kB / 0.7533 GB, free: 130.5 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004798/1.205, allocations: 470 kB / 0.7538 GB, free: 130.3 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/1.205, allocations: 0 / 0.7538 GB, free: 130.3 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007104/1.205, allocations: 139.4 kB / 0.7539 GB, free: 130.3 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001202/1.206, allocations: 311.2 kB / 0.7542 GB, free: 130.2 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.132e-05/1.207, allocations: 29.17 kB / 0.7542 GB, free: 130.2 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003689/1.21, allocations: 2.868 MB / 0.757 GB, free: 128.6 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/1.21, allocations: 3.953 kB / 0.757 GB, free: 128.6 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002078/1.212, allocations: 1.156 MB / 0.7582 GB, free: 128.2 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 3.037e-05/1.212, allocations: 105.8 kB / 0.7583 GB, free: 128.1 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.959e-05/1.212, allocations: 26.45 kB / 0.7583 GB, free: 128.1 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002031/1.213, allocations: 20.44 kB / 0.7583 GB, free: 128.1 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.445e-05/1.213, allocations: 43.52 kB / 0.7584 GB, free: 128.1 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.423e-05/1.213, allocations: 21.08 kB / 0.7584 GB, free: 128.1 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 2.097e-05/1.213, allocations: 84.47 kB / 0.7585 GB, free: 128 MB / 0.5421 GB Notification: Performance of sort global known variables: time 1.4e-07/1.213, allocations: 0 / 0.7585 GB, free: 128 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.0004259/1.213, allocations: 147.2 kB / 0.7586 GB, free: 128 MB / 0.5421 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 40 (xm[1],xm[2],xm[3],xm[4],xm[5],xm[6],xm[7],xm[8],xm[9],xm[10],xm[11],xm[12],xm[13],xm[14],xm[15],xm[16],xm[17],xm[18],xm[19],xm[20],v[1],v[2],v[3],v[4],v[5],v[6],v[7],v[8],v[9],v[10],v[11],v[12],v[13],v[14],v[15],v[16],v[17],v[18],v[19],v[20]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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%) 19} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001367/1.213, allocations: 134.5 kB / 0.7587 GB, free: 127.9 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.001506/1.215, allocations: 0.8757 MB / 0.7596 GB, free: 127.6 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/1.215, allocations: 0.5 kB / 0.7596 GB, free: 127.6 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.001143/1.216, allocations: 0.5413 MB / 0.7601 GB, free: 127.4 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001481/1.216, allocations: 22.7 kB / 0.7601 GB, free: 127.4 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002726/1.219, allocations: 3.138 MB / 0.7632 GB, free: 125.3 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001683/1.219, allocations: 0.8116 MB / 0.764 GB, free: 124.6 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.000243/1.219, allocations: 140.6 kB / 0.7641 GB, free: 124.5 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.783e-05/1.22, allocations: 30.81 kB / 0.7641 GB, free: 124.5 MB / 0.5421 GB Notification: Performance of SimCode: time 2.8e-07/1.22, allocations: 0 / 0.7641 GB, free: 124.5 MB / 0.5421 GB Notification: Performance of Templates: time 0.006403/1.226, allocations: 4.917 MB / 0.7689 GB, free: 122 MB / 0.5421 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches