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/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001272/0.001272, allocations: 107.3 kB / 17.28 MB, free: 6.309 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.001298/0.001298, allocations: 193.3 kB / 18.2 MB, free: 5.387 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.256/1.256, allocations: 222.9 MB / 241.9 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9409/0.9409, allocations: 119.3 MB / 411.3 MB, free: 9.691 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001445/0.001445, allocations: 63.91 kB / 0.4911 GB, free: 14.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5155/0.5169, allocations: 80.68 MB / 0.5699 GB, free: 43.44 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10): time 0.00202/0.519, allocations: 1.295 MB / 0.5711 GB, free: 42.42 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001703/0.5192, allocations: 47.61 kB / 0.5712 GB, free: 42.38 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.481e-05/0.5192, allocations: 0 / 0.5712 GB, free: 42.38 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 7.497e-05/0.5193, allocations: 0 / 0.5712 GB, free: 42.38 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 6.1e-05/0.5194, allocations: 16.8 kB / 0.5712 GB, free: 42.37 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001323/0.5195, allocations: 16.92 kB / 0.5712 GB, free: 42.36 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0002165/0.5197, allocations: 230.8 kB / 0.5714 GB, free: 42.24 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.641e-05/0.5198, allocations: 2.188 kB / 0.5714 GB, free: 42.24 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 7.287e-05/0.5199, allocations: 86.17 kB / 0.5715 GB, free: 42.2 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001075/0.52, allocations: 77.45 kB / 0.5716 GB, free: 42.16 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 3.276e-05/0.52, allocations: 10.88 kB / 0.5716 GB, free: 42.16 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 2.77e-05/0.5201, allocations: 11.5 kB / 0.5716 GB, free: 42.16 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 6.763e-05/0.5201, allocations: 66.69 kB / 0.5717 GB, free: 42.11 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 7.317e-05/0.5202, allocations: 73.42 kB / 0.5718 GB, free: 42.07 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 9.396e-05/0.5203, allocations: 97.58 kB / 0.5718 GB, free: 42.02 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.5203, allocations: 0 / 0.5718 GB, free: 42.02 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.903e-06/0.5203, allocations: 0 / 0.5718 GB, free: 42.02 MB / 462.3 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.5203, allocations: 0 / 0.5718 GB, free: 42.02 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.0007953/0.5211, allocations: 0.5276 MB / 0.5724 GB, free: 41.55 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.5212, allocations: 13.73 kB / 0.5724 GB, free: 41.55 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.556e-05/0.5212, allocations: 12.53 kB / 0.5724 GB, free: 41.55 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001523/0.5214, allocations: 199.3 kB / 0.5726 GB, free: 41.34 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.5214, allocations: 14.88 kB / 0.5726 GB, free: 41.33 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.041e-05/0.5215, allocations: 36.45 kB / 0.5726 GB, free: 41.31 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002724/0.5217, allocations: 177.7 kB / 0.5728 GB, free: 41.2 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/0.5218, allocations: 3 kB / 0.5728 GB, free: 41.2 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.488e-05/0.5218, allocations: 15.88 kB / 0.5728 GB, free: 41.18 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.5218, allocations: 3.906 kB / 0.5728 GB, free: 41.18 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001695/0.522, allocations: 109 kB / 0.5729 GB, free: 41.14 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002995/0.5223, allocations: 313.6 kB / 0.5732 GB, free: 40.86 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004804/0.5228, allocations: 266.1 kB / 0.5735 GB, free: 40.73 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001538/0.5229, allocations: 117.4 kB / 0.5736 GB, free: 40.68 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 2.131e-05/0.523, allocations: 2.656 kB / 0.5736 GB, free: 40.68 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.328e-05/0.523, allocations: 43.92 kB / 0.5736 GB, free: 40.62 MB / 462.3 MB Notification: Performance of pre-optimization done (n=30): time 1.803e-06/0.523, allocations: 5.328 kB / 0.5736 GB, free: 40.62 MB / 462.3 MB Notification: Performance of matching and sorting (n=30): time 0.001578/0.5246, allocations: 0.6254 MB / 0.5742 GB, free: 40.25 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.291e-05/0.5246, allocations: 55.19 kB / 0.5743 GB, free: 40.18 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.637e-05/0.5246, allocations: 103 kB / 0.5744 GB, free: 40.08 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 2.219e-05/0.5247, allocations: 39.67 kB / 0.5744 GB, free: 40.04 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 2.408e-05/0.5247, allocations: 86.67 kB / 0.5745 GB, free: 39.95 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 7.043e-05/0.5248, allocations: 120.9 kB / 0.5746 GB, free: 39.84 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.825e-05/0.5249, allocations: 80.59 kB / 0.5747 GB, free: 39.79 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.913e-05/0.5249, allocations: 328.1 kB / 0.575 GB, free: 39.46 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001793/0.5251, allocations: 133 kB / 0.5751 GB, free: 39.41 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002051/0.5253, allocations: 214.4 kB / 0.5754 GB, free: 39.25 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003897/0.5257, allocations: 366.6 kB / 0.5757 GB, free: 39.02 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.5257, allocations: 3.938 kB / 0.5757 GB, free: 39.02 MB / 462.3 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008889/0.5266, allocations: 0.5258 MB / 0.5762 GB, free: 38.75 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.5266, allocations: 5.375 kB / 0.5762 GB, free: 38.75 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.5267, allocations: 3.625 kB / 0.5762 GB, free: 38.75 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006287/0.5273, allocations: 150.9 kB / 0.5764 GB, free: 38.68 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002511/0.5276, allocations: 82.19 kB / 0.5764 GB, free: 38.66 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002035/0.5296, allocations: 2.159 MB / 0.5786 GB, free: 36.84 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001285/0.5297, allocations: 30.55 kB / 0.5786 GB, free: 36.82 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.173e-05/0.5298, allocations: 15 kB / 0.5786 GB, free: 36.82 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.0001048/0.5299, allocations: 151.5 kB / 0.5787 GB, free: 36.67 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.586e-05/0.5299, allocations: 13.34 kB / 0.5788 GB, free: 36.66 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.351e-05/0.53, allocations: 30.59 kB / 0.5788 GB, free: 36.64 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.53, allocations: 2.75 kB / 0.5788 GB, free: 36.64 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.828e-06/0.53, allocations: 2.75 kB / 0.5788 GB, free: 36.64 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.53, allocations: 3.984 kB / 0.5788 GB, free: 36.63 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002274/0.5302, allocations: 297.9 kB / 0.5791 GB, free: 36.37 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.5302, allocations: 3.938 kB / 0.5791 GB, free: 36.36 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003772/0.5306, allocations: 74.45 kB / 0.5792 GB, free: 36.34 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005907/0.5312, allocations: 144.9 kB / 0.5793 GB, free: 36.28 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.153e-05/0.5313, allocations: 18.42 kB / 0.5793 GB, free: 36.27 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00199/0.5333, allocations: 2.146 MB / 0.5814 GB, free: 34.46 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.5333, allocations: 3.031 kB / 0.5814 GB, free: 34.46 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009336/0.5342, allocations: 0.5583 MB / 0.582 GB, free: 34.16 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 2.35e-05/0.5342, allocations: 94.25 kB / 0.582 GB, free: 34.06 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.346e-05/0.5343, allocations: 18.22 kB / 0.5821 GB, free: 34.05 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.994e-05/0.5344, allocations: 9.234 kB / 0.5821 GB, free: 34.04 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.934e-05/0.5345, allocations: 31.25 kB / 0.5821 GB, free: 34.02 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.596e-05/0.5345, allocations: 5.062 kB / 0.5821 GB, free: 34.02 MB / 462.3 MB Notification: Performance of sorting global known variables: time 1.989e-05/0.5345, allocations: 77.81 kB / 0.5822 GB, free: 33.95 MB / 462.3 MB Notification: Performance of sort global known variables: time 8.12e-07/0.5345, allocations: 1.281 kB / 0.5822 GB, free: 33.95 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.000295/0.5348, allocations: 74 kB / 0.5823 GB, free: 33.93 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.0001056/0.5349, allocations: 123.3 kB / 0.5824 GB, free: 33.82 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0009124/0.5358, allocations: 0.5358 MB / 0.5829 GB, free: 33.55 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.5358, allocations: 0 / 0.5829 GB, free: 33.55 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0005173/0.5364, allocations: 335.1 kB / 0.5832 GB, free: 33.34 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001938/0.5366, allocations: 15.78 kB / 0.5832 GB, free: 33.33 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001712/0.5383, allocations: 1.546 MB / 0.5847 GB, free: 32.07 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001499/0.5385, allocations: 0.7389 MB / 0.5855 GB, free: 31.36 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.886e-05/0.5385, allocations: 17.53 kB / 0.5855 GB, free: 31.35 MB / 462.3 MB Notification: Performance of SimCode: time 2.2e-07/0.5385, allocations: 5.219 kB / 0.5855 GB, free: 31.34 MB / 462.3 MB Notification: Performance of Templates: time 0.004267/0.5428, allocations: 2.578 MB / 0.588 GB, free: 30.04 MB / 462.3 MB 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/jenkins1/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