Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.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_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_ScaledExperiments_HarmonicOscillatorNetwork_N_20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_ScaledExperiments_HarmonicOscillatorNetwork_N_20",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.001066/0.001066, allocations: 93.34 kB / 16.65 MB, free: 6.598 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.001125/0.001126, allocations: 179.3 kB / 17.56 MB, free: 6.199 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.344/1.344, allocations: 223.3 MB / 241.6 MB, free: 216 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9453/0.9453, allocations: 120.5 MB / 413.2 MB, free: 9.145 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003276/0.0003277, allocations: 8.281 kB / 0.495 GB, free: 11.33 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5437/0.544, allocations: 82.83 MB / 0.5759 GB, free: 41.82 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20): time 0.001295/0.5454, allocations: 0.9592 MB / 0.5768 GB, free: 41.04 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002046/0.5456, allocations: 43.67 kB / 0.5769 GB, free: 41.01 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.909e-05/0.5457, allocations: 0 / 0.5769 GB, free: 41.01 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 9.132e-05/0.5458, allocations: 5.156 kB / 0.5769 GB, free: 41.01 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 6.315e-05/0.5458, allocations: 1.938 kB / 0.5769 GB, free: 41.01 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.000159/0.546, allocations: 24.5 kB / 0.5769 GB, free: 40.99 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0004227/0.5464, allocations: 452.4 kB / 0.5773 GB, free: 40.77 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.21e-05/0.5465, allocations: 5.922 kB / 0.5773 GB, free: 40.76 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001311/0.5466, allocations: 155.3 kB / 0.5775 GB, free: 40.7 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001955/0.5468, allocations: 147.1 kB / 0.5776 GB, free: 40.61 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 5.589e-05/0.5469, allocations: 22.34 kB / 0.5777 GB, free: 40.61 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 5.231e-05/0.5469, allocations: 23.34 kB / 0.5777 GB, free: 40.61 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001173/0.5471, allocations: 135.7 kB / 0.5778 GB, free: 40.52 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001563/0.5472, allocations: 168 kB / 0.578 GB, free: 40.39 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001832/0.5474, allocations: 227.1 kB / 0.5782 GB, free: 40.27 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.5474, allocations: 0 / 0.5782 GB, free: 40.27 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.454e-06/0.5474, allocations: 4 kB / 0.5782 GB, free: 40.26 MB / 462.3 MB Notification: Performance of Transformations before backend: time 6.142e-06/0.5474, allocations: 1.375 kB / 0.5782 GB, free: 40.26 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001392/0.5488, allocations: 0.7133 MB / 0.5789 GB, free: 39.71 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.5489, allocations: 17.3 kB / 0.5789 GB, free: 39.7 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.435e-05/0.549, allocations: 60.05 kB / 0.579 GB, free: 39.64 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.336e-05/0.549, allocations: 27.5 kB / 0.579 GB, free: 39.63 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002271/0.5493, allocations: 239.4 kB / 0.5792 GB, free: 39.4 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.945e-05/0.5493, allocations: 31.66 kB / 0.5792 GB, free: 39.38 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.631e-05/0.5494, allocations: 59.53 kB / 0.5793 GB, free: 39.36 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005188/0.5499, allocations: 328 kB / 0.5796 GB, free: 39.17 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.789e-05/0.55, allocations: 20.45 kB / 0.5796 GB, free: 39.15 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.371e-05/0.55, allocations: 10.75 kB / 0.5796 GB, free: 39.14 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.798e-06/0.55, allocations: 5.531 kB / 0.5796 GB, free: 39.14 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003714/0.5504, allocations: 220.7 kB / 0.5799 GB, free: 39.05 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005481/0.5509, allocations: 477.7 kB / 0.5803 GB, free: 38.68 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007406/0.5517, allocations: 496.9 kB / 0.5808 GB, free: 38.46 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000309/0.552, allocations: 246 kB / 0.581 GB, free: 38.34 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 3.06e-05/0.5521, allocations: 5.625 kB / 0.581 GB, free: 38.34 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.985e-05/0.5521, allocations: 38.91 kB / 0.5811 GB, free: 38.3 MB / 462.3 MB Notification: Performance of pre-optimization done (n=60): time 2.074e-06/0.5521, allocations: 4 kB / 0.5811 GB, free: 38.29 MB / 462.3 MB Notification: Performance of matching and sorting (n=60): time 0.003628/0.5557, allocations: 1.251 MB / 0.5823 GB, free: 37.62 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.406e-05/0.5558, allocations: 58.28 kB / 0.5823 GB, free: 37.56 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.964e-05/0.5558, allocations: 113.4 kB / 0.5825 GB, free: 37.45 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 3.59e-05/0.5559, allocations: 40.48 kB / 0.5825 GB, free: 37.4 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 2.501e-05/0.5559, allocations: 89.14 kB / 0.5826 GB, free: 37.31 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001372/0.556, allocations: 245 kB / 0.5828 GB, free: 37.1 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.768e-05/0.5561, allocations: 91.39 kB / 0.5829 GB, free: 37.04 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.848e-05/0.5562, allocations: 345.4 kB / 0.5832 GB, free: 36.7 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003987/0.5566, allocations: 256.3 kB / 0.5835 GB, free: 36.59 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004646/0.5571, allocations: 425.1 kB / 0.5839 GB, free: 36.29 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008392/0.5579, allocations: 0.7188 MB / 0.5846 GB, free: 35.84 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.5579, allocations: 1 kB / 0.5846 GB, free: 35.84 MB / 462.3 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001815/0.5597, allocations: 1.013 MB / 0.5856 GB, free: 35.34 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.366e-05/0.5598, allocations: 9.781 kB / 0.5856 GB, free: 35.34 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/0.5598, allocations: 4.188 kB / 0.5856 GB, free: 35.34 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00119/0.561, allocations: 303.1 kB / 0.5859 GB, free: 35.2 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004915/0.5615, allocations: 164.4 kB / 0.586 GB, free: 35.17 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00333/0.5648, allocations: 2.896 MB / 0.5889 GB, free: 32.36 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000273/0.5651, allocations: 59.5 kB / 0.5889 GB, free: 32.3 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.775e-05/0.5652, allocations: 24 kB / 0.5889 GB, free: 32.27 MB / 462.3 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (81): * Single equations (assignments): 80 * 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,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001614/0.5653, allocations: 185.5 kB / 0.5891 GB, free: 32.08 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.224e-05/0.5654, allocations: 23.72 kB / 0.5891 GB, free: 32.06 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001691/0.5656, allocations: 57.88 kB / 0.5892 GB, free: 32 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.5656, allocations: 8 kB / 0.5892 GB, free: 32 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.672e-05/0.5656, allocations: 4 kB / 0.5892 GB, free: 31.99 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.5656, allocations: 7.984 kB / 0.5892 GB, free: 31.98 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003951/0.566, allocations: 457.5 kB / 0.5896 GB, free: 31.49 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.566, allocations: 0 / 0.5896 GB, free: 31.49 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006475/0.5667, allocations: 131.9 kB / 0.5898 GB, free: 31.36 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001063/0.5677, allocations: 296.5 kB / 0.5901 GB, free: 31.07 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.476e-05/0.5678, allocations: 31.97 kB / 0.5901 GB, free: 31.04 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00313/0.5709, allocations: 2.888 MB / 0.5929 GB, free: 28.02 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.571, allocations: 3.984 kB / 0.5929 GB, free: 28.02 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001676/0.5726, allocations: 1.136 MB / 0.594 GB, free: 26.86 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 3.984e-05/0.5727, allocations: 104.8 kB / 0.5941 GB, free: 26.74 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.151e-05/0.5728, allocations: 23.98 kB / 0.5941 GB, free: 26.71 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001937/0.573, allocations: 15.94 kB / 0.5942 GB, free: 26.7 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.314e-05/0.573, allocations: 44.48 kB / 0.5942 GB, free: 26.66 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.762e-05/0.5731, allocations: 16 kB / 0.5942 GB, free: 26.64 MB / 462.3 MB Notification: Performance of sorting global known variables: time 2.067e-05/0.5731, allocations: 79.28 kB / 0.5943 GB, free: 26.56 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5731, allocations: 0 / 0.5943 GB, free: 26.56 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0004157/0.5735, allocations: 148 kB / 0.5944 GB, free: 26.42 MB / 462.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 40 (xm[1],xm[2],xm[3],xm[4],xm[5],xm[6],xm[7],xm[8],xm[9],xm[10],xm[11],xm[12],xm[13],xm[14],xm[15],xm[16],xm[17],xm[18],xm[19],xm[20],v[1],v[2],v[3],v[4],v[5],v[6],v[7],v[8],v[9],v[10],v[11],v[12],v[13],v[14],v[15],v[16],v[17],v[18],v[19],v[20]) * 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 (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,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001906/0.5754, allocations: 1.707 MB / 0.5961 GB, free: 24.68 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.001515/0.577, allocations: 0.8913 MB / 0.597 GB, free: 23.77 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.577, allocations: 0 / 0.597 GB, free: 23.77 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.000924/0.5779, allocations: 0.5598 MB / 0.5975 GB, free: 23.2 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002349/0.5782, allocations: 24.81 kB / 0.5975 GB, free: 23.18 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007474/0.5856, allocations: 7.619 MB / 0.605 GB, free: 15.34 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002425/0.5859, allocations: 0.808 MB / 0.6058 GB, free: 14.51 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0002496/0.5862, allocations: 143.1 kB / 0.6059 GB, free: 14.37 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001146/0.5863, allocations: 87.41 kB / 0.606 GB, free: 14.29 MB / 462.3 MB Notification: Performance of SimCode: time 8.62e-07/0.5863, allocations: 0 / 0.606 GB, free: 14.29 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01912/0.6054, allocations: 9.037 MB / 0.6148 GB, free: 5.508 MB / 462.3 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001778/0.6056, allocations: 282.9 kB / 0.6151 GB, free: 5.133 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.213/2.819, allocations: 0 / 0.6151 GB, free: 5.133 MB / 462.3 MB (rm -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_ScaledExperiments_HarmonicOscillatorNetwork_N_20_fmu --startTime=0 --stopTime=10 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_ScaledExperiments_HarmonicOscillatorNetwork_N_20.fmu > ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches