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.001247/0.001247, allocations: 114.6 kB / 16.63 MB, free: 6.812 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.001293/0.001293, allocations: 185.8 kB / 17.55 MB, free: 5.934 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.396/1.396, allocations: 222.9 MB / 241.2 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.053/1.053, allocations: 119.3 MB / 410.7 MB, free: 9.695 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 59.91 kB / 0.4905 GB, free: 13.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5727/0.5739, allocations: 80.68 MB / 0.5693 GB, free: 43.48 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20): time 0.002107/0.5761, allocations: 1.296 MB / 0.5706 GB, free: 42.45 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001606/0.5763, allocations: 43.03 kB / 0.5706 GB, free: 42.42 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.513e-05/0.5763, allocations: 3.938 kB / 0.5706 GB, free: 42.42 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 7.427e-05/0.5764, allocations: 5.031 kB / 0.5706 GB, free: 42.41 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 5.259e-05/0.5764, allocations: 12.92 kB / 0.5707 GB, free: 42.41 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001288/0.5766, allocations: 20.53 kB / 0.5707 GB, free: 42.39 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0003327/0.5769, allocations: 443 kB / 0.5711 GB, free: 42.16 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.835e-05/0.577, allocations: 6.484 kB / 0.5711 GB, free: 42.16 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001192/0.5771, allocations: 148.9 kB / 0.5713 GB, free: 42.1 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001812/0.5773, allocations: 149.8 kB / 0.5714 GB, free: 42.01 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 6.322e-05/0.5774, allocations: 23.19 kB / 0.5714 GB, free: 42.01 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 5.982e-05/0.5774, allocations: 22.31 kB / 0.5714 GB, free: 42.01 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001393/0.5776, allocations: 132.5 kB / 0.5716 GB, free: 41.92 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001339/0.5777, allocations: 141.4 kB / 0.5717 GB, free: 41.83 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001868/0.5779, allocations: 229.6 kB / 0.5719 GB, free: 41.71 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.197e-06/0.5779, allocations: 4 kB / 0.5719 GB, free: 41.7 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.283e-06/0.5779, allocations: 0 / 0.5719 GB, free: 41.7 MB / 462.3 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.5779, allocations: 1.5 kB / 0.5719 GB, free: 41.7 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.001436/0.5794, allocations: 0.7574 MB / 0.5727 GB, free: 41.13 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.5794, allocations: 10.31 kB / 0.5727 GB, free: 41.13 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.053e-05/0.5795, allocations: 60.48 kB / 0.5727 GB, free: 41.07 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.266e-05/0.5796, allocations: 22.97 kB / 0.5728 GB, free: 41.06 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002182/0.5798, allocations: 242.8 kB / 0.573 GB, free: 40.83 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.37e-05/0.5798, allocations: 32.03 kB / 0.573 GB, free: 40.81 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.223e-05/0.5799, allocations: 55.78 kB / 0.5731 GB, free: 40.79 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004601/0.5804, allocations: 332.2 kB / 0.5734 GB, free: 40.59 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.254e-05/0.5804, allocations: 16.44 kB / 0.5734 GB, free: 40.58 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.938e-05/0.5804, allocations: 6.844 kB / 0.5734 GB, free: 40.58 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.5804, allocations: 5.156 kB / 0.5734 GB, free: 40.58 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003154/0.5808, allocations: 220.7 kB / 0.5736 GB, free: 40.48 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005617/0.5813, allocations: 478.4 kB / 0.5741 GB, free: 40.12 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007372/0.5821, allocations: 0.4885 MB / 0.5746 GB, free: 39.89 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002943/0.5824, allocations: 241.2 kB / 0.5748 GB, free: 39.77 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 3.928e-05/0.5824, allocations: 10.86 kB / 0.5748 GB, free: 39.77 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.813e-05/0.5825, allocations: 42.56 kB / 0.5748 GB, free: 39.72 MB / 462.3 MB Notification: Performance of pre-optimization done (n=60): time 1.553e-06/0.5825, allocations: 0 / 0.5748 GB, free: 39.72 MB / 462.3 MB Notification: Performance of matching and sorting (n=60): time 0.003574/0.586, allocations: 1.247 MB / 0.5761 GB, free: 39.05 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.521e-05/0.5861, allocations: 57.97 kB / 0.5761 GB, free: 38.99 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.023e-05/0.5861, allocations: 114 kB / 0.5762 GB, free: 38.88 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 3.944e-05/0.5862, allocations: 45.3 kB / 0.5763 GB, free: 38.83 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 3.383e-05/0.5862, allocations: 87.95 kB / 0.5763 GB, free: 38.74 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001308/0.5864, allocations: 249.2 kB / 0.5766 GB, free: 38.52 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001863/0.5866, allocations: 149.3 kB / 0.5767 GB, free: 38.43 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 9.321e-05/0.5867, allocations: 352.9 kB / 0.5771 GB, free: 38.09 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003898/0.5871, allocations: 252.3 kB / 0.5773 GB, free: 37.98 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004431/0.5875, allocations: 432.5 kB / 0.5777 GB, free: 37.66 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008691/0.5884, allocations: 0.7157 MB / 0.5784 GB, free: 37.22 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/0.5884, allocations: 0.9375 kB / 0.5784 GB, free: 37.22 MB / 462.3 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001817/0.5902, allocations: 1.014 MB / 0.5794 GB, free: 36.72 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.305e-05/0.5903, allocations: 11.16 kB / 0.5794 GB, free: 36.72 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-05/0.5903, allocations: 9.016 kB / 0.5794 GB, free: 36.71 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001191/0.5915, allocations: 298.3 kB / 0.5797 GB, free: 36.59 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005166/0.592, allocations: 164.3 kB / 0.5799 GB, free: 36.55 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00388/0.5959, allocations: 3.114 MB / 0.5829 GB, free: 34.28 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003365/0.5962, allocations: 53.41 kB / 0.583 GB, free: 34.24 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.666e-05/0.5963, allocations: 34.31 kB / 0.583 GB, free: 34.23 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.0002023/0.5965, allocations: 174 kB / 0.5832 GB, free: 34.07 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.168e-05/0.5966, allocations: 18.66 kB / 0.5832 GB, free: 34.07 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001297/0.5967, allocations: 71.27 kB / 0.5832 GB, free: 34 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.5967, allocations: 5.5 kB / 0.5832 GB, free: 34 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.147e-05/0.5968, allocations: 4.062 kB / 0.5833 GB, free: 34 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.5968, allocations: 0 / 0.5833 GB, free: 34 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004418/0.5972, allocations: 466.8 kB / 0.5837 GB, free: 33.64 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.5972, allocations: 0 / 0.5837 GB, free: 33.64 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006996/0.5979, allocations: 132.3 kB / 0.5838 GB, free: 33.62 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001108/0.599, allocations: 290.1 kB / 0.5841 GB, free: 33.49 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.48e-05/0.5991, allocations: 30.28 kB / 0.5841 GB, free: 33.48 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003511/0.6026, allocations: 3.099 MB / 0.5872 GB, free: 30.87 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.6026, allocations: 3.984 kB / 0.5872 GB, free: 30.87 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001646/0.6043, allocations: 1.139 MB / 0.5883 GB, free: 29.71 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 4.221e-05/0.6043, allocations: 104.7 kB / 0.5884 GB, free: 29.59 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.595e-05/0.6044, allocations: 23.98 kB / 0.5884 GB, free: 29.56 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001773/0.6046, allocations: 12 kB / 0.5884 GB, free: 29.55 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.5e-05/0.6047, allocations: 44.48 kB / 0.5884 GB, free: 29.51 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.888e-05/0.6047, allocations: 16 kB / 0.5885 GB, free: 29.49 MB / 462.3 MB Notification: Performance of sorting global known variables: time 2.461e-05/0.6047, allocations: 87.27 kB / 0.5885 GB, free: 29.41 MB / 462.3 MB Notification: Performance of sort global known variables: time 1e-07/0.6048, allocations: 0 / 0.5885 GB, free: 29.41 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0004718/0.6052, allocations: 148 kB / 0.5887 GB, free: 29.26 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.001905/0.6071, allocations: 1.687 MB / 0.5903 GB, free: 27.54 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.001734/0.6089, allocations: 1.063 MB / 0.5914 GB, free: 26.46 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.6089, allocations: 0 / 0.5914 GB, free: 26.46 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0009356/0.6098, allocations: 0.5596 MB / 0.5919 GB, free: 25.89 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002641/0.6101, allocations: 35.92 kB / 0.592 GB, free: 25.86 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00731/0.6174, allocations: 7.075 MB / 0.5989 GB, free: 18.57 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002035/0.6177, allocations: 0.8156 MB / 0.5997 GB, free: 17.73 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0002437/0.6179, allocations: 139.1 kB / 0.5998 GB, free: 17.59 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001095/0.618, allocations: 87.41 kB / 0.5999 GB, free: 17.51 MB / 462.3 MB Notification: Performance of SimCode: time 6.71e-07/0.618, allocations: 0 / 0.5999 GB, free: 17.51 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02981/0.6479, allocations: 9.309 MB / 0.609 GB, free: 8.453 MB / 462.3 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001789/0.6481, allocations: 285.2 kB / 0.6092 GB, free: 8.074 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.195/2.843, allocations: 0 / 0.6092 GB, free: 8.074 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","../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches