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.001241/0.001241, allocations: 107.6 kB / 16.51 MB, free: 6.715 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.001364/0.001364, allocations: 186.5 kB / 17.42 MB, free: 6.07 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.383/1.383, allocations: 222.9 MB / 241.1 MB, free: 15.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.064/1.064, allocations: 119.3 MB / 410.6 MB, free: 9.727 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001556/0.001556, allocations: 63.91 kB / 0.4904 GB, free: 14.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5524/0.5539, allocations: 80.68 MB / 0.5691 GB, free: 43.52 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20): time 0.002111/0.5561, allocations: 1.291 MB / 0.5704 GB, free: 42.5 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001486/0.5563, allocations: 46.86 kB / 0.5705 GB, free: 42.46 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.452e-05/0.5563, allocations: 0 / 0.5705 GB, free: 42.46 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 6.903e-05/0.5564, allocations: 1.375 kB / 0.5705 GB, free: 42.46 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 4.835e-05/0.5564, allocations: 13.22 kB / 0.5705 GB, free: 42.46 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001234/0.5566, allocations: 20.05 kB / 0.5705 GB, free: 42.44 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0003603/0.5569, allocations: 458.8 kB / 0.5709 GB, free: 42.21 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.469e-05/0.557, allocations: 7.609 kB / 0.5709 GB, free: 42.21 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001435/0.5572, allocations: 147.5 kB / 0.5711 GB, free: 42.15 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001853/0.5573, allocations: 146.4 kB / 0.5712 GB, free: 42.06 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 6.721e-05/0.5574, allocations: 26.72 kB / 0.5712 GB, free: 42.05 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 6.458e-05/0.5575, allocations: 23.62 kB / 0.5713 GB, free: 42.05 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001158/0.5576, allocations: 131.4 kB / 0.5714 GB, free: 41.97 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001458/0.5578, allocations: 141.8 kB / 0.5715 GB, free: 41.88 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001944/0.558, allocations: 227.3 kB / 0.5717 GB, free: 41.75 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.558, allocations: 0 / 0.5717 GB, free: 41.75 MB / 462.3 MB Notification: Performance of FrontEnd: time 8.31e-07/0.558, allocations: 1.406 kB / 0.5717 GB, free: 41.75 MB / 462.3 MB Notification: Performance of Transformations before backend: time 1.01e-05/0.558, allocations: 4 kB / 0.5717 GB, free: 41.75 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.001486/0.5595, allocations: 0.763 MB / 0.5725 GB, free: 41.17 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 5.094e-05/0.5595, allocations: 8.75 kB / 0.5725 GB, free: 41.17 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001256/0.5597, allocations: 60.36 kB / 0.5726 GB, free: 41.11 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001567/0.5598, allocations: 24.78 kB / 0.5726 GB, free: 41.11 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002867/0.5602, allocations: 238.5 kB / 0.5728 GB, free: 40.88 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.317e-05/0.5602, allocations: 27.31 kB / 0.5728 GB, free: 40.86 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.269e-05/0.5603, allocations: 56.53 kB / 0.5729 GB, free: 40.84 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006541/0.5609, allocations: 339.4 kB / 0.5732 GB, free: 40.64 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.555e-05/0.561, allocations: 16.03 kB / 0.5732 GB, free: 40.62 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.291e-05/0.561, allocations: 6.719 kB / 0.5732 GB, free: 40.62 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/0.561, allocations: 9.875 kB / 0.5732 GB, free: 40.62 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003549/0.5614, allocations: 217.2 kB / 0.5734 GB, free: 40.53 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005504/0.562, allocations: 477.9 kB / 0.5739 GB, free: 40.16 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007939/0.5628, allocations: 496.2 kB / 0.5744 GB, free: 39.93 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003035/0.5631, allocations: 245.2 kB / 0.5746 GB, free: 39.82 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 3.905e-05/0.5631, allocations: 7.031 kB / 0.5746 GB, free: 39.82 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.797e-05/0.5631, allocations: 45.41 kB / 0.5747 GB, free: 39.76 MB / 462.3 MB Notification: Performance of pre-optimization done (n=60): time 2.013e-06/0.5632, allocations: 0 / 0.5747 GB, free: 39.76 MB / 462.3 MB Notification: Performance of matching and sorting (n=60): time 0.00367/0.5668, allocations: 1.244 MB / 0.5759 GB, free: 39.1 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.404e-05/0.5669, allocations: 62.16 kB / 0.5759 GB, free: 39.03 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.794e-05/0.5669, allocations: 113.4 kB / 0.576 GB, free: 38.92 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 3.593e-05/0.567, allocations: 40.67 kB / 0.5761 GB, free: 38.88 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 2.426e-05/0.567, allocations: 89.11 kB / 0.5762 GB, free: 38.79 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001278/0.5671, allocations: 248.5 kB / 0.5764 GB, free: 38.57 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001799/0.5673, allocations: 145.1 kB / 0.5765 GB, free: 38.48 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 9.926e-05/0.5674, allocations: 349.2 kB / 0.5769 GB, free: 38.14 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004229/0.5679, allocations: 248.5 kB / 0.5771 GB, free: 38.04 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006511/0.5685, allocations: 438.2 kB / 0.5775 GB, free: 37.72 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000904/0.5694, allocations: 0.7154 MB / 0.5782 GB, free: 37.27 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.434e-06/0.5694, allocations: 5.781 kB / 0.5782 GB, free: 37.27 MB / 462.3 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00191/0.5714, allocations: 1.009 MB / 0.5792 GB, free: 36.78 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.397e-05/0.5714, allocations: 7.594 kB / 0.5792 GB, free: 36.78 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/0.5714, allocations: 5.031 kB / 0.5792 GB, free: 36.78 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001473/0.5729, allocations: 309.8 kB / 0.5795 GB, free: 36.64 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004862/0.5734, allocations: 163 kB / 0.5797 GB, free: 36.61 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003889/0.5773, allocations: 2.878 MB / 0.5825 GB, free: 34.51 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003489/0.5777, allocations: 53.28 kB / 0.5825 GB, free: 34.47 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.851e-05/0.5777, allocations: 34.72 kB / 0.5826 GB, free: 34.46 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.0003951/0.5781, allocations: 181.1 kB / 0.5827 GB, free: 34.29 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.014e-05/0.5782, allocations: 18.16 kB / 0.5828 GB, free: 34.29 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001261/0.5783, allocations: 60.12 kB / 0.5828 GB, free: 34.23 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.5783, allocations: 5.875 kB / 0.5828 GB, free: 34.23 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.055e-05/0.5784, allocations: 3.219 kB / 0.5828 GB, free: 34.23 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.5784, allocations: 5.078 kB / 0.5828 GB, free: 34.23 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004588/0.5788, allocations: 458.5 kB / 0.5833 GB, free: 33.88 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.5788, allocations: 4 kB / 0.5833 GB, free: 33.88 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007723/0.5796, allocations: 135.9 kB / 0.5834 GB, free: 33.85 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001166/0.5808, allocations: 286.4 kB / 0.5837 GB, free: 33.72 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.737e-05/0.5809, allocations: 34 kB / 0.5837 GB, free: 33.7 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003541/0.5844, allocations: 2.876 MB / 0.5865 GB, free: 31.39 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.5845, allocations: 3.984 kB / 0.5865 GB, free: 31.39 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001709/0.5862, allocations: 1.139 MB / 0.5876 GB, free: 30.23 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 4.68e-05/0.5862, allocations: 100.8 kB / 0.5877 GB, free: 30.11 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.059e-05/0.5863, allocations: 19.98 kB / 0.5878 GB, free: 30.09 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001799/0.5865, allocations: 8 kB / 0.5878 GB, free: 30.09 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/0.5866, allocations: 52.48 kB / 0.5878 GB, free: 30.04 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.94e-05/0.5866, allocations: 12 kB / 0.5878 GB, free: 30.02 MB / 462.3 MB Notification: Performance of sorting global known variables: time 2.438e-05/0.5867, allocations: 87.27 kB / 0.5879 GB, free: 29.94 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5867, allocations: 0 / 0.5879 GB, free: 29.94 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0004825/0.5872, allocations: 140 kB / 0.588 GB, free: 29.8 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.00215/0.5893, allocations: 1.703 MB / 0.5897 GB, free: 28.06 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.001519/0.5909, allocations: 0.8871 MB / 0.5906 GB, free: 27.16 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.5909, allocations: 0 / 0.5906 GB, free: 27.16 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.001051/0.5919, allocations: 0.5601 MB / 0.5911 GB, free: 26.59 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002423/0.5922, allocations: 16 kB / 0.5911 GB, free: 26.57 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007468/0.5997, allocations: 7.101 MB / 0.5981 GB, free: 19.26 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002056/0.5999, allocations: 0.8075 MB / 0.5989 GB, free: 18.43 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0002529/0.6002, allocations: 151.1 kB / 0.599 GB, free: 18.28 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000105/0.6003, allocations: 87.41 kB / 0.5991 GB, free: 18.2 MB / 462.3 MB Notification: Performance of SimCode: time 5.91e-07/0.6003, allocations: 0 / 0.5991 GB, free: 18.2 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02164/0.6219, allocations: 9.202 MB / 0.6081 GB, free: 9.223 MB / 462.3 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001835/0.6222, allocations: 290 kB / 0.6083 GB, free: 8.84 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.109/2.731, allocations: 4 kB / 0.6083 GB, free: 8.836 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