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.001742/0.001742, allocations: 107.1 kB / 16.92 MB, free: 5.777 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.001468/0.001468, allocations: 191.3 kB / 17.85 MB, free: 5.164 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.373/1.373, allocations: 222.9 MB / 241.5 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.068/1.068, allocations: 119.3 MB / 411 MB, free: 9.543 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001499/0.001499, allocations: 67.89 kB / 0.4911 GB, free: 13.63 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6763/0.6778, allocations: 80.69 MB / 0.5698 GB, free: 43.36 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20): time 0.002455/0.6803, allocations: 1.226 MB / 0.571 GB, free: 42.39 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002011/0.6806, allocations: 42.45 kB / 0.5711 GB, free: 42.36 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.683e-05/0.6806, allocations: 1.344 kB / 0.5711 GB, free: 42.36 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 8.636e-05/0.6807, allocations: 7.938 kB / 0.5711 GB, free: 42.35 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 7.025e-05/0.6808, allocations: 10.45 kB / 0.5711 GB, free: 42.34 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001661/0.6809, allocations: 20.75 kB / 0.5711 GB, free: 42.32 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0004499/0.6814, allocations: 446.4 kB / 0.5715 GB, free: 42.09 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.64e-05/0.6815, allocations: 2.75 kB / 0.5715 GB, free: 42.09 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001287/0.6816, allocations: 151.8 kB / 0.5717 GB, free: 42.03 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001932/0.6818, allocations: 140.5 kB / 0.5718 GB, free: 41.94 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 6.661e-05/0.6819, allocations: 22.69 kB / 0.5718 GB, free: 41.94 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 6.05e-05/0.6819, allocations: 21.38 kB / 0.5719 GB, free: 41.94 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001304/0.6821, allocations: 132 kB / 0.572 GB, free: 41.86 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001855/0.6823, allocations: 147.2 kB / 0.5721 GB, free: 41.76 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.000268/0.6825, allocations: 228.3 kB / 0.5724 GB, free: 41.64 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.6826, allocations: 0 / 0.5724 GB, free: 41.64 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.004e-06/0.6826, allocations: 1.219 kB / 0.5724 GB, free: 41.64 MB / 462.3 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.6826, allocations: 0 / 0.5724 GB, free: 41.64 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.001566/0.6841, allocations: 0.7577 MB / 0.5731 GB, free: 41.06 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.6842, allocations: 9.625 kB / 0.5731 GB, free: 41.06 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.782e-05/0.6843, allocations: 65.56 kB / 0.5732 GB, free: 41 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.07e-05/0.6843, allocations: 26.62 kB / 0.5732 GB, free: 40.99 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002637/0.6846, allocations: 239 kB / 0.5734 GB, free: 40.76 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.029e-05/0.6847, allocations: 27.44 kB / 0.5734 GB, free: 40.74 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.578e-05/0.6848, allocations: 61.05 kB / 0.5735 GB, free: 40.71 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005493/0.6853, allocations: 331.2 kB / 0.5738 GB, free: 40.52 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.664e-05/0.6853, allocations: 12.41 kB / 0.5738 GB, free: 40.52 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.407e-05/0.6854, allocations: 10.03 kB / 0.5738 GB, free: 40.51 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.296e-05/0.6854, allocations: 5.75 kB / 0.5738 GB, free: 40.51 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003705/0.6858, allocations: 225.1 kB / 0.5741 GB, free: 40.41 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006129/0.6864, allocations: 477.9 kB / 0.5745 GB, free: 40.04 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001042/0.6874, allocations: 496.4 kB / 0.575 GB, free: 39.82 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003753/0.6878, allocations: 241.8 kB / 0.5752 GB, free: 39.7 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 3.755e-05/0.6879, allocations: 5.938 kB / 0.5752 GB, free: 39.7 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.92e-05/0.6879, allocations: 38.84 kB / 0.5753 GB, free: 39.65 MB / 462.3 MB Notification: Performance of pre-optimization done (n=60): time 1.664e-06/0.6879, allocations: 0 / 0.5753 GB, free: 39.65 MB / 462.3 MB Notification: Performance of matching and sorting (n=60): time 0.003933/0.6919, allocations: 1.255 MB / 0.5765 GB, free: 38.98 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.088e-05/0.6919, allocations: 62.84 kB / 0.5765 GB, free: 38.91 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.909e-05/0.692, allocations: 108.7 kB / 0.5767 GB, free: 38.8 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 4.057e-05/0.6921, allocations: 41.83 kB / 0.5767 GB, free: 38.76 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 3.546e-05/0.6921, allocations: 88.2 kB / 0.5768 GB, free: 38.67 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001406/0.6923, allocations: 249.2 kB / 0.577 GB, free: 38.45 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000175/0.6924, allocations: 154 kB / 0.5772 GB, free: 38.36 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 7.664e-05/0.6925, allocations: 340.4 kB / 0.5775 GB, free: 38.02 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004152/0.6929, allocations: 256.3 kB / 0.5777 GB, free: 37.92 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005385/0.6935, allocations: 424.6 kB / 0.5781 GB, free: 37.61 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009158/0.6944, allocations: 0.724 MB / 0.5788 GB, free: 37.16 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.6944, allocations: 3.812 kB / 0.5788 GB, free: 37.16 MB / 462.3 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001789/0.6962, allocations: 1.011 MB / 0.5798 GB, free: 36.66 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.533e-05/0.6963, allocations: 6.312 kB / 0.5798 GB, free: 36.66 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.516e-05/0.6963, allocations: 5.062 kB / 0.5798 GB, free: 36.66 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00118/0.6975, allocations: 305.4 kB / 0.5801 GB, free: 36.52 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004824/0.698, allocations: 164.4 kB / 0.5803 GB, free: 36.49 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003771/0.7017, allocations: 3.118 MB / 0.5833 GB, free: 34.21 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002566/0.702, allocations: 53.5 kB / 0.5834 GB, free: 34.18 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.499e-05/0.7021, allocations: 34.84 kB / 0.5834 GB, free: 34.16 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.0001531/0.7022, allocations: 182.4 kB / 0.5836 GB, free: 34 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.743e-05/0.7023, allocations: 18.22 kB / 0.5836 GB, free: 33.99 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001196/0.7024, allocations: 59.25 kB / 0.5837 GB, free: 33.94 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.7024, allocations: 5.969 kB / 0.5837 GB, free: 33.94 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-05/0.7024, allocations: 3.375 kB / 0.5837 GB, free: 33.94 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.7024, allocations: 4.984 kB / 0.5837 GB, free: 33.93 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004416/0.7029, allocations: 462.4 kB / 0.5841 GB, free: 33.58 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.7029, allocations: 0 / 0.5841 GB, free: 33.58 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006807/0.7036, allocations: 131.8 kB / 0.5842 GB, free: 33.56 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001095/0.7047, allocations: 290.1 kB / 0.5845 GB, free: 33.43 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.112e-05/0.7047, allocations: 29.75 kB / 0.5846 GB, free: 33.41 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003419/0.7082, allocations: 3.109 MB / 0.5876 GB, free: 30.75 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.7082, allocations: 0 / 0.5876 GB, free: 30.75 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001607/0.7098, allocations: 1.139 MB / 0.5887 GB, free: 29.59 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 2.674e-05/0.7098, allocations: 104.7 kB / 0.5888 GB, free: 29.46 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.398e-05/0.7099, allocations: 27.97 kB / 0.5888 GB, free: 29.44 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001862/0.7101, allocations: 12 kB / 0.5888 GB, free: 29.43 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.755e-05/0.7102, allocations: 44.5 kB / 0.5889 GB, free: 29.38 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.583e-05/0.7102, allocations: 15.98 kB / 0.5889 GB, free: 29.37 MB / 462.3 MB Notification: Performance of sorting global known variables: time 2.075e-05/0.7102, allocations: 87.28 kB / 0.589 GB, free: 29.28 MB / 462.3 MB Notification: Performance of sort global known variables: time 1e-07/0.7102, allocations: 0 / 0.589 GB, free: 29.28 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003723/0.7106, allocations: 144 kB / 0.5891 GB, free: 29.14 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.001771/0.7124, allocations: 1.691 MB / 0.5908 GB, free: 27.41 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.001559/0.714, allocations: 1.07 MB / 0.5918 GB, free: 26.33 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.714, allocations: 0 / 0.5918 GB, free: 26.33 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0008841/0.7149, allocations: 0.5601 MB / 0.5924 GB, free: 25.76 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002122/0.7151, allocations: 20 kB / 0.5924 GB, free: 25.74 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006678/0.7218, allocations: 7.016 MB / 0.5992 GB, free: 18.51 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001788/0.722, allocations: 0.8112 MB / 0.6 GB, free: 17.68 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0002236/0.7222, allocations: 147.1 kB / 0.6002 GB, free: 17.54 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001023/0.7223, allocations: 91.41 kB / 0.6003 GB, free: 17.45 MB / 462.3 MB Notification: Performance of SimCode: time 2.2e-07/0.7223, allocations: 0 / 0.6003 GB, free: 17.45 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02771/0.75, allocations: 9.361 MB / 0.6094 GB, free: 8.289 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.552/10.3, allocations: 10.94 kB / 0.6094 GB, free: 8.285 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","/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