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: "" <> buildModelFMU(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_ScaledExperiments_HarmonicOscillatorNetwork_N_10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_ScaledExperiments_HarmonicOscillatorNetwork_N_10",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001597/0.001597, allocations: 104 kB / 16.92 MB, free: 5.793 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.001974/0.001974, allocations: 191.3 kB / 17.85 MB, free: 5.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.6/2.6, allocations: 222.9 MB / 241.5 MB, free: 15.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 2.248/2.248, allocations: 119.3 MB / 411 MB, free: 9.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002364/0.002364, allocations: 63.91 kB / 0.491 GB, free: 13.64 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.3/1.303, allocations: 80.69 MB / 0.5698 GB, free: 43.37 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10): time 0.004949/1.308, allocations: 1.223 MB / 0.571 GB, free: 42.4 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0003147/1.308, allocations: 47.02 kB / 0.5711 GB, free: 42.37 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.022e-05/1.308, allocations: 0 / 0.5711 GB, free: 42.37 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001391/1.308, allocations: 3.984 kB / 0.5711 GB, free: 42.36 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0001052/1.308, allocations: 6.812 kB / 0.5711 GB, free: 42.36 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002489/1.309, allocations: 23.97 kB / 0.5711 GB, free: 42.34 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0004269/1.309, allocations: 230.5 kB / 0.5713 GB, free: 42.22 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 7.202e-05/1.309, allocations: 3.688 kB / 0.5713 GB, free: 42.22 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001255/1.309, allocations: 77.59 kB / 0.5714 GB, free: 42.19 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002113/1.31, allocations: 85.72 kB / 0.5715 GB, free: 42.13 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 6.838e-05/1.31, allocations: 10.09 kB / 0.5715 GB, free: 42.13 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 5.742e-05/1.31, allocations: 12.75 kB / 0.5715 GB, free: 42.13 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001246/1.31, allocations: 65.55 kB / 0.5716 GB, free: 42.09 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001604/1.31, allocations: 77.8 kB / 0.5717 GB, free: 42.04 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0003854/1.31, allocations: 116.7 kB / 0.5718 GB, free: 41.98 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 2.656e-05/1.31, allocations: 0 / 0.5718 GB, free: 41.98 MB / 462.3 MB Notification: Performance of FrontEnd: time 7.424e-06/1.311, allocations: 0 / 0.5718 GB, free: 41.98 MB / 462.3 MB Notification: Performance of Transformations before backend: time 3.116e-05/1.311, allocations: 0 / 0.5718 GB, free: 41.98 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.001563/1.312, allocations: 0.5284 MB / 0.5723 GB, free: 41.52 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 7.307e-05/1.312, allocations: 9.906 kB / 0.5723 GB, free: 41.52 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.974e-05/1.312, allocations: 42.84 kB / 0.5723 GB, free: 41.47 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.865e-05/1.312, allocations: 17.3 kB / 0.5723 GB, free: 41.46 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002758/1.313, allocations: 197.7 kB / 0.5725 GB, free: 41.25 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.912e-05/1.313, allocations: 16.53 kB / 0.5726 GB, free: 41.24 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.464e-05/1.313, allocations: 27.84 kB / 0.5726 GB, free: 41.23 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005092/1.313, allocations: 182.5 kB / 0.5728 GB, free: 41.12 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.698e-05/1.313, allocations: 9.422 kB / 0.5728 GB, free: 41.11 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.119e-05/1.313, allocations: 5.5 kB / 0.5728 GB, free: 41.11 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.583e-05/1.313, allocations: 7.688 kB / 0.5728 GB, free: 41.1 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003081/1.314, allocations: 112.5 kB / 0.5729 GB, free: 41.05 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005795/1.314, allocations: 306 kB / 0.5732 GB, free: 40.78 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008243/1.315, allocations: 270.3 kB / 0.5734 GB, free: 40.65 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002754/1.315, allocations: 120.9 kB / 0.5735 GB, free: 40.59 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 3.213e-05/1.316, allocations: 2.344 kB / 0.5735 GB, free: 40.59 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.941e-05/1.316, allocations: 41.06 kB / 0.5736 GB, free: 40.54 MB / 462.3 MB Notification: Performance of pre-optimization done (n=30): time 2.104e-06/1.316, allocations: 0 / 0.5736 GB, free: 40.54 MB / 462.3 MB Notification: Performance of matching and sorting (n=30): time 0.002758/1.318, allocations: 0.6249 MB / 0.5742 GB, free: 40.17 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.102e-05/1.318, allocations: 55.22 kB / 0.5743 GB, free: 40.11 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.143e-05/1.319, allocations: 107.4 kB / 0.5744 GB, free: 40 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 3.677e-05/1.319, allocations: 31.11 kB / 0.5744 GB, free: 39.96 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 4.268e-05/1.319, allocations: 87.3 kB / 0.5745 GB, free: 39.87 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001289/1.319, allocations: 124.6 kB / 0.5746 GB, free: 39.76 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001809/1.319, allocations: 79.5 kB / 0.5747 GB, free: 39.71 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 0.0001063/1.319, allocations: 329.1 kB / 0.575 GB, free: 39.39 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003171/1.319, allocations: 128.8 kB / 0.5751 GB, free: 39.33 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004178/1.32, allocations: 214.4 kB / 0.5753 GB, free: 39.18 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007459/1.321, allocations: 376 kB / 0.5757 GB, free: 38.94 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/1.321, allocations: 0 / 0.5757 GB, free: 38.94 MB / 462.3 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001507/1.322, allocations: 0.5245 MB / 0.5762 GB, free: 38.67 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 3.293e-05/1.322, allocations: 5.5 kB / 0.5762 GB, free: 38.67 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.484e-05/1.322, allocations: 2.75 kB / 0.5762 GB, free: 38.67 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001214/1.323, allocations: 147.9 kB / 0.5763 GB, free: 38.61 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000475/1.324, allocations: 86.09 kB / 0.5764 GB, free: 38.59 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004716/1.329, allocations: 2.167 MB / 0.5785 GB, free: 36.76 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007068/1.329, allocations: 30.56 kB / 0.5785 GB, free: 36.73 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001497/1.33, allocations: 15 kB / 0.5786 GB, free: 36.73 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.0007889/1.331, allocations: 143.4 kB / 0.5787 GB, free: 36.59 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001529/1.331, allocations: 12.88 kB / 0.5787 GB, free: 36.59 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000221/1.331, allocations: 38.09 kB / 0.5787 GB, free: 36.55 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.832e-05/1.331, allocations: 7.75 kB / 0.5788 GB, free: 36.55 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.932e-05/1.331, allocations: 1.844 kB / 0.5788 GB, free: 36.55 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-05/1.331, allocations: 0 / 0.5788 GB, free: 36.55 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001064/1.332, allocations: 309.8 kB / 0.5791 GB, free: 36.27 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.639e-05/1.332, allocations: 0.9375 kB / 0.5791 GB, free: 36.27 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001165/1.333, allocations: 61.47 kB / 0.5791 GB, free: 36.26 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002234/1.336, allocations: 157.1 kB / 0.5793 GB, free: 36.18 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.676e-05/1.336, allocations: 15.36 kB / 0.5793 GB, free: 36.18 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003944/1.34, allocations: 2.132 MB / 0.5814 GB, free: 34.38 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.252e-06/1.34, allocations: 3.938 kB / 0.5814 GB, free: 34.38 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001844/1.342, allocations: 0.5726 MB / 0.5819 GB, free: 34.07 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 8.424e-05/1.342, allocations: 92.7 kB / 0.582 GB, free: 33.97 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.131e-05/1.342, allocations: 19.55 kB / 0.582 GB, free: 33.96 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001833/1.342, allocations: 5.281 kB / 0.582 GB, free: 33.95 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.823e-05/1.342, allocations: 26.05 kB / 0.5821 GB, free: 33.94 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.531e-05/1.342, allocations: 10.31 kB / 0.5821 GB, free: 33.93 MB / 462.3 MB Notification: Performance of sorting global known variables: time 6.497e-05/1.342, allocations: 77.81 kB / 0.5821 GB, free: 33.86 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.412e-06/1.342, allocations: 0 / 0.5821 GB, free: 33.86 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.001046/1.343, allocations: 71.34 kB / 0.5822 GB, free: 33.85 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.00272/1.346, allocations: 1.128 MB / 0.5833 GB, free: 33 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.001879/1.348, allocations: 0.5396 MB / 0.5838 GB, free: 32.72 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/1.348, allocations: 1.562 kB / 0.5838 GB, free: 32.72 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0009134/1.349, allocations: 329.2 kB / 0.5842 GB, free: 32.52 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006523/1.35, allocations: 16.31 kB / 0.5842 GB, free: 32.5 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009169/1.359, allocations: 3.975 MB / 0.5881 GB, free: 29.49 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003893/1.359, allocations: 0.7474 MB / 0.5888 GB, free: 28.77 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0002699/1.36, allocations: 68.84 kB / 0.5888 GB, free: 28.73 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001525/1.36, allocations: 44.58 kB / 0.5889 GB, free: 28.7 MB / 462.3 MB Notification: Performance of SimCode: time 1.312e-06/1.36, allocations: 0 / 0.5889 GB, free: 28.7 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05231/1.412, allocations: 5.213 MB / 0.594 GB, free: 24.19 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.18/17.59, allocations: 15.73 kB / 0.594 GB, free: 24.18 MB / 462.3 MB (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 & python3 -m fmpy simulate --output-file ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10_res.csv --start-time 0 --stop-time 10 --timeout 300 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_ScaledExperiments_HarmonicOscillatorNetwork_N_10.fmu > ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10_res.csv","/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_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches