Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40.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_40,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_ScaledExperiments_HarmonicOscillatorNetwork_N_40",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_ScaledExperiments_HarmonicOscillatorNetwork_N_40",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.0007233/0.0007234, allocations: 89.86 kB / 16.31 MB, free: 5.676 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.0007939/0.0007939, allocations: 181.7 kB / 17.21 MB, free: 5.598 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.23/1.23, allocations: 223.2 MB / 241.2 MB, free: 300 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8862/0.8862, allocations: 120.5 MB / 412.8 MB, free: 9.219 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003093/0.0003094, allocations: 12 kB / 0.4944 GB, free: 11.68 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.515/0.5153, allocations: 82.85 MB / 0.5753 GB, free: 41.97 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40): time 0.001225/0.5166, allocations: 0.9473 MB / 0.5762 GB, free: 41.21 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001964/0.5168, allocations: 37.67 kB / 0.5762 GB, free: 41.18 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.177e-05/0.5169, allocations: 3.938 kB / 0.5762 GB, free: 41.18 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 7.436e-05/0.5169, allocations: 5.156 kB / 0.5762 GB, free: 41.17 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 5.495e-05/0.517, allocations: 5.938 kB / 0.5762 GB, free: 41.17 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001734/0.5172, allocations: 21.02 kB / 0.5763 GB, free: 41.15 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0006212/0.5178, allocations: 0.7263 MB / 0.577 GB, free: 40.73 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.883e-05/0.5179, allocations: 5.5 kB / 0.577 GB, free: 40.73 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004172/0.5183, allocations: 294.8 kB / 0.5773 GB, free: 40.61 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005422/0.5188, allocations: 304.7 kB / 0.5775 GB, free: 40.42 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0001853/0.519, allocations: 45.28 kB / 0.5776 GB, free: 40.42 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001294/0.5192, allocations: 48.31 kB / 0.5776 GB, free: 40.42 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0002157/0.5194, allocations: 257.9 kB / 0.5779 GB, free: 40.25 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001662/0.5196, allocations: 103.1 kB / 0.578 GB, free: 40.2 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0002681/0.5198, allocations: 351.4 kB / 0.5783 GB, free: 40.02 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.5199, allocations: 3.938 kB / 0.5783 GB, free: 40.02 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.984e-06/0.5199, allocations: 0 / 0.5783 GB, free: 40.02 MB / 462.3 MB Notification: Performance of Transformations before backend: time 7.264e-06/0.5199, allocations: 0.9375 kB / 0.5783 GB, free: 40.02 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: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.002494/0.5224, allocations: 1.158 MB / 0.5794 GB, free: 39.25 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.5224, allocations: 9.188 kB / 0.5795 GB, free: 39.25 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.543e-05/0.5225, allocations: 93.89 kB / 0.5795 GB, free: 39.17 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001094/0.5227, allocations: 52.98 kB / 0.5796 GB, free: 39.15 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000358/0.523, allocations: 313.6 kB / 0.5799 GB, free: 38.89 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.095e-05/0.5231, allocations: 53.84 kB / 0.5799 GB, free: 38.86 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001224/0.5232, allocations: 114 kB / 0.5801 GB, free: 38.81 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008529/0.524, allocations: 0.6119 MB / 0.5807 GB, free: 38.46 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.944e-05/0.5241, allocations: 20.64 kB / 0.5807 GB, free: 38.45 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.451e-05/0.5242, allocations: 23.75 kB / 0.5807 GB, free: 38.43 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.922e-05/0.5242, allocations: 16.55 kB / 0.5807 GB, free: 38.43 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006583/0.5248, allocations: 436.5 kB / 0.5811 GB, free: 38.24 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009201/0.5258, allocations: 0.788 MB / 0.5819 GB, free: 37.7 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001372/0.5272, allocations: 0.9252 MB / 0.5828 GB, free: 37.26 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006786/0.5278, allocations: 476.4 kB / 0.5833 GB, free: 37.04 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 6.773e-05/0.5279, allocations: 12.47 kB / 0.5833 GB, free: 37.04 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.624e-05/0.5279, allocations: 47.47 kB / 0.5833 GB, free: 36.99 MB / 462.3 MB Notification: Performance of pre-optimization done (n=120): time 2.364e-06/0.528, allocations: 1.188 kB / 0.5833 GB, free: 36.99 MB / 462.3 MB Notification: Performance of matching and sorting (n=120): time 0.00959/0.5376, allocations: 2.865 MB / 0.5861 GB, free: 35.07 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.157e-05/0.5377, allocations: 68.41 kB / 0.5862 GB, free: 34.98 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001192/0.5378, allocations: 129.8 kB / 0.5863 GB, free: 34.85 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 9.738e-05/0.5379, allocations: 57.7 kB / 0.5864 GB, free: 34.79 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 3.83e-05/0.5379, allocations: 98.66 kB / 0.5864 GB, free: 34.68 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002892/0.5382, allocations: 488.9 kB / 0.5869 GB, free: 34.2 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.009e-05/0.5383, allocations: 32 kB / 0.5869 GB, free: 34.17 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 8.419e-05/0.5384, allocations: 370.8 kB / 0.5873 GB, free: 33.8 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006271/0.539, allocations: 0.4957 MB / 0.5878 GB, free: 33.3 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007303/0.5398, allocations: 0.8239 MB / 0.5886 GB, free: 32.35 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007422/0.5405, allocations: 0.6392 MB / 0.5892 GB, free: 31.71 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.513e-06/0.5405, allocations: 4 kB / 0.5892 GB, free: 31.71 MB / 462.3 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.003015/0.5435, allocations: 1.982 MB / 0.5911 GB, free: 29.71 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/0.5436, allocations: 10.34 kB / 0.5912 GB, free: 29.71 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.733e-05/0.5436, allocations: 12 kB / 0.5912 GB, free: 29.7 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001913/0.5455, allocations: 0.5788 MB / 0.5917 GB, free: 29.11 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008605/0.5464, allocations: 323.6 kB / 0.592 GB, free: 28.8 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006067/0.5525, allocations: 4.685 MB / 0.5966 GB, free: 23.98 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005984/0.5531, allocations: 114.9 kB / 0.5967 GB, free: 23.86 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001151/0.5532, allocations: 60 kB / 0.5968 GB, free: 23.8 MB / 462.3 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (161): * Single equations (assignments): 160 * 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%) 39} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003191/0.5535, allocations: 237.4 kB / 0.597 GB, free: 23.56 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.582e-05/0.5536, allocations: 47.42 kB / 0.5971 GB, free: 23.52 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003039/0.5539, allocations: 115.9 kB / 0.5972 GB, free: 23.41 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.914e-06/0.554, allocations: 12 kB / 0.5972 GB, free: 23.39 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.816e-05/0.554, allocations: 8 kB / 0.5972 GB, free: 23.39 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.097e-05/0.554, allocations: 7.969 kB / 0.5972 GB, free: 23.38 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007824/0.5548, allocations: 0.759 MB / 0.5979 GB, free: 22.57 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.5548, allocations: 0 / 0.5979 GB, free: 22.57 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001216/0.556, allocations: 259.8 kB / 0.5982 GB, free: 22.31 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001903/0.558, allocations: 0.5704 MB / 0.5987 GB, free: 21.74 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000105/0.5581, allocations: 51.95 kB / 0.5988 GB, free: 21.69 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005794/0.5639, allocations: 4.67 MB / 0.6034 GB, free: 16.88 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.5639, allocations: 0 / 0.6034 GB, free: 16.88 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003377/0.5673, allocations: 2.322 MB / 0.6056 GB, free: 14.54 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 8.854e-05/0.5674, allocations: 136.3 kB / 0.6057 GB, free: 14.39 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001099/0.5675, allocations: 51.95 kB / 0.6058 GB, free: 14.34 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00029/0.5678, allocations: 24 kB / 0.6058 GB, free: 14.32 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001489/0.568, allocations: 88.8 kB / 0.6059 GB, free: 14.23 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.393e-05/0.568, allocations: 35.98 kB / 0.6059 GB, free: 14.2 MB / 462.3 MB Notification: Performance of sorting global known variables: time 2.373e-05/0.5681, allocations: 83.27 kB / 0.606 GB, free: 14.11 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5681, allocations: 0 / 0.606 GB, free: 14.11 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0007306/0.5688, allocations: 284 kB / 0.6063 GB, free: 13.84 MB / 462.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 80 (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],xm[21],xm[22],xm[23],xm[24],xm[25],xm[26],xm[27],xm[28],xm[29],xm[30],xm[31],xm[32],xm[33],xm[34],xm[35],xm[36],xm[37],xm[38],xm[39],xm[40],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],v[21],v[22],v[23],v[24],v[25],v[26],v[27],v[28],v[29],v[30],v[31],v[32],v[33],v[34],v[35],v[36],v[37],v[38],v[39],v[40]) * 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 (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%) 39} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003523/0.5723, allocations: 2.931 MB / 0.6092 GB, free: 10.87 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.002766/0.5751, allocations: 1.665 MB / 0.6108 GB, free: 9.188 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.5751, allocations: 0 / 0.6108 GB, free: 9.188 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.001809/0.577, allocations: 1.014 MB / 0.6118 GB, free: 8.16 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000315/0.5773, allocations: 36 kB / 0.6118 GB, free: 8.125 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01213/0.5894, allocations: 11.21 MB / 0.6227 GB, free: 12.74 MB / 478.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006141/0.5901, allocations: 0.944 MB / 0.6237 GB, free: 11.77 MB / 478.3 MB Notification: Performance of simCode: alias equations: time 0.0006552/0.5908, allocations: 297.4 kB / 0.624 GB, free: 11.48 MB / 478.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002806/0.5911, allocations: 175.4 kB / 0.6241 GB, free: 11.3 MB / 478.3 MB Notification: Performance of SimCode: time 1.422e-06/0.5911, allocations: 0 / 0.6241 GB, free: 11.3 MB / 478.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03271/0.6238, allocations: 17.39 MB / 0.6411 GB, free: 10.17 MB / 494.3 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002164/0.6241, allocations: 265.2 kB / 0.6414 GB, free: 9.816 MB / 494.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.096/2.72, allocations: 2.578 kB / 0.6414 GB, free: 9.816 MB / 494.3 MB (rm -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_ScaledExperiments_HarmonicOscillatorNetwork_N_40_fmu --startTime=0 --stopTime=10 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_ScaledExperiments_HarmonicOscillatorNetwork_N_40.fmu > ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40_res.mat does not exist to compare? outputFormat=mat