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.001335/0.001335, allocations: 101 kB / 17.59 MB, free: 5.422 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.001357/0.001357, allocations: 191.3 kB / 18.52 MB, free: 4.508 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.273/1.273, allocations: 222.9 MB / 242.2 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8878/0.8878, allocations: 119.3 MB / 411.7 MB, free: 9.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001404, allocations: 59.91 kB / 0.4916 GB, free: 13.75 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4963/0.4977, allocations: 80.68 MB / 0.5704 GB, free: 43.34 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10): time 0.002112/0.4999, allocations: 1.231 MB / 0.5716 GB, free: 42.37 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.000175/0.5001, allocations: 42.86 kB / 0.5716 GB, free: 42.34 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.409e-05/0.5001, allocations: 0 / 0.5716 GB, free: 42.34 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 7.684e-05/0.5002, allocations: 4 kB / 0.5716 GB, free: 42.33 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 6.14e-05/0.5003, allocations: 10.67 kB / 0.5717 GB, free: 42.32 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001448/0.5004, allocations: 20.09 kB / 0.5717 GB, free: 42.31 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0002205/0.5007, allocations: 231.9 kB / 0.5719 GB, free: 42.19 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.817e-05/0.5007, allocations: 1.188 kB / 0.5719 GB, free: 42.19 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 7.52e-05/0.5008, allocations: 87.02 kB / 0.572 GB, free: 42.15 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001143/0.5009, allocations: 73.17 kB / 0.572 GB, free: 42.11 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 3.414e-05/0.501, allocations: 11.12 kB / 0.5721 GB, free: 42.11 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 3.345e-05/0.501, allocations: 11.03 kB / 0.5721 GB, free: 42.11 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 7.358e-05/0.5011, allocations: 67.25 kB / 0.5721 GB, free: 42.06 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 9.162e-05/0.5012, allocations: 73.67 kB / 0.5722 GB, free: 42.02 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001188/0.5013, allocations: 119.6 kB / 0.5723 GB, free: 41.95 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.5013, allocations: 3.984 kB / 0.5723 GB, free: 41.95 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.804e-06/0.5013, allocations: 1.156 kB / 0.5723 GB, free: 41.95 MB / 462.3 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.5013, allocations: 0 / 0.5723 GB, free: 41.95 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.0008617/0.5022, allocations: 0.5237 MB / 0.5728 GB, free: 41.49 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.5022, allocations: 14.3 kB / 0.5728 GB, free: 41.48 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.781e-05/0.5023, allocations: 12.34 kB / 0.5729 GB, free: 41.48 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001626/0.5025, allocations: 206.1 kB / 0.5731 GB, free: 41.26 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.654e-05/0.5025, allocations: 11.12 kB / 0.5731 GB, free: 41.26 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.187e-05/0.5025, allocations: 32.97 kB / 0.5731 GB, free: 41.24 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002678/0.5028, allocations: 182.3 kB / 0.5733 GB, free: 41.13 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.581e-05/0.5028, allocations: 2.438 kB / 0.5733 GB, free: 41.13 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.007e-05/0.5029, allocations: 9.031 kB / 0.5733 GB, free: 41.12 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.5029, allocations: 7.234 kB / 0.5733 GB, free: 41.12 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001759/0.5031, allocations: 104.8 kB / 0.5734 GB, free: 41.07 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003065/0.5034, allocations: 314.2 kB / 0.5737 GB, free: 40.79 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005041/0.5039, allocations: 273.5 kB / 0.5739 GB, free: 40.66 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001599/0.5041, allocations: 121 kB / 0.5741 GB, free: 40.6 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.777e-05/0.5041, allocations: 2.438 kB / 0.5741 GB, free: 40.6 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.415e-05/0.5041, allocations: 41.28 kB / 0.5741 GB, free: 40.55 MB / 462.3 MB Notification: Performance of pre-optimization done (n=30): time 1.343e-06/0.5041, allocations: 0 / 0.5741 GB, free: 40.55 MB / 462.3 MB Notification: Performance of matching and sorting (n=30): time 0.001589/0.5057, allocations: 0.6255 MB / 0.5747 GB, free: 40.18 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.317e-05/0.5057, allocations: 53.69 kB / 0.5748 GB, free: 40.12 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.22e-05/0.5058, allocations: 103.5 kB / 0.5749 GB, free: 40.01 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/0.5058, allocations: 44.08 kB / 0.5749 GB, free: 39.96 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 2.086e-05/0.5058, allocations: 82.95 kB / 0.575 GB, free: 39.88 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 7.197e-05/0.5059, allocations: 120.1 kB / 0.5751 GB, free: 39.77 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.223e-05/0.506, allocations: 80.88 kB / 0.5752 GB, free: 39.72 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.144e-05/0.5061, allocations: 327.9 kB / 0.5755 GB, free: 39.4 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001742/0.5062, allocations: 126.1 kB / 0.5756 GB, free: 39.35 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000211/0.5065, allocations: 221.3 kB / 0.5758 GB, free: 39.18 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004117/0.5069, allocations: 368.1 kB / 0.5762 GB, free: 38.96 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.5069, allocations: 3.938 kB / 0.5762 GB, free: 38.95 MB / 462.3 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009063/0.5078, allocations: 0.5248 MB / 0.5767 GB, free: 38.68 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.5078, allocations: 5.656 kB / 0.5767 GB, free: 38.68 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.338e-05/0.5078, allocations: 1.969 kB / 0.5767 GB, free: 38.68 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006293/0.5085, allocations: 147.8 kB / 0.5768 GB, free: 38.62 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002573/0.5087, allocations: 82.28 kB / 0.5769 GB, free: 38.6 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002057/0.5108, allocations: 2.171 MB / 0.579 GB, free: 36.77 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001427/0.511, allocations: 26.22 kB / 0.5791 GB, free: 36.75 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.363e-05/0.511, allocations: 20.66 kB / 0.5791 GB, free: 36.75 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.0001011/0.5111, allocations: 145.6 kB / 0.5792 GB, free: 36.61 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.835e-05/0.5111, allocations: 14.22 kB / 0.5792 GB, free: 36.6 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.689e-05/0.5112, allocations: 30.47 kB / 0.5793 GB, free: 36.57 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.5112, allocations: 2.562 kB / 0.5793 GB, free: 36.57 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.808e-06/0.5112, allocations: 6.094 kB / 0.5793 GB, free: 36.57 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.5113, allocations: 4.875 kB / 0.5793 GB, free: 36.56 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002514/0.5115, allocations: 300.9 kB / 0.5796 GB, free: 36.29 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.5115, allocations: 8.875 kB / 0.5796 GB, free: 36.29 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003736/0.5119, allocations: 65.47 kB / 0.5796 GB, free: 36.27 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005809/0.5125, allocations: 148.9 kB / 0.5798 GB, free: 36.2 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.188e-05/0.5125, allocations: 15.39 kB / 0.5798 GB, free: 36.2 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002025/0.5146, allocations: 2.135 MB / 0.5819 GB, free: 34.4 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.5146, allocations: 0 / 0.5819 GB, free: 34.4 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009867/0.5156, allocations: 0.573 MB / 0.5824 GB, free: 34.09 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 4.094e-05/0.5156, allocations: 90.3 kB / 0.5825 GB, free: 33.99 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.912e-05/0.5157, allocations: 18.23 kB / 0.5825 GB, free: 33.98 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/0.5158, allocations: 9.25 kB / 0.5825 GB, free: 33.97 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.581e-05/0.5159, allocations: 35.22 kB / 0.5826 GB, free: 33.95 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.797e-05/0.5159, allocations: 9.047 kB / 0.5826 GB, free: 33.95 MB / 462.3 MB Notification: Performance of sorting global known variables: time 2.512e-05/0.5159, allocations: 77.78 kB / 0.5827 GB, free: 33.87 MB / 462.3 MB Notification: Performance of sort global known variables: time 1e-07/0.5159, allocations: 0 / 0.5827 GB, free: 33.87 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003609/0.5163, allocations: 71.34 kB / 0.5827 GB, free: 33.86 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.0001191/0.5164, allocations: 124.6 kB / 0.5828 GB, free: 33.75 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.000958/0.5174, allocations: 0.5356 MB / 0.5834 GB, free: 33.47 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.5174, allocations: 0.625 kB / 0.5834 GB, free: 33.47 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0005255/0.5179, allocations: 333.5 kB / 0.5837 GB, free: 33.27 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000199/0.5181, allocations: 15.69 kB / 0.5837 GB, free: 33.25 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001653/0.5198, allocations: 1.502 MB / 0.5852 GB, free: 32.05 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001823/0.52, allocations: 0.7389 MB / 0.5859 GB, free: 31.33 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.037e-05/0.52, allocations: 17.53 kB / 0.5859 GB, free: 31.32 MB / 462.3 MB Notification: Performance of SimCode: time 4.31e-07/0.52, allocations: 3.938 kB / 0.5859 GB, free: 31.32 MB / 462.3 MB Notification: Performance of Templates: time 0.004234/0.5243, allocations: 2.581 MB / 0.5884 GB, free: 30.02 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","/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