Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_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_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_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 180.6 kB / 16.39 MB, free: 5.762 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.292/1.292, allocations: 223.2 MB / 240.3 MB, free: 10.14 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009358/0.0009359, allocations: 94.05 kB / 291.5 MB, free: 10.7 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9382/0.9382, allocations: 120.5 MB / 463.1 MB, free: 8.703 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003383/0.0003383, allocations: 4 kB / 0.5433 GB, free: 42.41 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1586/0.1589, allocations: 82.84 MB / 0.6242 GB, free: 9.238 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6727/0.8317, allocations: 125.4 MB / 0.7467 GB, free: 8.531 MB / 0.5107 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001824/0.8319, allocations: 57.09 kB / 0.7467 GB, free: 8.5 MB / 0.5107 GB Notification: Performance of FrontEnd - DAE generated: time 0.007363/0.8393, allocations: 2.44 MB / 0.7491 GB, free: 6.277 MB / 0.5107 GB Notification: Performance of FrontEnd: time 2.034e-06/0.8393, allocations: 0 / 0.7491 GB, free: 6.277 MB / 0.5107 GB Notification: Performance of Transformations before backend: time 9.558e-06/0.8394, allocations: 4 kB / 0.7491 GB, free: 6.273 MB / 0.5107 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.0007301/0.8401, allocations: 487.3 kB / 0.7496 GB, free: 5.762 MB / 0.5107 GB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.8401, allocations: 8.031 kB / 0.7496 GB, free: 5.754 MB / 0.5107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.784e-05/0.8402, allocations: 15.81 kB / 0.7496 GB, free: 5.738 MB / 0.5107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002507/0.8405, allocations: 202.9 kB / 0.7498 GB, free: 5.5 MB / 0.5107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.75e-05/0.8405, allocations: 15.25 kB / 0.7498 GB, free: 5.492 MB / 0.5107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.094e-05/0.8406, allocations: 31.7 kB / 0.7498 GB, free: 5.469 MB / 0.5107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003057/0.8409, allocations: 180.1 kB / 0.75 GB, free: 5.32 MB / 0.5107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.676e-05/0.8409, allocations: 4 kB / 0.75 GB, free: 5.316 MB / 0.5107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.117e-05/0.8409, allocations: 7.891 kB / 0.75 GB, free: 5.312 MB / 0.5107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.002e-06/0.8409, allocations: 4 kB / 0.75 GB, free: 5.309 MB / 0.5107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001813/0.8411, allocations: 110.7 kB / 0.7501 GB, free: 5.223 MB / 0.5107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003714/0.8415, allocations: 318.4 kB / 0.7504 GB, free: 4.902 MB / 0.5107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005152/0.842, allocations: 265.5 kB / 0.7507 GB, free: 4.695 MB / 0.5107 GB Notification: Performance of preOpt evalFunc (simulation): time 2.11e-05/0.8421, allocations: 4 kB / 0.7507 GB, free: 4.691 MB / 0.5107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.15e-05/0.8421, allocations: 38.38 kB / 0.7507 GB, free: 4.648 MB / 0.5107 GB Notification: Performance of pre-optimization done (n=30): time 1.483e-06/0.8421, allocations: 0 / 0.7507 GB, free: 4.648 MB / 0.5107 GB Notification: Performance of matching and sorting (n=30): time 0.001741/0.8439, allocations: 0.6686 MB / 0.7514 GB, free: 4.039 MB / 0.5107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.841e-05/0.8439, allocations: 55.41 kB / 0.7514 GB, free: 3.973 MB / 0.5107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.999e-05/0.844, allocations: 96.92 kB / 0.7515 GB, free: 3.875 MB / 0.5107 GB Notification: Performance of collectPreVariables (initialization): time 2.902e-05/0.844, allocations: 37.52 kB / 0.7516 GB, free: 3.84 MB / 0.5107 GB Notification: Performance of collectInitialEqns (initialization): time 3.401e-05/0.844, allocations: 84.61 kB / 0.7516 GB, free: 3.754 MB / 0.5107 GB Notification: Performance of collectInitialBindings (initialization): time 8.992e-05/0.8441, allocations: 121.6 kB / 0.7518 GB, free: 3.648 MB / 0.5107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.409e-05/0.8442, allocations: 7.312 kB / 0.7518 GB, free: 3.648 MB / 0.5107 GB Notification: Performance of setup shared object (initialization): time 9.974e-05/0.8443, allocations: 330.5 kB / 0.7521 GB, free: 3.324 MB / 0.5107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001887/0.8445, allocations: 131 kB / 0.7522 GB, free: 3.227 MB / 0.5107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002284/0.8447, allocations: 216.1 kB / 0.7524 GB, free: 3.02 MB / 0.5107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002168/0.8449, allocations: 158.2 kB / 0.7526 GB, free: 2.91 MB / 0.5107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.8449, allocations: 0 / 0.7526 GB, free: 2.91 MB / 0.5107 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009898/0.8459, allocations: 0.5314 MB / 0.7531 GB, free: 2.469 MB / 0.5107 GB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.846, allocations: 14.48 kB / 0.7531 GB, free: 2.457 MB / 0.5107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.846, allocations: 11.38 kB / 0.7531 GB, free: 2.449 MB / 0.5107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007183/0.8467, allocations: 148.2 kB / 0.7532 GB, free: 2.312 MB / 0.5107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002672/0.847, allocations: 83.22 kB / 0.7533 GB, free: 2.234 MB / 0.5107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002348/0.8493, allocations: 2.051 MB / 0.7553 GB, free: 264 kB / 0.5107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001572/0.8495, allocations: 35.67 kB / 0.7554 GB, free: 232 kB / 0.5107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.546e-05/0.8495, allocations: 15.94 kB / 0.7554 GB, free: 220 kB / 0.5107 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 () * Number of clocked 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.0001172/0.8497, allocations: 141.3 kB / 0.7555 GB, free: 80 kB / 0.5107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.609e-05/0.8497, allocations: 15.86 kB / 0.7555 GB, free: 64 kB / 0.5107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.284e-05/0.8498, allocations: 35.52 kB / 0.7556 GB, free: 48 kB / 0.5107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.8498, allocations: 4 kB / 0.7556 GB, free: 44 kB / 0.5107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.8498, allocations: 0 / 0.7556 GB, free: 44 kB / 0.5107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.8498, allocations: 0 / 0.7556 GB, free: 44 kB / 0.5107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003112/0.8501, allocations: 318 kB / 0.7559 GB, free: 15.71 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.8501, allocations: 0 / 0.7559 GB, free: 15.71 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003735/0.8505, allocations: 63.92 kB / 0.7559 GB, free: 15.65 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006714/0.8512, allocations: 160.3 kB / 0.7561 GB, free: 15.51 MB / 0.5263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.579e-05/0.8512, allocations: 15.73 kB / 0.7561 GB, free: 15.5 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002245/0.8535, allocations: 2.036 MB / 0.7581 GB, free: 13.53 MB / 0.5263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.8535, allocations: 96 / 0.7581 GB, free: 13.53 MB / 0.5263 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001035/0.8546, allocations: 0.5927 MB / 0.7587 GB, free: 13.03 MB / 0.5263 GB Notification: Performance of postOpt removeConstants (simulation): time 4.604e-05/0.8546, allocations: 96.94 kB / 0.7588 GB, free: 12.92 MB / 0.5263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.248e-05/0.8547, allocations: 8.75 kB / 0.7588 GB, free: 12.91 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000111/0.8548, allocations: 11.67 kB / 0.7588 GB, free: 12.91 MB / 0.5263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.594e-05/0.8548, allocations: 23.78 kB / 0.7588 GB, free: 12.89 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.659e-05/0.8549, allocations: 4 kB / 0.7588 GB, free: 12.88 MB / 0.5263 GB Notification: Performance of sorting global known variables: time 3.647e-05/0.8549, allocations: 91.19 kB / 0.7589 GB, free: 12.79 MB / 0.5263 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8549, allocations: 0 / 0.7589 GB, free: 12.79 MB / 0.5263 GB Notification: Performance of remove unused functions: time 0.0003407/0.8552, allocations: 75.67 kB / 0.759 GB, free: 12.73 MB / 0.5263 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 () * Number of clocked 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.0001418/0.8554, allocations: 119 kB / 0.7591 GB, free: 12.61 MB / 0.5263 GB Notification: Performance of simCode: created initialization part: time 0.0009529/0.8564, allocations: 499 kB / 0.7595 GB, free: 12.18 MB / 0.5263 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.8564, allocations: 0 / 0.7595 GB, free: 12.18 MB / 0.5263 GB Notification: Performance of simCode: created simulation system equations: time 0.0005722/0.8569, allocations: 328.8 kB / 0.7599 GB, free: 11.89 MB / 0.5263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001482/0.8571, allocations: 11.55 kB / 0.7599 GB, free: 11.88 MB / 0.5263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002024/0.8591, allocations: 1.773 MB / 0.7616 GB, free: 10.11 MB / 0.5263 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002846/0.8594, allocations: 0.7559 MB / 0.7623 GB, free: 9.332 MB / 0.5263 GB Notification: Performance of simCode: alias equations: time 0.0001382/0.8596, allocations: 65.88 kB / 0.7624 GB, free: 9.266 MB / 0.5263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.37e-05/0.8596, allocations: 19.44 kB / 0.7624 GB, free: 9.246 MB / 0.5263 GB Notification: Performance of SimCode: time 2.084e-06/0.8596, allocations: 0 / 0.7624 GB, free: 9.246 MB / 0.5263 GB Notification: Performance of Templates: time 0.005675/0.8653, allocations: 2.579 MB / 0.7649 GB, free: 6.715 MB / 0.5263 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.sim & ./ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_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_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches