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.001205/0.001205, allocations: 108.2 kB / 16.62 MB, free: 6.961 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.001209/0.001209, allocations: 189.8 kB / 17.55 MB, free: 6.066 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.263/1.263, allocations: 222.9 MB / 241.2 MB, free: 15.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8522/0.8522, allocations: 119.3 MB / 410.7 MB, free: 9.684 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001182, allocations: 59.91 kB / 0.4904 GB, free: 14.06 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4652/0.4664, allocations: 80.68 MB / 0.5692 GB, free: 43.46 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10): time 0.002118/0.4686, allocations: 1.292 MB / 0.5705 GB, free: 42.44 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001681/0.4687, allocations: 43.03 kB / 0.5705 GB, free: 42.41 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.785e-05/0.4688, allocations: 1.281 kB / 0.5705 GB, free: 42.41 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 7.963e-05/0.4689, allocations: 3.984 kB / 0.5705 GB, free: 42.41 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 5.808e-05/0.4689, allocations: 12.73 kB / 0.5705 GB, free: 42.4 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.000142/0.4691, allocations: 25.22 kB / 0.5706 GB, free: 42.38 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0002263/0.4693, allocations: 226 kB / 0.5708 GB, free: 42.27 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.707e-05/0.4694, allocations: 2.594 kB / 0.5708 GB, free: 42.27 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 7.36e-05/0.4695, allocations: 82.88 kB / 0.5709 GB, free: 42.23 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001088/0.4696, allocations: 76.72 kB / 0.5709 GB, free: 42.18 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 3.209e-05/0.4696, allocations: 15.72 kB / 0.571 GB, free: 42.18 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 2.959e-05/0.4697, allocations: 11.12 kB / 0.571 GB, free: 42.18 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 6.547e-05/0.4697, allocations: 62.67 kB / 0.571 GB, free: 42.14 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 7.64e-05/0.4698, allocations: 77.58 kB / 0.5711 GB, free: 42.09 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001046/0.4699, allocations: 119.6 kB / 0.5712 GB, free: 42.02 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.4699, allocations: 0 / 0.5712 GB, free: 42.02 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.014e-06/0.4699, allocations: 1.375 kB / 0.5712 GB, free: 42.02 MB / 462.3 MB Notification: Performance of Transformations before backend: time 8.385e-06/0.4699, allocations: 0 / 0.5712 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.0007816/0.4707, allocations: 0.5235 MB / 0.5717 GB, free: 41.57 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.4708, allocations: 13.64 kB / 0.5717 GB, free: 41.56 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.087e-05/0.4708, allocations: 17.31 kB / 0.5718 GB, free: 41.55 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001504/0.471, allocations: 198 kB / 0.5719 GB, free: 41.34 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.471, allocations: 11.91 kB / 0.572 GB, free: 41.34 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.716e-05/0.4711, allocations: 36.73 kB / 0.572 GB, free: 41.32 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002626/0.4713, allocations: 180.7 kB / 0.5722 GB, free: 41.21 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/0.4713, allocations: 2.594 kB / 0.5722 GB, free: 41.21 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.84e-05/0.4714, allocations: 9.156 kB / 0.5722 GB, free: 41.2 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-06/0.4714, allocations: 3.125 kB / 0.5722 GB, free: 41.2 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001608/0.4715, allocations: 105 kB / 0.5723 GB, free: 41.16 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002865/0.4718, allocations: 310.4 kB / 0.5726 GB, free: 40.88 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000463/0.4723, allocations: 273.1 kB / 0.5728 GB, free: 40.75 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000152/0.4725, allocations: 128.7 kB / 0.573 GB, free: 40.68 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 2.146e-05/0.4725, allocations: 3.781 kB / 0.573 GB, free: 40.68 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.396e-05/0.4725, allocations: 39.56 kB / 0.573 GB, free: 40.63 MB / 462.3 MB Notification: Performance of pre-optimization done (n=30): time 1.283e-06/0.4725, allocations: 1.438 kB / 0.573 GB, free: 40.63 MB / 462.3 MB Notification: Performance of matching and sorting (n=30): time 0.001505/0.474, allocations: 0.6258 MB / 0.5736 GB, free: 40.26 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.447e-05/0.4741, allocations: 54.88 kB / 0.5737 GB, free: 40.2 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.429e-05/0.4741, allocations: 107.3 kB / 0.5738 GB, free: 40.09 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/0.4741, allocations: 30.86 kB / 0.5738 GB, free: 40.05 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 2.048e-05/0.4742, allocations: 95.12 kB / 0.5739 GB, free: 39.95 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 6.679e-05/0.4742, allocations: 120.5 kB / 0.574 GB, free: 39.85 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.755e-05/0.4743, allocations: 80.94 kB / 0.5741 GB, free: 39.8 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.546e-05/0.4744, allocations: 331.8 kB / 0.5744 GB, free: 39.47 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000168/0.4745, allocations: 121.8 kB / 0.5745 GB, free: 39.42 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002025/0.4748, allocations: 217.4 kB / 0.5747 GB, free: 39.26 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004007/0.4752, allocations: 371 kB / 0.5751 GB, free: 39.03 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.4752, allocations: 3.938 kB / 0.5751 GB, free: 39.03 MB / 462.3 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008538/0.476, allocations: 0.5206 MB / 0.5756 GB, free: 38.76 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.4761, allocations: 11.53 kB / 0.5756 GB, free: 38.76 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.4761, allocations: 1.875 kB / 0.5756 GB, free: 38.76 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005797/0.4767, allocations: 151.9 kB / 0.5757 GB, free: 38.69 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002341/0.4769, allocations: 77.72 kB / 0.5758 GB, free: 38.68 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001968/0.4789, allocations: 2.167 MB / 0.5779 GB, free: 36.85 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001289/0.479, allocations: 30.56 kB / 0.578 GB, free: 36.82 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.225e-05/0.479, allocations: 16.38 kB / 0.578 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 9.953e-05/0.4791, allocations: 142.2 kB / 0.5781 GB, free: 36.68 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.648e-05/0.4792, allocations: 13.34 kB / 0.5781 GB, free: 36.68 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.938e-05/0.4793, allocations: 30.59 kB / 0.5782 GB, free: 36.65 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.4793, allocations: 6.688 kB / 0.5782 GB, free: 36.64 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.031e-05/0.4793, allocations: 2.75 kB / 0.5782 GB, free: 36.64 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.4793, allocations: 3.984 kB / 0.5782 GB, free: 36.64 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002246/0.4795, allocations: 305.9 kB / 0.5785 GB, free: 36.37 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.4795, allocations: 3.938 kB / 0.5785 GB, free: 36.36 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003647/0.4799, allocations: 70.34 kB / 0.5785 GB, free: 36.35 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005562/0.4805, allocations: 145 kB / 0.5787 GB, free: 36.28 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.308e-05/0.4805, allocations: 14.45 kB / 0.5787 GB, free: 36.27 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001976/0.4825, allocations: 2.145 MB / 0.5808 GB, free: 34.47 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.4825, allocations: 0 / 0.5808 GB, free: 34.47 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009078/0.4834, allocations: 0.5714 MB / 0.5813 GB, free: 34.16 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 2.002e-05/0.4834, allocations: 89.98 kB / 0.5814 GB, free: 34.06 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.289e-05/0.4835, allocations: 22.27 kB / 0.5814 GB, free: 34.05 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.921e-05/0.4836, allocations: 5.25 kB / 0.5814 GB, free: 34.04 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.675e-05/0.4836, allocations: 19.34 kB / 0.5815 GB, free: 34.04 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.636e-05/0.4837, allocations: 13.03 kB / 0.5815 GB, free: 34.03 MB / 462.3 MB Notification: Performance of sorting global known variables: time 2.049e-05/0.4837, allocations: 81.8 kB / 0.5816 GB, free: 33.95 MB / 462.3 MB Notification: Performance of sort global known variables: time 1e-07/0.4837, allocations: 0 / 0.5816 GB, free: 33.95 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002927/0.484, allocations: 71.34 kB / 0.5816 GB, free: 33.94 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.0001002/0.4841, allocations: 117.9 kB / 0.5817 GB, free: 33.84 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0009222/0.485, allocations: 0.5395 MB / 0.5823 GB, free: 33.55 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.485, allocations: 0 / 0.5823 GB, free: 33.55 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0005236/0.4856, allocations: 339.1 kB / 0.5826 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.0001866/0.4858, allocations: 18.78 kB / 0.5826 GB, free: 33.33 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001582/0.4874, allocations: 1.518 MB / 0.5841 GB, free: 32.11 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001484/0.4875, allocations: 0.7428 MB / 0.5848 GB, free: 31.39 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0001265/0.4876, allocations: 69.44 kB / 0.5849 GB, free: 31.36 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.317e-05/0.4877, allocations: 16.69 kB / 0.5849 GB, free: 31.35 MB / 462.3 MB Notification: Performance of SimCode: time 2.3e-07/0.4877, allocations: 0 / 0.5849 GB, free: 31.35 MB / 462.3 MB Notification: Performance of Templates: time 0.005004/0.4927, allocations: 2.753 MB / 0.5876 GB, free: 30.03 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/jenkins/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