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.001409/0.001409, allocations: 93.62 kB / 16.3 MB, free: 6.457 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.001474/0.001474, allocations: 183 kB / 17.2 MB, free: 6.34 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.394/1.394, allocations: 223.2 MB / 241.1 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9211/0.9211, allocations: 120.5 MB / 412.7 MB, free: 12.1 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003183/0.0003184, allocations: 12 kB / 0.4943 GB, free: 11.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1945/0.1948, allocations: 82.85 MB / 0.5752 GB, free: 8.039 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10): time 0.002244/0.1972, allocations: 0.9378 MB / 0.5761 GB, free: 7.094 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003979/0.1976, allocations: 47.89 kB / 0.5761 GB, free: 7.047 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.035e-05/0.1977, allocations: 0 / 0.5761 GB, free: 7.047 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001793/0.198, allocations: 4 kB / 0.5761 GB, free: 7.043 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.458e-05/0.1981, allocations: 3.938 kB / 0.5761 GB, free: 7.039 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003338/0.1984, allocations: 23.95 kB / 0.5761 GB, free: 7.016 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003661/0.1988, allocations: 143.8 kB / 0.5763 GB, free: 6.875 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.1989, allocations: 7.969 kB / 0.5763 GB, free: 6.867 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001684/0.1991, allocations: 71.95 kB / 0.5764 GB, free: 6.797 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001999/0.1993, allocations: 71.83 kB / 0.5764 GB, free: 6.727 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.56e-05/0.1994, allocations: 12 kB / 0.5764 GB, free: 6.715 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.539e-05/0.1995, allocations: 12 kB / 0.5765 GB, free: 6.703 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001238/0.1996, allocations: 63.8 kB / 0.5765 GB, free: 6.641 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001085/0.1998, allocations: 45.7 kB / 0.5766 GB, free: 6.59 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002119/0.2, allocations: 84.08 kB / 0.5766 GB, free: 6.508 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.816e-06/0.2, allocations: 4 kB / 0.5766 GB, free: 6.504 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.797e-06/0.2, allocations: 7.875 kB / 0.5767 GB, free: 6.496 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.299e-05/0.2001, allocations: 0 / 0.5767 GB, free: 6.496 MB / 446.1 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.001153/0.2012, allocations: 0.5106 MB / 0.5771 GB, free: 5.938 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001345/0.2014, allocations: 8.031 kB / 0.5772 GB, free: 5.93 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.487e-05/0.2015, allocations: 50.5 kB / 0.5772 GB, free: 5.871 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.547e-05/0.2015, allocations: 11.91 kB / 0.5772 GB, free: 5.859 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002588/0.2018, allocations: 198.9 kB / 0.5774 GB, free: 5.625 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.087e-05/0.2018, allocations: 16 kB / 0.5774 GB, free: 5.609 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.779e-05/0.2019, allocations: 35.89 kB / 0.5775 GB, free: 5.574 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003281/0.2022, allocations: 177.5 kB / 0.5776 GB, free: 5.395 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.797e-05/0.2022, allocations: 4 kB / 0.5776 GB, free: 5.391 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.017e-05/0.2023, allocations: 4 kB / 0.5776 GB, free: 5.387 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.112e-05/0.2023, allocations: 7.953 kB / 0.5776 GB, free: 5.379 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001824/0.2025, allocations: 103.9 kB / 0.5777 GB, free: 5.277 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003773/0.2029, allocations: 313.3 kB / 0.578 GB, free: 4.922 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005279/0.2034, allocations: 270.6 kB / 0.5783 GB, free: 4.648 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.094e-05/0.2034, allocations: 4 kB / 0.5783 GB, free: 4.645 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.251e-05/0.2035, allocations: 34.56 kB / 0.5783 GB, free: 4.602 MB / 446.1 MB Notification: Performance of pre-optimization done (n=30): time 1.352e-06/0.2035, allocations: 0 / 0.5783 GB, free: 4.602 MB / 446.1 MB Notification: Performance of matching and sorting (n=30): time 0.001613/0.2051, allocations: 0.6292 MB / 0.5789 GB, free: 3.941 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.194e-05/0.2052, allocations: 51.41 kB / 0.579 GB, free: 3.879 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001576/0.2054, allocations: 105.8 kB / 0.5791 GB, free: 3.766 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.345e-05/0.2054, allocations: 33.7 kB / 0.5791 GB, free: 3.727 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.716e-05/0.2055, allocations: 92.73 kB / 0.5792 GB, free: 3.629 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.46e-05/0.2056, allocations: 118.2 kB / 0.5793 GB, free: 3.512 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.587e-05/0.2056, allocations: 12 kB / 0.5793 GB, free: 3.5 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001175/0.2057, allocations: 322.8 kB / 0.5796 GB, free: 3.176 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001797/0.2059, allocations: 128.8 kB / 0.5798 GB, free: 3.051 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002356/0.2062, allocations: 213.7 kB / 0.58 GB, free: 2.809 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002201/0.2064, allocations: 159.9 kB / 0.5801 GB, free: 2.652 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.2064, allocations: 4 kB / 0.5801 GB, free: 2.648 MB / 446.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009171/0.2073, allocations: 0.5106 MB / 0.5806 GB, free: 2.129 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.2074, allocations: 8 kB / 0.5806 GB, free: 2.121 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.495e-06/0.2074, allocations: 8.094 kB / 0.5806 GB, free: 2.113 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006322/0.208, allocations: 152.6 kB / 0.5808 GB, free: 1.961 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002601/0.2083, allocations: 83.91 kB / 0.5809 GB, free: 1.879 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5495/0.7578, allocations: 2.032 MB / 0.5829 GB, free: 15.09 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002185/0.7581, allocations: 32.09 kB / 0.5829 GB, free: 15.09 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.581e-05/0.7581, allocations: 14.81 kB / 0.5829 GB, free: 15.09 MB / 446.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001474/0.7583, allocations: 149.3 kB / 0.583 GB, free: 14.98 MB / 446.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.515e-05/0.7583, allocations: 9.031 kB / 0.5831 GB, free: 14.98 MB / 446.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001042/0.7585, allocations: 33.73 kB / 0.5831 GB, free: 14.98 MB / 446.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.64e-06/0.7585, allocations: 3.188 kB / 0.5831 GB, free: 14.98 MB / 446.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.315e-05/0.7585, allocations: 5.062 kB / 0.5831 GB, free: 14.98 MB / 446.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.214e-06/0.7585, allocations: 2.719 kB / 0.5831 GB, free: 14.98 MB / 446.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004103/0.7589, allocations: 301.4 kB / 0.5834 GB, free: 14.79 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.7589, allocations: 0.625 kB / 0.5834 GB, free: 14.79 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003925/0.7593, allocations: 68.78 kB / 0.5834 GB, free: 14.79 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006628/0.76, allocations: 147.5 kB / 0.5836 GB, free: 14.78 MB / 446.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.876e-05/0.76, allocations: 15.14 kB / 0.5836 GB, free: 14.78 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002455/0.7625, allocations: 2.042 MB / 0.5856 GB, free: 13.53 MB / 446.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.7625, allocations: 2.688 kB / 0.5856 GB, free: 13.53 MB / 446.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001087/0.7636, allocations: 0.5735 MB / 0.5862 GB, free: 13.45 MB / 446.3 MB Notification: Performance of postOpt removeConstants (simulation): time 2.586e-05/0.7637, allocations: 91.25 kB / 0.5862 GB, free: 13.35 MB / 446.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.927e-05/0.7637, allocations: 13.25 kB / 0.5863 GB, free: 13.35 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.873e-05/0.7638, allocations: 8.312 kB / 0.5863 GB, free: 13.35 MB / 446.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.889e-05/0.7639, allocations: 23.38 kB / 0.5863 GB, free: 13.35 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.849e-05/0.7639, allocations: 6.797 kB / 0.5863 GB, free: 13.35 MB / 446.3 MB Notification: Performance of sorting global known variables: time 2.412e-05/0.7639, allocations: 85.08 kB / 0.5864 GB, free: 13.28 MB / 446.3 MB Notification: Performance of sort global known variables: time 1e-07/0.7639, allocations: 3.844 kB / 0.5864 GB, free: 13.28 MB / 446.3 MB Notification: Performance of remove unused functions: time 0.0004301/0.7644, allocations: 68.84 kB / 0.5864 GB, free: 13.28 MB / 446.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00136/0.7658, allocations: 1.119 MB / 0.5875 GB, free: 12.66 MB / 446.3 MB Notification: Performance of simCode: created initialization part: time 0.001/0.7668, allocations: 0.4949 MB / 0.588 GB, free: 12.51 MB / 446.3 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.7668, allocations: 0.8438 kB / 0.588 GB, free: 12.51 MB / 446.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0006008/0.7674, allocations: 329.2 kB / 0.5883 GB, free: 12.39 MB / 446.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001678/0.7676, allocations: 10.86 kB / 0.5883 GB, free: 12.39 MB / 446.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00428/0.7719, allocations: 4.384 MB / 0.5926 GB, free: 9.27 MB / 446.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002024/0.7721, allocations: 0.7488 MB / 0.5934 GB, free: 8.57 MB / 446.3 MB Notification: Performance of simCode: alias equations: time 0.0001553/0.7722, allocations: 68.53 kB / 0.5934 GB, free: 8.566 MB / 446.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.382e-05/0.7723, allocations: 45.52 kB / 0.5935 GB, free: 8.539 MB / 446.3 MB Notification: Performance of SimCode: time 3.61e-07/0.7723, allocations: 0.8438 kB / 0.5935 GB, free: 8.539 MB / 446.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01793/0.7903, allocations: 4.823 MB / 0.5982 GB, free: 8.234 MB / 446.3 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001554/0.7905, allocations: 259.9 kB / 0.5984 GB, free: 7.875 MB / 446.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.883/2.673, allocations: 1.719 kB / 0.5984 GB, free: 7.875 MB / 446.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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_ScaledExperiments_HarmonicOscillatorNetwork_N_10_fmu --startTime=0 --stopTime=10 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_ScaledExperiments_HarmonicOscillatorNetwork_N_10.fmu > ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10_res.mat does not exist to compare? outputFormat=mat