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.000885/0.000885, allocations: 95.23 kB / 16.3 MB, free: 5.992 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.00104/0.00104, allocations: 182.9 kB / 17.2 MB, free: 5.914 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.385/1.385, allocations: 223.2 MB / 241.1 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9037/0.9037, allocations: 120.5 MB / 412.7 MB, free: 12.11 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003043/0.0003043, allocations: 11.94 kB / 0.4943 GB, free: 11 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1842/0.1845, allocations: 82.85 MB / 0.5752 GB, free: 8.027 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20): time 0.00164/0.1862, allocations: 0.9456 MB / 0.5761 GB, free: 7.074 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002193/0.1865, allocations: 35.95 kB / 0.5761 GB, free: 7.039 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.333e-05/0.1865, allocations: 4 kB / 0.5761 GB, free: 7.035 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 8.661e-05/0.1866, allocations: 7.938 kB / 0.5761 GB, free: 7.027 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.158e-05/0.1867, allocations: 0 / 0.5761 GB, free: 7.027 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000162/0.1868, allocations: 23.89 kB / 0.5762 GB, free: 7.004 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003029/0.1872, allocations: 283.6 kB / 0.5764 GB, free: 6.727 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.612e-05/0.1872, allocations: 4 kB / 0.5764 GB, free: 6.723 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001207/0.1873, allocations: 151.8 kB / 0.5766 GB, free: 6.574 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001694/0.1875, allocations: 131.8 kB / 0.5767 GB, free: 6.445 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.76e-05/0.1876, allocations: 27.94 kB / 0.5767 GB, free: 6.418 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.501e-05/0.1876, allocations: 24 kB / 0.5768 GB, free: 6.395 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001112/0.1877, allocations: 119.7 kB / 0.5769 GB, free: 6.277 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.939e-05/0.1878, allocations: 61.64 kB / 0.5769 GB, free: 6.211 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001615/0.188, allocations: 175.9 kB / 0.5771 GB, free: 6.039 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.188, allocations: 0 / 0.5771 GB, free: 6.039 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.188, allocations: 0 / 0.5771 GB, free: 6.039 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.188, allocations: 0 / 0.5771 GB, free: 6.039 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001412/0.1894, allocations: 0.7259 MB / 0.5778 GB, free: 5.262 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.889e-05/0.1895, allocations: 12.03 kB / 0.5778 GB, free: 5.25 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001921/0.1897, allocations: 58.55 kB / 0.5779 GB, free: 5.184 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001382/0.1899, allocations: 27.77 kB / 0.5779 GB, free: 5.156 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002933/0.1902, allocations: 246.7 kB / 0.5781 GB, free: 4.875 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.652e-05/0.1902, allocations: 24.56 kB / 0.5782 GB, free: 4.848 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.294e-05/0.1903, allocations: 55.91 kB / 0.5782 GB, free: 4.793 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005029/0.1908, allocations: 328.7 kB / 0.5785 GB, free: 4.469 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.363e-05/0.1908, allocations: 7.906 kB / 0.5785 GB, free: 4.461 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.063e-05/0.1909, allocations: 12 kB / 0.5785 GB, free: 4.449 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.487e-06/0.1909, allocations: 7.953 kB / 0.5785 GB, free: 4.441 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003359/0.1912, allocations: 222 kB / 0.5788 GB, free: 4.227 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005707/0.1918, allocations: 471.8 kB / 0.5792 GB, free: 3.715 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007724/0.1926, allocations: 498.7 kB / 0.5797 GB, free: 3.219 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.22e-05/0.1926, allocations: 12.5 kB / 0.5797 GB, free: 3.207 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.697e-05/0.1927, allocations: 35.12 kB / 0.5797 GB, free: 3.164 MB / 446.1 MB Notification: Performance of pre-optimization done (n=60): time 1.994e-06/0.1927, allocations: 0 / 0.5797 GB, free: 3.164 MB / 446.1 MB Notification: Performance of matching and sorting (n=60): time 0.003873/0.1965, allocations: 1.241 MB / 0.5809 GB, free: 1.891 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.021e-05/0.1966, allocations: 59.91 kB / 0.581 GB, free: 1.82 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.27e-05/0.1967, allocations: 109.8 kB / 0.5811 GB, free: 1.703 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.308e-05/0.1967, allocations: 45.7 kB / 0.5811 GB, free: 1.652 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.028e-05/0.1968, allocations: 89.45 kB / 0.5812 GB, free: 1.559 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001843/0.197, allocations: 248.4 kB / 0.5815 GB, free: 1.312 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.069e-05/0.197, allocations: 16 kB / 0.5815 GB, free: 1.297 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.1972, allocations: 350.8 kB / 0.5818 GB, free: 0.9453 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005339/0.1977, allocations: 253.8 kB / 0.5821 GB, free: 0.6992 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004721/0.1982, allocations: 424.9 kB / 0.5825 GB, free: 224 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.5671/0.7653, allocations: 317.5 kB / 0.5828 GB, free: 15.43 MB / 446.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.727e-05/0.7653, allocations: 2.125 kB / 0.5828 GB, free: 15.43 MB / 446.3 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002543/0.7679, allocations: 1.006 MB / 0.5838 GB, free: 15.36 MB / 446.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.565e-05/0.7679, allocations: 7.375 kB / 0.5838 GB, free: 15.36 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.363e-05/0.7679, allocations: 4.562 kB / 0.5838 GB, free: 15.36 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001345/0.7693, allocations: 295.7 kB / 0.584 GB, free: 15.35 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006383/0.7699, allocations: 160 kB / 0.5842 GB, free: 15.34 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005243/0.7752, allocations: 2.99 MB / 0.5871 GB, free: 14.07 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00031/0.7755, allocations: 58.08 kB / 0.5872 GB, free: 14.05 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.81e-05/0.7756, allocations: 27.66 kB / 0.5872 GB, free: 14.05 MB / 446.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 (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%) 19} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005279/0.7761, allocations: 181.4 kB / 0.5874 GB, free: 13.93 MB / 446.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.82e-05/0.7762, allocations: 24.5 kB / 0.5874 GB, free: 13.92 MB / 446.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001421/0.7763, allocations: 61.38 kB / 0.5875 GB, free: 13.91 MB / 446.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.323e-06/0.7763, allocations: 6 kB / 0.5875 GB, free: 13.91 MB / 446.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.694e-05/0.7764, allocations: 3.719 kB / 0.5875 GB, free: 13.91 MB / 446.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.197e-05/0.7764, allocations: 4.234 kB / 0.5875 GB, free: 13.91 MB / 446.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007253/0.7771, allocations: 451.2 kB / 0.5879 GB, free: 13.71 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.7771, allocations: 0.6875 kB / 0.5879 GB, free: 13.71 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007617/0.7779, allocations: 133 kB / 0.588 GB, free: 13.71 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001331/0.7792, allocations: 294 kB / 0.5883 GB, free: 13.69 MB / 446.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.411e-05/0.7793, allocations: 29.89 kB / 0.5883 GB, free: 13.69 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00454/0.7839, allocations: 2.97 MB / 0.5912 GB, free: 12.16 MB / 446.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.7839, allocations: 0 / 0.5912 GB, free: 12.16 MB / 446.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002182/0.7861, allocations: 1.128 MB / 0.5923 GB, free: 11.8 MB / 446.3 MB Notification: Performance of postOpt removeConstants (simulation): time 5.934e-05/0.7862, allocations: 106 kB / 0.5924 GB, free: 11.69 MB / 446.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.424e-05/0.7863, allocations: 27.52 kB / 0.5925 GB, free: 11.68 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001859/0.7864, allocations: 18.09 kB / 0.5925 GB, free: 11.67 MB / 446.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001363/0.7866, allocations: 43.61 kB / 0.5925 GB, free: 11.66 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.639e-05/0.7866, allocations: 17.05 kB / 0.5925 GB, free: 11.66 MB / 446.3 MB Notification: Performance of sorting global known variables: time 3.335e-05/0.7867, allocations: 79.41 kB / 0.5926 GB, free: 11.58 MB / 446.3 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7867, allocations: 0 / 0.5926 GB, free: 11.58 MB / 446.3 MB Notification: Performance of remove unused functions: time 0.00103/0.7877, allocations: 141.8 kB / 0.5928 GB, free: 11.56 MB / 446.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 (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%) 19} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002217/0.7899, allocations: 1.7 MB / 0.5944 GB, free: 10.65 MB / 446.3 MB Notification: Performance of simCode: created initialization part: time 0.002072/0.792, allocations: 0.8863 MB / 0.5953 GB, free: 10.34 MB / 446.3 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.792, allocations: 0 / 0.5953 GB, free: 10.34 MB / 446.3 MB Notification: Performance of simCode: created simulation system equations: time 0.001113/0.7932, allocations: 0.5649 MB / 0.5958 GB, free: 10.11 MB / 446.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000171/0.7933, allocations: 12.78 kB / 0.5958 GB, free: 10.11 MB / 446.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008113/0.8015, allocations: 8.543 MB / 0.6042 GB, free: 3.844 MB / 446.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003133/0.8018, allocations: 0.8159 MB / 0.605 GB, free: 3.145 MB / 446.3 MB Notification: Performance of simCode: alias equations: time 0.0003276/0.8022, allocations: 143.9 kB / 0.6051 GB, free: 3.125 MB / 446.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001968/0.8024, allocations: 85.42 kB / 0.6052 GB, free: 3.066 MB / 446.3 MB Notification: Performance of SimCode: time 2.435e-06/0.8024, allocations: 5.25 kB / 0.6052 GB, free: 3.062 MB / 446.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0237/0.8261, allocations: 8.811 MB / 0.6138 GB, free: 15.44 MB / 462.3 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002728/0.8264, allocations: 264.4 kB / 0.6141 GB, free: 15.08 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.927/2.753, allocations: 3.094 kB / 0.6141 GB, free: 15.08 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/linux/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) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20_res.mat does not exist to compare? outputFormat=mat