Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.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_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_ScaledExperiments_HarmonicOscillatorNetwork_N_10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_ScaledExperiments_HarmonicOscillatorNetwork_N_10",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.0009289/0.000929, allocations: 90.11 kB / 16.65 MB, free: 6.535 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.001053/0.001053, allocations: 177 kB / 17.56 MB, free: 6.18 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.441/1.441, allocations: 223.3 MB / 241.6 MB, free: 14.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.087/1.087, allocations: 120.5 MB / 413.2 MB, free: 9.188 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003445/0.0003446, allocations: 11.98 kB / 0.495 GB, free: 11.38 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6139/0.6143, allocations: 82.83 MB / 0.5759 GB, free: 41.39 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10): time 0.001448/0.6158, allocations: 0.955 MB / 0.5768 GB, free: 40.63 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001792/0.616, allocations: 37.84 kB / 0.5769 GB, free: 40.6 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.915e-05/0.6161, allocations: 1.562 kB / 0.5769 GB, free: 40.6 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 8.849e-05/0.6162, allocations: 7.938 kB / 0.5769 GB, free: 40.59 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 6.466e-05/0.6162, allocations: 10.78 kB / 0.5769 GB, free: 40.59 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001466/0.6164, allocations: 16.03 kB / 0.5769 GB, free: 40.57 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0002607/0.6167, allocations: 247.7 kB / 0.5771 GB, free: 40.45 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.974e-05/0.6167, allocations: 8.297 kB / 0.5771 GB, free: 40.45 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 7.635e-05/0.6168, allocations: 76.92 kB / 0.5772 GB, free: 40.42 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001175/0.6169, allocations: 82.06 kB / 0.5773 GB, free: 40.37 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 3.334e-05/0.617, allocations: 10.94 kB / 0.5773 GB, free: 40.37 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 2.986e-05/0.617, allocations: 11.47 kB / 0.5773 GB, free: 40.37 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 6.689e-05/0.6171, allocations: 66.22 kB / 0.5774 GB, free: 40.32 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 8.104e-05/0.6172, allocations: 103.9 kB / 0.5775 GB, free: 40.24 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001065/0.6173, allocations: 114.7 kB / 0.5776 GB, free: 40.18 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.6173, allocations: 1.344 kB / 0.5776 GB, free: 40.18 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.134e-06/0.6173, allocations: 0 / 0.5776 GB, free: 40.18 MB / 462.3 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.6173, allocations: 3.938 kB / 0.5776 GB, free: 40.18 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0007941/0.6181, allocations: 0.5007 MB / 0.5781 GB, free: 39.73 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.6181, allocations: 9.094 kB / 0.5781 GB, free: 39.73 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.196e-05/0.6182, allocations: 52.39 kB / 0.5781 GB, free: 39.68 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.799e-05/0.6182, allocations: 16.78 kB / 0.5782 GB, free: 39.67 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/0.6184, allocations: 194.1 kB / 0.5783 GB, free: 39.46 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.6184, allocations: 15.66 kB / 0.5784 GB, free: 39.46 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.79e-05/0.6185, allocations: 32.44 kB / 0.5784 GB, free: 39.44 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004027/0.6189, allocations: 185.5 kB / 0.5786 GB, free: 39.32 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.732e-05/0.619, allocations: 10.48 kB / 0.5786 GB, free: 39.32 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.822e-05/0.619, allocations: 5.719 kB / 0.5786 GB, free: 39.31 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-06/0.619, allocations: 1.812 kB / 0.5786 GB, free: 39.31 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001735/0.6192, allocations: 104.9 kB / 0.5787 GB, free: 39.27 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003005/0.6195, allocations: 310.7 kB / 0.579 GB, free: 38.99 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000494/0.62, allocations: 282.3 kB / 0.5792 GB, free: 38.85 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001548/0.6201, allocations: 117 kB / 0.5794 GB, free: 38.8 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 2.166e-05/0.6202, allocations: 3 kB / 0.5794 GB, free: 38.8 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.551e-05/0.6202, allocations: 40.25 kB / 0.5794 GB, free: 38.75 MB / 462.3 MB Notification: Performance of pre-optimization done (n=30): time 1.322e-06/0.6202, allocations: 0 / 0.5794 GB, free: 38.75 MB / 462.3 MB Notification: Performance of matching and sorting (n=30): time 0.00308/0.6233, allocations: 0.6322 MB / 0.58 GB, free: 38.36 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.835e-05/0.6234, allocations: 55.53 kB / 0.5801 GB, free: 38.3 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001434/0.6236, allocations: 103.3 kB / 0.5802 GB, free: 38.2 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 8.556e-05/0.6237, allocations: 35.08 kB / 0.5802 GB, free: 38.16 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 5.377e-05/0.6238, allocations: 87.55 kB / 0.5803 GB, free: 38.07 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002039/0.624, allocations: 124 kB / 0.5804 GB, free: 37.96 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001285/0.6241, allocations: 51.56 kB / 0.5805 GB, free: 37.92 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.6243, allocations: 328.3 kB / 0.5808 GB, free: 37.59 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000386/0.6247, allocations: 121.7 kB / 0.5809 GB, free: 37.55 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004739/0.6252, allocations: 217.7 kB / 0.5811 GB, free: 37.39 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008643/0.6261, allocations: 371 kB / 0.5814 GB, free: 37.16 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.017e-05/0.6262, allocations: 1.375 kB / 0.5814 GB, free: 37.16 MB / 462.3 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001155/0.6273, allocations: 0.5232 MB / 0.582 GB, free: 36.89 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 3.045e-05/0.6274, allocations: 9.562 kB / 0.582 GB, free: 36.88 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.717e-06/0.6274, allocations: 2.781 kB / 0.582 GB, free: 36.88 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007673/0.6282, allocations: 147.6 kB / 0.5821 GB, free: 36.82 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003408/0.6285, allocations: 84.22 kB / 0.5822 GB, free: 36.8 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002452/0.631, allocations: 2.01 MB / 0.5842 GB, free: 35.12 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001785/0.6312, allocations: 31.27 kB / 0.5842 GB, free: 35.09 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.642e-05/0.6312, allocations: 15.34 kB / 0.5842 GB, free: 35.09 MB / 462.3 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001328/0.6314, allocations: 142.8 kB / 0.5843 GB, free: 34.95 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.182e-05/0.6314, allocations: 10.22 kB / 0.5843 GB, free: 34.95 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.11e-05/0.6315, allocations: 38.44 kB / 0.5844 GB, free: 34.91 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.6315, allocations: 2.531 kB / 0.5844 GB, free: 34.91 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.231e-05/0.6315, allocations: 6.438 kB / 0.5844 GB, free: 34.91 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.6315, allocations: 4.172 kB / 0.5844 GB, free: 34.91 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002623/0.6318, allocations: 294.4 kB / 0.5847 GB, free: 34.64 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.195e-06/0.6318, allocations: 0 / 0.5847 GB, free: 34.64 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004028/0.6322, allocations: 77.61 kB / 0.5847 GB, free: 34.62 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000621/0.6329, allocations: 144.9 kB / 0.5849 GB, free: 34.55 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.443e-05/0.6329, allocations: 19.48 kB / 0.5849 GB, free: 34.54 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002015/0.6349, allocations: 2.005 MB / 0.5869 GB, free: 32.86 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.635, allocations: 0.9062 kB / 0.5869 GB, free: 32.86 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001125/0.6361, allocations: 0.5711 MB / 0.5874 GB, free: 32.56 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 7.542e-05/0.6362, allocations: 89.02 kB / 0.5875 GB, free: 32.46 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.388e-05/0.6363, allocations: 14.92 kB / 0.5875 GB, free: 32.45 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.6364, allocations: 1.031 kB / 0.5875 GB, free: 32.45 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.037e-05/0.6364, allocations: 26.78 kB / 0.5875 GB, free: 32.43 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-05/0.6365, allocations: 10.53 kB / 0.5876 GB, free: 32.43 MB / 462.3 MB Notification: Performance of sorting global known variables: time 2.612e-05/0.6365, allocations: 85.48 kB / 0.5876 GB, free: 32.35 MB / 462.3 MB Notification: Performance of sort global known variables: time 2.2e-07/0.6365, allocations: 0 / 0.5876 GB, free: 32.35 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003656/0.6369, allocations: 70.62 kB / 0.5877 GB, free: 32.34 MB / 462.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 20 (xm[1],xm[2],xm[3],xm[4],xm[5],xm[6],xm[7],xm[8],xm[9],xm[10],v[1],v[2],v[3],v[4],v[5],v[6],v[7],v[8],v[9],v[10]) * 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 (21): * Single equations (assignments): 20 * 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001205/0.6381, allocations: 1.12 MB / 0.5888 GB, free: 31.5 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.001006/0.6391, allocations: 0.4959 MB / 0.5893 GB, free: 31.22 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.6391, allocations: 0.625 kB / 0.5893 GB, free: 31.22 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0005482/0.6397, allocations: 338 kB / 0.5896 GB, free: 31.01 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003292/0.64, allocations: 14.69 kB / 0.5896 GB, free: 31 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004342/0.6444, allocations: 4.288 MB / 0.5938 GB, free: 27.03 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001746/0.6446, allocations: 0.7365 MB / 0.5945 GB, free: 26.27 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0001249/0.6447, allocations: 69.88 kB / 0.5946 GB, free: 26.2 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.92e-05/0.6448, allocations: 43.42 kB / 0.5946 GB, free: 26.16 MB / 462.3 MB Notification: Performance of SimCode: time 1.032e-06/0.6448, allocations: 4 kB / 0.5946 GB, free: 26.16 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01601/0.6608, allocations: 4.921 MB / 0.5994 GB, free: 21.49 MB / 462.3 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002012/0.6611, allocations: 295 kB / 0.5997 GB, free: 21.11 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.108/2.769, allocations: 4.062 kB / 0.5997 GB, free: 21.1 MB / 462.3 MB (rm -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_ScaledExperiments_HarmonicOscillatorNetwork_N_10_fmu --startTime=0 --stopTime=10 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_ScaledExperiments_HarmonicOscillatorNetwork_N_10.fmu > ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches