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.002699/0.002699, allocations: 107.3 kB / 16.92 MB, free: 5.77 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.002935/0.002935, allocations: 191.3 kB / 17.85 MB, free: 5.168 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.883/2.883, allocations: 222.9 MB / 241.5 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.682/1.682, allocations: 119.3 MB / 411 MB, free: 9.559 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001582/0.001582, allocations: 67.91 kB / 0.491 GB, free: 13.64 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9157/0.9173, allocations: 80.69 MB / 0.5698 GB, free: 43.46 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20): time 0.004068/0.9215, allocations: 1.23 MB / 0.571 GB, free: 42.48 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002616/0.9218, allocations: 46.64 kB / 0.5711 GB, free: 42.45 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.728e-05/0.9219, allocations: 1.219 kB / 0.5711 GB, free: 42.45 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001273/0.922, allocations: 3.938 kB / 0.5711 GB, free: 42.45 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 7.76e-05/0.9222, allocations: 6.75 kB / 0.5711 GB, free: 42.44 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002061/0.9224, allocations: 20.02 kB / 0.5711 GB, free: 42.43 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.000513/0.9229, allocations: 441.9 kB / 0.5715 GB, free: 42.2 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001689/0.9231, allocations: 12.59 kB / 0.5715 GB, free: 42.19 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003584/0.9234, allocations: 151.9 kB / 0.5717 GB, free: 42.13 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003016/0.9238, allocations: 142.5 kB / 0.5718 GB, free: 42.04 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0001076/0.9239, allocations: 23 kB / 0.5719 GB, free: 42.04 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 8.631e-05/0.924, allocations: 22.91 kB / 0.5719 GB, free: 42.04 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0002402/0.9242, allocations: 127.1 kB / 0.572 GB, free: 41.95 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0003234/0.9245, allocations: 141.9 kB / 0.5721 GB, free: 41.86 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0004154/0.925, allocations: 237.2 kB / 0.5724 GB, free: 41.73 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 9.448e-06/0.925, allocations: 1.438 kB / 0.5724 GB, free: 41.73 MB / 462.3 MB Notification: Performance of FrontEnd: time 4.238e-06/0.925, allocations: 0 / 0.5724 GB, free: 41.73 MB / 462.3 MB Notification: Performance of Transformations before backend: time 3.006e-05/0.925, allocations: 0 / 0.5724 GB, free: 41.73 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.002225/0.9273, allocations: 0.7628 MB / 0.5731 GB, free: 41.15 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 5.766e-05/0.9273, allocations: 9.031 kB / 0.5731 GB, free: 41.15 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001008/0.9274, allocations: 57.08 kB / 0.5732 GB, free: 41.1 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001021/0.9276, allocations: 23 kB / 0.5732 GB, free: 41.09 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004414/0.928, allocations: 250.5 kB / 0.5734 GB, free: 40.85 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.443e-05/0.9281, allocations: 27.59 kB / 0.5735 GB, free: 40.83 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001462/0.9282, allocations: 56.17 kB / 0.5735 GB, free: 40.81 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007014/0.9289, allocations: 332.1 kB / 0.5738 GB, free: 40.62 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.315e-05/0.929, allocations: 12.03 kB / 0.5738 GB, free: 40.61 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.995e-05/0.929, allocations: 10.25 kB / 0.5738 GB, free: 40.6 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.217e-05/0.9291, allocations: 5.781 kB / 0.5738 GB, free: 40.6 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005618/0.9296, allocations: 213.8 kB / 0.5741 GB, free: 40.52 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001112/0.9308, allocations: 486 kB / 0.5745 GB, free: 40.14 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001264/0.932, allocations: 0.4891 MB / 0.575 GB, free: 39.91 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004159/0.9325, allocations: 245.4 kB / 0.5752 GB, free: 39.79 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 5.038e-05/0.9325, allocations: 6.938 kB / 0.5752 GB, free: 39.79 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.515e-05/0.9326, allocations: 37.56 kB / 0.5753 GB, free: 39.74 MB / 462.3 MB Notification: Performance of pre-optimization done (n=60): time 3.958e-06/0.9326, allocations: 0 / 0.5753 GB, free: 39.74 MB / 462.3 MB Notification: Performance of matching and sorting (n=60): time 0.004862/0.9375, allocations: 1.244 MB / 0.5765 GB, free: 39.07 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001407/0.9377, allocations: 63.33 kB / 0.5765 GB, free: 39.01 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001299/0.9378, allocations: 112.7 kB / 0.5767 GB, free: 38.89 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 7.575e-05/0.9379, allocations: 45.77 kB / 0.5767 GB, free: 38.85 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 5.162e-05/0.938, allocations: 92.2 kB / 0.5768 GB, free: 38.75 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001998/0.9382, allocations: 249.2 kB / 0.577 GB, free: 38.54 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002613/0.9384, allocations: 144.7 kB / 0.5772 GB, free: 38.45 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.9386, allocations: 349.8 kB / 0.5775 GB, free: 38.11 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000556/0.9392, allocations: 255.9 kB / 0.5777 GB, free: 38.01 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008693/0.94, allocations: 424.6 kB / 0.5781 GB, free: 37.7 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001451/0.9415, allocations: 0.7196 MB / 0.5788 GB, free: 37.25 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.569e-05/0.9415, allocations: 1.25 kB / 0.5788 GB, free: 37.25 MB / 462.3 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002621/0.9442, allocations: 1.012 MB / 0.5798 GB, free: 36.75 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 4.355e-05/0.9442, allocations: 11.58 kB / 0.5798 GB, free: 36.75 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.319e-05/0.9442, allocations: 5.031 kB / 0.5799 GB, free: 36.75 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001561/0.9458, allocations: 298 kB / 0.5801 GB, free: 36.62 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006531/0.9465, allocations: 159.7 kB / 0.5803 GB, free: 36.59 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00568/0.9522, allocations: 3.121 MB / 0.5833 GB, free: 34.31 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005109/0.9527, allocations: 57.03 kB / 0.5834 GB, free: 34.27 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001922/0.953, allocations: 30.62 kB / 0.5834 GB, free: 34.26 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.0003806/0.9534, allocations: 178.2 kB / 0.5836 GB, free: 34.1 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.444e-05/0.9535, allocations: 17.84 kB / 0.5836 GB, free: 34.09 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001443/0.9536, allocations: 68.02 kB / 0.5837 GB, free: 34.03 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.482e-05/0.9537, allocations: 9.531 kB / 0.5837 GB, free: 34.03 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-05/0.9537, allocations: 3.375 kB / 0.5837 GB, free: 34.03 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.104e-06/0.9537, allocations: 0.9688 kB / 0.5837 GB, free: 34.03 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007187/0.9545, allocations: 462.4 kB / 0.5841 GB, free: 33.68 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.612e-06/0.9545, allocations: 0 / 0.5841 GB, free: 33.68 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008062/0.9553, allocations: 132.2 kB / 0.5843 GB, free: 33.65 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001421/0.9568, allocations: 290.1 kB / 0.5845 GB, free: 33.52 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.436e-05/0.9569, allocations: 30.16 kB / 0.5846 GB, free: 33.51 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005567/0.9625, allocations: 3.113 MB / 0.5876 GB, free: 30.78 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.9625, allocations: 0 / 0.5876 GB, free: 30.78 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002158/0.9647, allocations: 1.135 MB / 0.5887 GB, free: 29.62 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001027/0.9648, allocations: 104.7 kB / 0.5888 GB, free: 29.5 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.132e-05/0.9649, allocations: 23.98 kB / 0.5888 GB, free: 29.48 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002218/0.9651, allocations: 11.98 kB / 0.5888 GB, free: 29.47 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/0.9652, allocations: 48.44 kB / 0.5889 GB, free: 29.42 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.104e-05/0.9652, allocations: 20 kB / 0.5889 GB, free: 29.4 MB / 462.3 MB Notification: Performance of sorting global known variables: time 3.354e-05/0.9653, allocations: 79.27 kB / 0.589 GB, free: 29.32 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.1e-07/0.9653, allocations: 0 / 0.589 GB, free: 29.32 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0006935/0.966, allocations: 148 kB / 0.5891 GB, free: 29.18 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.002254/0.9683, allocations: 1.695 MB / 0.5908 GB, free: 27.45 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.002469/0.9707, allocations: 1.063 MB / 0.5918 GB, free: 26.37 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.9708, allocations: 0 / 0.5918 GB, free: 26.37 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.001083/0.9719, allocations: 0.5637 MB / 0.5924 GB, free: 25.8 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002996/0.9722, allocations: 24 kB / 0.5924 GB, free: 25.77 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009776/0.982, allocations: 7.009 MB / 0.5992 GB, free: 18.55 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004703/0.9825, allocations: 0.8078 MB / 0.6 GB, free: 17.72 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0004143/0.983, allocations: 143.1 kB / 0.6002 GB, free: 17.58 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001294/0.9832, allocations: 87.41 kB / 0.6002 GB, free: 17.5 MB / 462.3 MB Notification: Performance of SimCode: time 2.575e-06/0.9832, allocations: 0 / 0.6002 GB, free: 17.5 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05499/1.038, allocations: 9.372 MB / 0.6094 GB, free: 8.336 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.59/16.63, allocations: 12.19 kB / 0.6094 GB, free: 8.328 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 & python3 -m fmpy simulate --output-file ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20_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_20.fmu > ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches