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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001407/0.001407, allocations: 96.25 kB / 16.5 MB, free: 6.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001398/0.001399, allocations: 198.5 kB / 17.43 MB, free: 6.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 222.9 MB / 241.1 MB, free: 15.33 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.091/1.091, allocations: 119.3 MB / 410.6 MB, free: 9.758 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 59.91 kB / 0.4903 GB, free: 14.19 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5918/0.593, allocations: 80.68 MB / 0.569 GB, free: 43.42 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10): time 0.002346/0.5954, allocations: 1.293 MB / 0.5703 GB, free: 42.41 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002224/0.5957, allocations: 46.58 kB / 0.5704 GB, free: 42.37 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.682e-05/0.5957, allocations: 1.062 kB / 0.5704 GB, free: 42.37 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001009/0.5958, allocations: 3.984 kB / 0.5704 GB, free: 42.37 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 7.058e-05/0.5959, allocations: 9.688 kB / 0.5704 GB, free: 42.36 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001605/0.5961, allocations: 20.34 kB / 0.5704 GB, free: 42.35 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0002796/0.5963, allocations: 251.6 kB / 0.5706 GB, free: 42.22 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.335e-05/0.5964, allocations: 2.344 kB / 0.5706 GB, free: 42.22 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 8.747e-05/0.5965, allocations: 85.31 kB / 0.5707 GB, free: 42.18 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001317/0.5966, allocations: 81.97 kB / 0.5708 GB, free: 42.13 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 4.484e-05/0.5967, allocations: 11.56 kB / 0.5708 GB, free: 42.13 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 4.175e-05/0.5967, allocations: 11.25 kB / 0.5708 GB, free: 42.13 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 9.206e-05/0.5968, allocations: 66.09 kB / 0.5709 GB, free: 42.09 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 9.369e-05/0.5969, allocations: 68.67 kB / 0.5709 GB, free: 42.05 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.000166/0.5971, allocations: 116.1 kB / 0.5711 GB, free: 41.98 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.5971, allocations: 0 / 0.5711 GB, free: 41.98 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.974e-06/0.5971, allocations: 0 / 0.5711 GB, free: 41.98 MB / 462.3 MB Notification: Performance of Transformations before backend: time 8.096e-06/0.5971, allocations: 5.375 kB / 0.5711 GB, free: 41.98 MB / 462.3 MB 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.0009473/0.5981, allocations: 0.5272 MB / 0.5716 GB, free: 41.52 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.5981, allocations: 9.625 kB / 0.5716 GB, free: 41.52 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.065e-05/0.5982, allocations: 13.09 kB / 0.5716 GB, free: 41.52 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001773/0.5984, allocations: 202.2 kB / 0.5718 GB, free: 41.3 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.623e-05/0.5984, allocations: 15.94 kB / 0.5718 GB, free: 41.29 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.903e-05/0.5985, allocations: 27.88 kB / 0.5718 GB, free: 41.28 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003052/0.5988, allocations: 177.4 kB / 0.572 GB, free: 41.17 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.81e-05/0.5988, allocations: 6.406 kB / 0.572 GB, free: 41.17 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.463e-05/0.5988, allocations: 9.5 kB / 0.572 GB, free: 41.16 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.5988, allocations: 3.094 kB / 0.572 GB, free: 41.16 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001865/0.599, allocations: 108.7 kB / 0.5721 GB, free: 41.11 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003469/0.5994, allocations: 309.9 kB / 0.5724 GB, free: 40.84 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000561/0.5999, allocations: 274 kB / 0.5727 GB, free: 40.7 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001746/0.6001, allocations: 117.3 kB / 0.5728 GB, free: 40.65 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 2.609e-05/0.6002, allocations: 6.75 kB / 0.5728 GB, free: 40.64 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.798e-05/0.6002, allocations: 40 kB / 0.5728 GB, free: 40.6 MB / 462.3 MB Notification: Performance of pre-optimization done (n=30): time 1.493e-06/0.6002, allocations: 0 / 0.5728 GB, free: 40.6 MB / 462.3 MB Notification: Performance of matching and sorting (n=30): time 0.001694/0.6019, allocations: 0.6307 MB / 0.5734 GB, free: 40.22 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.966e-05/0.6019, allocations: 55.5 kB / 0.5735 GB, free: 40.16 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.736e-05/0.602, allocations: 107.2 kB / 0.5736 GB, free: 40.05 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 2.371e-05/0.602, allocations: 34.77 kB / 0.5736 GB, free: 40.01 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 2.418e-05/0.6021, allocations: 87.36 kB / 0.5737 GB, free: 39.92 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 7.766e-05/0.6021, allocations: 120.1 kB / 0.5738 GB, free: 39.81 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.755e-05/0.6022, allocations: 84.12 kB / 0.5739 GB, free: 39.76 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 6.936e-05/0.6023, allocations: 328.5 kB / 0.5742 GB, free: 39.43 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001979/0.6025, allocations: 125.4 kB / 0.5743 GB, free: 39.38 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002463/0.6028, allocations: 218.5 kB / 0.5746 GB, free: 39.22 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004691/0.6032, allocations: 365.9 kB / 0.5749 GB, free: 39 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/0.6033, allocations: 5.219 kB / 0.5749 GB, free: 38.99 MB / 462.3 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001014/0.6043, allocations: 0.5245 MB / 0.5754 GB, free: 38.72 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/0.6043, allocations: 5.812 kB / 0.5754 GB, free: 38.72 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/0.6043, allocations: 1.812 kB / 0.5754 GB, free: 38.72 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006868/0.605, allocations: 152.1 kB / 0.5756 GB, free: 38.65 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002737/0.6053, allocations: 82 kB / 0.5757 GB, free: 38.64 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002173/0.6075, allocations: 2 MB / 0.5776 GB, free: 36.95 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000151/0.6076, allocations: 30.56 kB / 0.5776 GB, free: 36.93 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.637e-05/0.6077, allocations: 16.38 kB / 0.5776 GB, free: 36.92 MB / 462.3 MB 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001153/0.6078, allocations: 138.1 kB / 0.5778 GB, free: 36.79 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.048e-05/0.6078, allocations: 13.41 kB / 0.5778 GB, free: 36.78 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.27e-05/0.6079, allocations: 34.53 kB / 0.5778 GB, free: 36.75 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.6079, allocations: 4.188 kB / 0.5778 GB, free: 36.75 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.208e-05/0.6079, allocations: 5.375 kB / 0.5778 GB, free: 36.75 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.608, allocations: 3.938 kB / 0.5778 GB, free: 36.74 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002675/0.6082, allocations: 302.4 kB / 0.5781 GB, free: 36.47 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.6082, allocations: 0 / 0.5781 GB, free: 36.47 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003799/0.6086, allocations: 65.81 kB / 0.5782 GB, free: 36.46 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006401/0.6093, allocations: 153.3 kB / 0.5783 GB, free: 36.39 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.627e-05/0.6093, allocations: 19.3 kB / 0.5784 GB, free: 36.38 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002129/0.6115, allocations: 1.984 MB / 0.5803 GB, free: 34.7 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.6115, allocations: 192 / 0.5803 GB, free: 34.7 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001097/0.6126, allocations: 0.5741 MB / 0.5809 GB, free: 34.4 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 3.073e-05/0.6126, allocations: 92.72 kB / 0.5809 GB, free: 34.29 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.922e-05/0.6127, allocations: 15.58 kB / 0.581 GB, free: 34.29 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.6128, allocations: 9.25 kB / 0.581 GB, free: 34.28 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.884e-05/0.6128, allocations: 22.06 kB / 0.581 GB, free: 34.27 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.066e-05/0.6129, allocations: 10.31 kB / 0.581 GB, free: 34.26 MB / 462.3 MB Notification: Performance of sorting global known variables: time 2.963e-05/0.6129, allocations: 77.81 kB / 0.5811 GB, free: 34.19 MB / 462.3 MB Notification: Performance of sort global known variables: time 2.3e-07/0.6129, allocations: 0 / 0.5811 GB, free: 34.19 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003693/0.6133, allocations: 75.28 kB / 0.5811 GB, free: 34.17 MB / 462.3 MB 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001457/0.6134, allocations: 127.4 kB / 0.5813 GB, free: 34.06 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.001055/0.6145, allocations: 498.9 kB / 0.5817 GB, free: 33.79 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.6145, allocations: 1.906 kB / 0.5817 GB, free: 33.79 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.000567/0.6151, allocations: 329 kB / 0.5821 GB, free: 33.59 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002182/0.6153, allocations: 16 kB / 0.5821 GB, free: 33.58 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001817/0.6171, allocations: 1.521 MB / 0.5836 GB, free: 32.35 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002038/0.6173, allocations: 0.7392 MB / 0.5843 GB, free: 31.63 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0001395/0.6175, allocations: 69.03 kB / 0.5843 GB, free: 31.6 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.582e-05/0.6175, allocations: 17.53 kB / 0.5844 GB, free: 31.59 MB / 462.3 MB Notification: Performance of SimCode: time 5.21e-07/0.6176, allocations: 0 / 0.5844 GB, free: 31.59 MB / 462.3 MB Notification: Performance of Templates: time 0.006029/0.6236, allocations: 2.694 MB / 0.587 GB, free: 30.31 MB / 462.3 MB 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/jenkins1/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