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.001444/0.001444, allocations: 114.3 kB / 17.68 MB, free: 5.473 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.001519/0.001519, allocations: 190.9 kB / 18.62 MB, free: 4.543 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.472/1.472, allocations: 222.9 MB / 242.3 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.024/1.024, allocations: 119.3 MB / 411.8 MB, free: 9.508 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001557/0.001557, allocations: 59.91 kB / 0.4923 GB, free: 13.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5158/0.5174, allocations: 80.7 MB / 0.5712 GB, free: 43.71 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10): time 0.002238/0.5197, allocations: 1.214 MB / 0.5723 GB, free: 42.76 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001769/0.5199, allocations: 51.14 kB / 0.5724 GB, free: 42.72 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.229e-05/0.5199, allocations: 1.031 kB / 0.5724 GB, free: 42.72 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 7.942e-05/0.52, allocations: 0 / 0.5724 GB, free: 42.72 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 6.523e-05/0.5201, allocations: 15.2 kB / 0.5724 GB, free: 42.71 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001611/0.5202, allocations: 19.69 kB / 0.5724 GB, free: 42.7 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0002371/0.5205, allocations: 231.1 kB / 0.5726 GB, free: 42.58 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.736e-05/0.5205, allocations: 2.844 kB / 0.5726 GB, free: 42.58 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 8.158e-05/0.5206, allocations: 84.98 kB / 0.5727 GB, free: 42.54 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000122/0.5208, allocations: 66.03 kB / 0.5728 GB, free: 42.5 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 3.457e-05/0.5208, allocations: 10.88 kB / 0.5728 GB, free: 42.5 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 2.997e-05/0.5208, allocations: 12.09 kB / 0.5728 GB, free: 42.5 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 7.404e-05/0.5209, allocations: 70.11 kB / 0.5729 GB, free: 42.45 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 8.527e-05/0.521, allocations: 70.11 kB / 0.5729 GB, free: 42.41 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.000134/0.5211, allocations: 123.8 kB / 0.5731 GB, free: 42.34 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 5.381e-06/0.5212, allocations: 1.25 kB / 0.5731 GB, free: 42.34 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.472e-06/0.5212, allocations: 3.938 kB / 0.5731 GB, free: 42.34 MB / 462.3 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.5212, allocations: 0 / 0.5731 GB, free: 42.34 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.0009239/0.5221, allocations: 0.5247 MB / 0.5736 GB, free: 41.88 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.5221, allocations: 12.58 kB / 0.5736 GB, free: 41.88 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.369e-05/0.5222, allocations: 12.69 kB / 0.5736 GB, free: 41.87 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001961/0.5224, allocations: 202.5 kB / 0.5738 GB, free: 41.66 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.655e-05/0.5224, allocations: 16.62 kB / 0.5738 GB, free: 41.65 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.279e-05/0.5225, allocations: 31.75 kB / 0.5738 GB, free: 41.63 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002867/0.5228, allocations: 185.8 kB / 0.574 GB, free: 41.52 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.735e-05/0.5228, allocations: 3.094 kB / 0.574 GB, free: 41.52 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.918e-05/0.5228, allocations: 11.88 kB / 0.574 GB, free: 41.5 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.116e-05/0.5228, allocations: 4.188 kB / 0.574 GB, free: 41.5 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000211/0.5231, allocations: 109.5 kB / 0.5741 GB, free: 41.46 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000374/0.5234, allocations: 306.1 kB / 0.5744 GB, free: 41.18 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005419/0.524, allocations: 268.5 kB / 0.5747 GB, free: 41.05 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001725/0.5242, allocations: 124.9 kB / 0.5748 GB, free: 40.99 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 3.009e-05/0.5242, allocations: 2.906 kB / 0.5748 GB, free: 40.99 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.071e-05/0.5242, allocations: 44.78 kB / 0.5749 GB, free: 40.94 MB / 462.3 MB Notification: Performance of pre-optimization done (n=30): time 1.503e-06/0.5243, allocations: 0 / 0.5749 GB, free: 40.94 MB / 462.3 MB Notification: Performance of matching and sorting (n=30): time 0.001651/0.5259, allocations: 0.6256 MB / 0.5755 GB, free: 40.57 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.559e-05/0.5259, allocations: 54.19 kB / 0.5755 GB, free: 40.5 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.858e-05/0.526, allocations: 103.3 kB / 0.5756 GB, free: 40.4 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 2.163e-05/0.526, allocations: 32.11 kB / 0.5757 GB, free: 40.36 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 2.275e-05/0.5261, allocations: 91.55 kB / 0.5757 GB, free: 40.27 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 7.503e-05/0.5262, allocations: 119.5 kB / 0.5759 GB, free: 40.16 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.694e-05/0.5263, allocations: 79.97 kB / 0.5759 GB, free: 40.11 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.135e-05/0.5263, allocations: 325.1 kB / 0.5762 GB, free: 39.79 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001769/0.5265, allocations: 124.9 kB / 0.5764 GB, free: 39.74 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002167/0.5267, allocations: 218 kB / 0.5766 GB, free: 39.58 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004202/0.5271, allocations: 371.2 kB / 0.5769 GB, free: 39.35 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.5272, allocations: 10.03 kB / 0.5769 GB, free: 39.34 MB / 462.3 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009728/0.5281, allocations: 0.5231 MB / 0.5774 GB, free: 39.07 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/0.5282, allocations: 5.5 kB / 0.5774 GB, free: 39.07 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.5282, allocations: 6.734 kB / 0.5775 GB, free: 39.07 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006645/0.5289, allocations: 144.6 kB / 0.5776 GB, free: 39 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002657/0.5291, allocations: 81.84 kB / 0.5777 GB, free: 38.99 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002293/0.5314, allocations: 2.17 MB / 0.5798 GB, free: 37.16 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001811/0.5316, allocations: 27.12 kB / 0.5798 GB, free: 37.14 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.96e-05/0.5317, allocations: 15.06 kB / 0.5798 GB, free: 37.14 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.0001332/0.5318, allocations: 147.6 kB / 0.58 GB, free: 37 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.184e-05/0.5319, allocations: 13.38 kB / 0.58 GB, free: 36.99 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.667e-05/0.5319, allocations: 34.11 kB / 0.58 GB, free: 36.96 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.532, allocations: 2.781 kB / 0.58 GB, free: 36.96 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.27e-05/0.532, allocations: 2.781 kB / 0.58 GB, free: 36.96 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.532, allocations: 0 / 0.58 GB, free: 36.96 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002935/0.5323, allocations: 301.8 kB / 0.5803 GB, free: 36.69 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.5323, allocations: 7.875 kB / 0.5803 GB, free: 36.68 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004065/0.5327, allocations: 70.31 kB / 0.5804 GB, free: 36.66 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006044/0.5333, allocations: 148.9 kB / 0.5805 GB, free: 36.59 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.136e-05/0.5334, allocations: 15.36 kB / 0.5805 GB, free: 36.59 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002071/0.5354, allocations: 2.151 MB / 0.5826 GB, free: 34.77 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.5355, allocations: 0 / 0.5826 GB, free: 34.77 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001045/0.5365, allocations: 0.5732 MB / 0.5832 GB, free: 34.47 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 4.19e-05/0.5366, allocations: 89.98 kB / 0.5833 GB, free: 34.37 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.882e-05/0.5366, allocations: 18.23 kB / 0.5833 GB, free: 34.36 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.5367, allocations: 5.25 kB / 0.5833 GB, free: 34.35 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.116e-05/0.5368, allocations: 19.38 kB / 0.5833 GB, free: 34.34 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.336e-05/0.5368, allocations: 13.05 kB / 0.5833 GB, free: 34.34 MB / 462.3 MB Notification: Performance of sorting global known variables: time 3.018e-05/0.5369, allocations: 85.77 kB / 0.5834 GB, free: 34.25 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5369, allocations: 1.25 kB / 0.5834 GB, free: 34.25 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003998/0.5373, allocations: 70.09 kB / 0.5835 GB, free: 34.24 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.0001516/0.5374, allocations: 120.5 kB / 0.5836 GB, free: 34.14 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.001123/0.5386, allocations: 0.491 MB / 0.5841 GB, free: 33.87 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.5386, allocations: 0 / 0.5841 GB, free: 33.87 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0005953/0.5392, allocations: 333.9 kB / 0.5844 GB, free: 33.66 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002405/0.5394, allocations: 22.27 kB / 0.5844 GB, free: 33.64 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001713/0.5412, allocations: 1.466 MB / 0.5859 GB, free: 32.47 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001575/0.5413, allocations: 0.747 MB / 0.5866 GB, free: 31.75 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0001294/0.5415, allocations: 65.03 kB / 0.5866 GB, free: 31.72 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.045e-05/0.5415, allocations: 16.19 kB / 0.5867 GB, free: 31.71 MB / 462.3 MB Notification: Performance of SimCode: time 8.61e-07/0.5415, allocations: 4 kB / 0.5867 GB, free: 31.71 MB / 462.3 MB Notification: Performance of Templates: time 0.00615/0.5477, allocations: 2.742 MB / 0.5893 GB, free: 30.3 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 -s gbode -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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches