Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_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_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_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.0008982/0.0008982, allocations: 174.9 kB / 8.348 MB, free: 0.7266 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.263/1.263, allocations: 221.5 MB / 230.3 MB, free: 7.582 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.0009194/0.0009194, allocations: 93.92 kB / 281.2 MB, free: 5.336 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8763/0.8763, allocations: 120.5 MB / 452.4 MB, free: 10.49 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 1.71e-05/1.728e-05, allocations: 4 kB / 0.5288 GB, free: 1.289 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5255/0.5255, allocations: 82.83 MB / 0.6097 GB, free: 13.03 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1427/0.6682, allocations: 124.6 MB / 0.7314 GB, free: 272 kB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002249/0.6685, allocations: 67.89 kB / 0.7315 GB, free: 208 kB / 0.5263 GB Notification: Performance of FrontEnd - DAE generated: time 0.01329/0.6818, allocations: 4.463 MB / 0.7358 GB, free: 11.72 MB / 0.5419 GB Notification: Performance of FrontEnd: time 1.292e-06/0.6819, allocations: 4 kB / 0.7358 GB, free: 11.72 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 1.104e-05/0.6819, allocations: 4 kB / 0.7358 GB, free: 11.71 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.001039/0.6829, allocations: 0.6355 MB / 0.7364 GB, free: 11.03 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.683, allocations: 8.031 kB / 0.7364 GB, free: 11.02 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.333e-05/0.683, allocations: 31.67 kB / 0.7365 GB, free: 10.99 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002607/0.6833, allocations: 243 kB / 0.7367 GB, free: 10.71 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.6833, allocations: 8 kB / 0.7367 GB, free: 10.71 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.036e-05/0.6834, allocations: 43.8 kB / 0.7368 GB, free: 10.66 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003186/0.6837, allocations: 197 kB / 0.7369 GB, free: 10.47 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004208/0.6842, allocations: 303.6 kB / 0.7372 GB, free: 10.17 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.113e-05/0.6842, allocations: 4 kB / 0.7372 GB, free: 10.16 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.778e-05/0.6842, allocations: 3.953 kB / 0.7372 GB, free: 10.16 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.6842, allocations: 4 kB / 0.7372 GB, free: 10.16 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005124/0.6848, allocations: 423.2 kB / 0.7376 GB, free: 9.707 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006621/0.6854, allocations: 453.5 kB / 0.7381 GB, free: 9.25 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002754/0.6857, allocations: 218.4 kB / 0.7383 GB, free: 9.035 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.608e-05/0.6858, allocations: 8.562 kB / 0.7383 GB, free: 9.027 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.913e-05/0.6858, allocations: 43.12 kB / 0.7383 GB, free: 8.977 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=60): time 1.513e-06/0.6858, allocations: 0 / 0.7383 GB, free: 8.977 MB / 0.5419 GB Notification: Performance of matching and sorting (n=60): time 0.001511/0.6873, allocations: 0.7214 MB / 0.739 GB, free: 8.242 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.282e-05/0.6873, allocations: 63.91 kB / 0.7391 GB, free: 8.168 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.712e-05/0.6874, allocations: 101 kB / 0.7392 GB, free: 8.062 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 3.597e-05/0.6875, allocations: 25.7 kB / 0.7392 GB, free: 8.031 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 3.461e-05/0.6875, allocations: 89.45 kB / 0.7393 GB, free: 7.941 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001551/0.6877, allocations: 240.4 kB / 0.7395 GB, free: 7.703 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.565e-05/0.6877, allocations: 0 / 0.7395 GB, free: 7.703 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.6878, allocations: 350.8 kB / 0.7399 GB, free: 7.352 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003147/0.6881, allocations: 230.5 kB / 0.7401 GB, free: 7.125 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004267/0.6886, allocations: 409.4 kB / 0.7405 GB, free: 6.664 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003854/0.689, allocations: 305.9 kB / 0.7408 GB, free: 6.363 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.032e-06/0.689, allocations: 7.953 kB / 0.7408 GB, free: 6.355 MB / 0.5419 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001735/0.6907, allocations: 0.9404 MB / 0.7417 GB, free: 5.406 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.6907, allocations: 8 kB / 0.7417 GB, free: 5.398 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.946e-06/0.6907, allocations: 4.188 kB / 0.7417 GB, free: 5.395 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001226/0.692, allocations: 312.5 kB / 0.742 GB, free: 5.086 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005234/0.6925, allocations: 163.8 kB / 0.7422 GB, free: 4.926 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003561/0.6961, allocations: 2.736 MB / 0.7448 GB, free: 2.078 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002796/0.6964, allocations: 51.36 kB / 0.7449 GB, free: 2.027 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.138e-05/0.6964, allocations: 24 kB / 0.7449 GB, free: 2.004 MB / 0.5419 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.0001352/0.6966, allocations: 132.8 kB / 0.745 GB, free: 1.867 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.351e-05/0.6966, allocations: 23.72 kB / 0.7451 GB, free: 1.844 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001534/0.6968, allocations: 54.48 kB / 0.7451 GB, free: 1.789 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.6968, allocations: 8 kB / 0.7451 GB, free: 1.781 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.6968, allocations: 0 / 0.7451 GB, free: 1.781 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.6968, allocations: 4 kB / 0.7451 GB, free: 1.777 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00047/0.6973, allocations: 418.2 kB / 0.7455 GB, free: 1.332 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.6973, allocations: 0 / 0.7455 GB, free: 1.332 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007151/0.698, allocations: 131.9 kB / 0.7456 GB, free: 1.203 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001167/0.6992, allocations: 308.5 kB / 0.7459 GB, free: 0.8984 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.981e-05/0.6993, allocations: 23.97 kB / 0.746 GB, free: 0.875 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5636/1.263, allocations: 2.711 MB / 0.7486 GB, free: 134.3 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/1.263, allocations: 0 / 0.7486 GB, free: 134.3 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002081/1.265, allocations: 1.105 MB / 0.7497 GB, free: 134.1 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 3.702e-05/1.265, allocations: 106.9 kB / 0.7498 GB, free: 134 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.264e-05/1.265, allocations: 20.3 kB / 0.7498 GB, free: 134 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002191/1.265, allocations: 7.844 kB / 0.7498 GB, free: 134 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.135e-05/1.265, allocations: 53.88 kB / 0.7499 GB, free: 134 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.839e-05/1.265, allocations: 16.66 kB / 0.7499 GB, free: 134 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 2.159e-05/1.265, allocations: 79.12 kB / 0.75 GB, free: 133.9 MB / 0.5421 GB Notification: Performance of sort global known variables: time 1.4e-07/1.265, allocations: 0 / 0.75 GB, free: 133.9 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.0005098/1.266, allocations: 118 kB / 0.7501 GB, free: 133.9 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.0001649/1.266, allocations: 123.1 kB / 0.7502 GB, free: 133.9 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.001653/1.268, allocations: 0.8211 MB / 0.751 GB, free: 133.6 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/1.268, allocations: 0 / 0.751 GB, free: 133.6 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.001043/1.269, allocations: 0.5191 MB / 0.7515 GB, free: 133.4 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001582/1.269, allocations: 1.531 kB / 0.7515 GB, free: 133.4 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003192/1.272, allocations: 3.119 MB / 0.7546 GB, free: 131.4 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002969/1.273, allocations: 0.8132 MB / 0.7553 GB, free: 130.7 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.000329/1.273, allocations: 144.1 kB / 0.7555 GB, free: 130.6 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.615e-05/1.273, allocations: 26.16 kB / 0.7555 GB, free: 130.6 MB / 0.5421 GB Notification: Performance of SimCode: time 2.61e-07/1.273, allocations: 0 / 0.7555 GB, free: 130.6 MB / 0.5421 GB Notification: Performance of Templates: time 0.007865/1.281, allocations: 4.805 MB / 0.7602 GB, free: 129.9 MB / 0.5421 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.sim & ./ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.pipe 2>&1) diffSimulationResults("ScalableTestSuite_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_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches