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.00125/0.00125, allocations: 115.2 kB / 16.63 MB, free: 6.812 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.001356/0.001356, allocations: 194 kB / 17.55 MB, free: 5.93 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.259/1.259, allocations: 222.9 MB / 241.2 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8436/0.8436, allocations: 119.3 MB / 410.7 MB, free: 9.734 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 55.91 kB / 0.4904 GB, free: 14.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4476/0.449, allocations: 80.69 MB / 0.5692 GB, free: 42.95 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10): time 0.002081/0.4511, allocations: 1.294 MB / 0.5705 GB, free: 41.94 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001747/0.4513, allocations: 46.77 kB / 0.5705 GB, free: 41.9 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.838e-05/0.4513, allocations: 0 / 0.5705 GB, free: 41.9 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 7.755e-05/0.4514, allocations: 1.125 kB / 0.5705 GB, free: 41.9 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 5.825e-05/0.4515, allocations: 8.922 kB / 0.5705 GB, free: 41.9 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001406/0.4516, allocations: 20.62 kB / 0.5706 GB, free: 41.88 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0002163/0.4519, allocations: 230.3 kB / 0.5708 GB, free: 41.77 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.827e-05/0.4519, allocations: 11.14 kB / 0.5708 GB, free: 41.76 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 7.417e-05/0.452, allocations: 77 kB / 0.5709 GB, free: 41.73 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001132/0.4521, allocations: 81.72 kB / 0.571 GB, free: 41.68 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 3.573e-05/0.4522, allocations: 15.69 kB / 0.571 GB, free: 41.67 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 2.941e-05/0.4522, allocations: 11.41 kB / 0.571 GB, free: 41.67 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 6.922e-05/0.4523, allocations: 62.11 kB / 0.571 GB, free: 41.63 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 7.861e-05/0.4523, allocations: 73.78 kB / 0.5711 GB, free: 41.59 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001167/0.4525, allocations: 123.9 kB / 0.5712 GB, free: 41.52 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.197e-06/0.4525, allocations: 0 / 0.5712 GB, free: 41.52 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.903e-06/0.4525, allocations: 1 kB / 0.5712 GB, free: 41.52 MB / 462.3 MB Notification: Performance of Transformations before backend: time 5.59e-06/0.4525, allocations: 0 / 0.5712 GB, free: 41.52 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.0008253/0.4533, allocations: 0.5236 MB / 0.5717 GB, free: 41.06 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.4534, allocations: 13.64 kB / 0.5717 GB, free: 41.05 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.014e-05/0.4534, allocations: 16.52 kB / 0.5718 GB, free: 41.05 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001567/0.4536, allocations: 195 kB / 0.572 GB, free: 40.84 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/0.4536, allocations: 19.53 kB / 0.572 GB, free: 40.83 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.212e-05/0.4537, allocations: 28.72 kB / 0.572 GB, free: 40.82 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002714/0.4539, allocations: 176.5 kB / 0.5722 GB, free: 40.71 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/0.454, allocations: 10.8 kB / 0.5722 GB, free: 40.7 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.089e-05/0.454, allocations: 5.5 kB / 0.5722 GB, free: 40.7 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.174e-06/0.454, allocations: 7.219 kB / 0.5722 GB, free: 40.69 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001746/0.4542, allocations: 108.6 kB / 0.5723 GB, free: 40.64 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000299/0.4545, allocations: 306.7 kB / 0.5726 GB, free: 40.37 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004754/0.455, allocations: 277.9 kB / 0.5728 GB, free: 40.23 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001563/0.4551, allocations: 120.8 kB / 0.573 GB, free: 40.18 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 2.035e-05/0.4552, allocations: 2.75 kB / 0.573 GB, free: 40.18 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.39e-05/0.4552, allocations: 39.94 kB / 0.573 GB, free: 40.13 MB / 462.3 MB Notification: Performance of pre-optimization done (n=30): time 1.212e-06/0.4552, allocations: 0 / 0.573 GB, free: 40.13 MB / 462.3 MB Notification: Performance of matching and sorting (n=30): time 0.001539/0.4567, allocations: 0.6339 MB / 0.5736 GB, free: 39.75 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.416e-05/0.4568, allocations: 58.94 kB / 0.5737 GB, free: 39.68 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.522e-05/0.4568, allocations: 104 kB / 0.5738 GB, free: 39.57 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 2.122e-05/0.4568, allocations: 31.08 kB / 0.5738 GB, free: 39.54 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 2.157e-05/0.4569, allocations: 87.55 kB / 0.5739 GB, free: 39.45 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 6.786e-05/0.4569, allocations: 124.4 kB / 0.574 GB, free: 39.34 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.977e-05/0.457, allocations: 80.34 kB / 0.5741 GB, free: 39.29 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.093e-05/0.4571, allocations: 327.9 kB / 0.5744 GB, free: 38.96 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001714/0.4573, allocations: 126.1 kB / 0.5745 GB, free: 38.91 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002033/0.4575, allocations: 213.5 kB / 0.5747 GB, free: 38.76 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003891/0.4579, allocations: 366.7 kB / 0.5751 GB, free: 38.53 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.4579, allocations: 3.938 kB / 0.5751 GB, free: 38.53 MB / 462.3 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008916/0.4588, allocations: 0.5249 MB / 0.5756 GB, free: 38.26 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.4588, allocations: 7 kB / 0.5756 GB, free: 38.26 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.4588, allocations: 6.656 kB / 0.5756 GB, free: 38.25 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006433/0.4595, allocations: 155.2 kB / 0.5758 GB, free: 38.18 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002542/0.4597, allocations: 82.12 kB / 0.5758 GB, free: 38.16 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001967/0.4617, allocations: 2.158 MB / 0.5779 GB, free: 36.34 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001349/0.4618, allocations: 30.38 kB / 0.578 GB, free: 36.32 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.239e-05/0.4619, allocations: 15.97 kB / 0.578 GB, free: 36.32 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 9.747e-05/0.462, allocations: 138.7 kB / 0.5781 GB, free: 36.18 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.718e-05/0.462, allocations: 13.5 kB / 0.5781 GB, free: 36.18 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.746e-05/0.4621, allocations: 38 kB / 0.5782 GB, free: 36.14 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.4621, allocations: 7.531 kB / 0.5782 GB, free: 36.14 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.528e-06/0.4621, allocations: 2.188 kB / 0.5782 GB, free: 36.14 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.4621, allocations: 0 / 0.5782 GB, free: 36.14 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002422/0.4624, allocations: 305.7 kB / 0.5785 GB, free: 35.86 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.746e-06/0.4624, allocations: 5.719 kB / 0.5785 GB, free: 35.86 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003625/0.4627, allocations: 64.75 kB / 0.5785 GB, free: 35.85 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005582/0.4633, allocations: 152.9 kB / 0.5787 GB, free: 35.77 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.994e-05/0.4633, allocations: 15.17 kB / 0.5787 GB, free: 35.77 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001854/0.4652, allocations: 2.139 MB / 0.5808 GB, free: 33.96 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.4652, allocations: 8.922 kB / 0.5808 GB, free: 33.96 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009775/0.4662, allocations: 0.5684 MB / 0.5813 GB, free: 33.66 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 2.28e-05/0.4662, allocations: 93.58 kB / 0.5814 GB, free: 33.55 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.499e-05/0.4663, allocations: 14.36 kB / 0.5814 GB, free: 33.54 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.4664, allocations: 5.844 kB / 0.5815 GB, free: 33.54 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.201e-05/0.4664, allocations: 26.11 kB / 0.5815 GB, free: 33.52 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.845e-05/0.4665, allocations: 9.562 kB / 0.5815 GB, free: 33.52 MB / 462.3 MB Notification: Performance of sorting global known variables: time 2.073e-05/0.4665, allocations: 78.03 kB / 0.5816 GB, free: 33.45 MB / 462.3 MB Notification: Performance of sort global known variables: time 1e-07/0.4665, allocations: 0 / 0.5816 GB, free: 33.45 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003214/0.4668, allocations: 71.94 kB / 0.5816 GB, free: 33.43 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.0001069/0.4669, allocations: 120.3 kB / 0.5817 GB, free: 33.33 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0009211/0.4679, allocations: 0.5434 MB / 0.5823 GB, free: 33.04 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.4679, allocations: 0 / 0.5823 GB, free: 33.04 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0005037/0.4684, allocations: 330.7 kB / 0.5826 GB, free: 32.84 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001888/0.4686, allocations: 15.81 kB / 0.5826 GB, free: 32.83 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001561/0.4702, allocations: 1.518 MB / 0.5841 GB, free: 31.61 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001487/0.4703, allocations: 0.7389 MB / 0.5848 GB, free: 30.89 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0001201/0.4704, allocations: 69 kB / 0.5849 GB, free: 30.86 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.263e-05/0.4705, allocations: 17.53 kB / 0.5849 GB, free: 30.85 MB / 462.3 MB Notification: Performance of SimCode: time 6.42e-07/0.4705, allocations: 0 / 0.5849 GB, free: 30.85 MB / 462.3 MB Notification: Performance of Templates: time 0.004965/0.4755, allocations: 2.763 MB / 0.5876 GB, free: 29.52 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