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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001247/0.001247, allocations: 119.9 kB / 17.74 MB, free: 5.344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 185.3 kB / 20.68 MB, free: 2.414 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.347/1.347, allocations: 222.9 MB / 246.4 MB, free: 4.207 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8124/0.8124, allocations: 119.3 MB / 417.9 MB, free: 12.05 MB / 350.1 MB " [Timeout remaining time 179] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001822/0.001822, allocations: 71.88 kB / 0.579 GB, free: 13.18 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4837/0.4855, allocations: 80.69 MB / 0.6578 GB, free: 13.16 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20): time 0.00177/0.4873, allocations: 1.23 MB / 0.659 GB, free: 12.18 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0001722/0.4875, allocations: 47.19 kB / 0.659 GB, free: 12.15 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.947e-05/0.4876, allocations: 0 / 0.659 GB, free: 12.15 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 8.02e-05/0.4876, allocations: 5.234 kB / 0.6591 GB, free: 12.14 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 5.349e-05/0.4877, allocations: 10.23 kB / 0.6591 GB, free: 12.14 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001391/0.4879, allocations: 23.52 kB / 0.6591 GB, free: 12.12 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.000319/0.4882, allocations: 436.9 kB / 0.6595 GB, free: 11.9 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.219e-05/0.4882, allocations: 11.48 kB / 0.6595 GB, free: 11.89 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001081/0.4883, allocations: 155.1 kB / 0.6597 GB, free: 11.82 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001905/0.4885, allocations: 138.5 kB / 0.6598 GB, free: 11.73 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 5.382e-05/0.4886, allocations: 22.5 kB / 0.6598 GB, free: 11.73 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 5.436e-05/0.4887, allocations: 22.59 kB / 0.6598 GB, free: 11.73 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001043/0.4888, allocations: 127.7 kB / 0.66 GB, free: 11.64 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.000129/0.4889, allocations: 141.9 kB / 0.6601 GB, free: 11.55 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0001909/0.4891, allocations: 232.4 kB / 0.6603 GB, free: 11.43 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.4891, allocations: 3.984 kB / 0.6603 GB, free: 11.43 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.553e-06/0.4891, allocations: 0 / 0.6603 GB, free: 11.43 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.4891, allocations: 8.844 kB / 0.6603 GB, free: 11.42 MB / 0.4983 GB 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.001455/0.4906, allocations: 0.7617 MB / 0.6611 GB, free: 10.84 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.4906, allocations: 9.25 kB / 0.6611 GB, free: 10.84 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.187e-05/0.4907, allocations: 60.86 kB / 0.6611 GB, free: 10.78 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.219e-05/0.4908, allocations: 23.62 kB / 0.6612 GB, free: 10.77 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000212/0.491, allocations: 243.4 kB / 0.6614 GB, free: 10.54 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.45e-05/0.491, allocations: 27.72 kB / 0.6614 GB, free: 10.52 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.183e-05/0.4911, allocations: 55.66 kB / 0.6615 GB, free: 10.5 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004688/0.4916, allocations: 344.1 kB / 0.6618 GB, free: 10.3 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.375e-05/0.4916, allocations: 12.52 kB / 0.6618 GB, free: 10.29 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.891e-05/0.4916, allocations: 9.844 kB / 0.6618 GB, free: 10.28 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.976e-06/0.4916, allocations: 6.438 kB / 0.6618 GB, free: 10.28 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003299/0.492, allocations: 220.8 kB / 0.662 GB, free: 10.18 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004603/0.4924, allocations: 478.7 kB / 0.6625 GB, free: 9.82 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007072/0.4932, allocations: 489.5 kB / 0.663 GB, free: 9.598 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002878/0.4935, allocations: 249.8 kB / 0.6632 GB, free: 9.473 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 3.439e-05/0.4935, allocations: 10.88 kB / 0.6632 GB, free: 9.469 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.364e-05/0.4935, allocations: 37.66 kB / 0.6632 GB, free: 9.426 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=60): time 1.933e-06/0.4935, allocations: 0 / 0.6632 GB, free: 9.426 MB / 0.4983 GB Notification: Performance of matching and sorting (n=60): time 0.003549/0.4971, allocations: 1.256 MB / 0.6645 GB, free: 8.754 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.196e-05/0.4971, allocations: 57.03 kB / 0.6645 GB, free: 8.688 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.825e-05/0.4972, allocations: 113.4 kB / 0.6646 GB, free: 8.574 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 3.032e-05/0.4972, allocations: 41.48 kB / 0.6647 GB, free: 8.531 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 2.059e-05/0.4972, allocations: 93.23 kB / 0.6648 GB, free: 8.438 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001115/0.4973, allocations: 261.6 kB / 0.665 GB, free: 8.207 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001516/0.4975, allocations: 146.2 kB / 0.6652 GB, free: 8.125 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 5.146e-05/0.4976, allocations: 344.9 kB / 0.6655 GB, free: 7.789 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003324/0.4979, allocations: 256.6 kB / 0.6657 GB, free: 7.68 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004025/0.4983, allocations: 433.1 kB / 0.6661 GB, free: 7.367 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007736/0.4991, allocations: 0.7192 MB / 0.6668 GB, free: 6.914 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.4991, allocations: 1 kB / 0.6668 GB, free: 6.914 MB / 0.4983 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001724/0.5008, allocations: 1.009 MB / 0.6678 GB, free: 6.426 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.5008, allocations: 7.844 kB / 0.6678 GB, free: 6.426 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.258e-06/0.5009, allocations: 4.125 kB / 0.6678 GB, free: 6.426 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00117/0.502, allocations: 299.2 kB / 0.6681 GB, free: 6.293 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004747/0.5025, allocations: 164.2 kB / 0.6683 GB, free: 6.262 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003577/0.5061, allocations: 3.125 MB / 0.6713 GB, free: 3.984 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002732/0.5064, allocations: 65.64 kB / 0.6714 GB, free: 3.934 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.203e-05/0.5064, allocations: 29.5 kB / 0.6714 GB, free: 3.926 MB / 0.4983 GB 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.0001386/0.5066, allocations: 170.5 kB / 0.6716 GB, free: 3.773 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.253e-05/0.5066, allocations: 26.41 kB / 0.6716 GB, free: 3.758 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001372/0.5068, allocations: 59.16 kB / 0.6717 GB, free: 3.691 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.5068, allocations: 6.875 kB / 0.6717 GB, free: 3.691 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.588e-05/0.5068, allocations: 3.312 kB / 0.6717 GB, free: 3.691 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.71e-06/0.5068, allocations: 7.984 kB / 0.6717 GB, free: 3.684 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004044/0.5072, allocations: 463.1 kB / 0.6721 GB, free: 3.332 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.5072, allocations: 0 / 0.6721 GB, free: 3.332 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006675/0.5079, allocations: 139.7 kB / 0.6723 GB, free: 3.301 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001103/0.509, allocations: 290.1 kB / 0.6725 GB, free: 3.172 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.243e-05/0.5091, allocations: 29.91 kB / 0.6726 GB, free: 3.156 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003386/0.5125, allocations: 3.099 MB / 0.6756 GB, free: 0.8945 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.5125, allocations: 1 kB / 0.6756 GB, free: 0.8945 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001791/0.5143, allocations: 1.135 MB / 0.6767 GB, free: 360 kB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 3.593e-05/0.5143, allocations: 109 kB / 0.6768 GB, free: 240 kB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.534e-05/0.5144, allocations: 28.3 kB / 0.6768 GB, free: 224 kB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001917/0.5146, allocations: 18.73 kB / 0.6769 GB, free: 208 kB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.575e-05/0.5147, allocations: 41.12 kB / 0.6769 GB, free: 184 kB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.044e-05/0.5147, allocations: 15 kB / 0.6769 GB, free: 180 kB / 0.4983 GB Notification: Performance of sorting global known variables: time 1.983e-05/0.5148, allocations: 84.62 kB / 0.677 GB, free: 96 kB / 0.4983 GB Notification: Performance of sort global known variables: time 1e-07/0.5148, allocations: 1.375 kB / 0.677 GB, free: 96 kB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0005006/0.5153, allocations: 141.1 kB / 0.6771 GB, free: 72 kB / 0.4983 GB 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.002444/0.5177, allocations: 1.705 MB / 0.6788 GB, free: 14.97 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.001811/0.5195, allocations: 0.8972 MB / 0.6797 GB, free: 14.53 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.5195, allocations: 0 / 0.6797 GB, free: 14.53 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.001106/0.5207, allocations: 0.5618 MB / 0.6802 GB, free: 14.22 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000233/0.5209, allocations: 26.25 kB / 0.6802 GB, free: 14.2 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009478/0.5304, allocations: 7.037 MB / 0.6871 GB, free: 7.883 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004557/0.5309, allocations: 0.8011 MB / 0.6879 GB, free: 7.059 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 0.0002897/0.5312, allocations: 147.1 kB / 0.688 GB, free: 6.91 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001384/0.5313, allocations: 87.41 kB / 0.6881 GB, free: 6.824 MB / 0.5139 GB Notification: Performance of SimCode: time 9.52e-07/0.5313, allocations: 0 / 0.6881 GB, free: 6.824 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03965/0.571, allocations: 9.546 MB / 0.6974 GB, free: 13.52 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.835/10.41, allocations: 7.312 kB / 0.6974 GB, free: 13.51 MB / 0.5295 GB " [Timeout remaining time 290] (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 --stepSize=0.004 --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) [Timeout 315.0] [Calling os._exit(0), Time elapsed: 13.681316459085792] Failed to read output from testmodel.py, exit status != 0: 10.483975308947265 10.49749824 10.00591844 Calling exit ...