Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_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: translateModel(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.v.10..|der.v.1..|der.v.2..|der.v.3..|der.v.4..|der.v.5..|der.xm.10..|der.xm.1..|der.xm.2..|der.xm.3..|der.xm.4..|der.xm.5..|time|time|v.10.|v.1.|v.2.|v.3.|v.4.|v.5.|xm.10.|xm.1.|xm.2.|xm.3.|xm.4.|xm.5.|xs.10.|xs.1.|xs.2.|xs.3.|xs.4.|xs.5.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10") translateModel(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.v.10..|der.v.1..|der.v.2..|der.v.3..|der.v.4..|der.v.5..|der.xm.10..|der.xm.1..|der.xm.2..|der.xm.3..|der.xm.4..|der.xm.5..|time|time|v.10.|v.1.|v.2.|v.3.|v.4.|v.5.|xm.10.|xm.1.|xm.2.|xm.3.|xm.4.|xm.5.|xs.10.|xs.1.|xs.2.|xs.3.|xs.4.|xs.5.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008573/0.0008573, allocations: 91.83 kB / 17.31 MB, free: 5.59 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.0009119/0.0009119, allocations: 186.2 kB / 18.21 MB, free: 5.188 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.335/1.335, allocations: 223.3 MB / 242.3 MB, free: 14.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.043/1.043, allocations: 120.5 MB / 413.8 MB, free: 9.16 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004187/0.0004187, allocations: 8.281 kB / 0.4955 GB, free: 11.46 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5946/0.595, allocations: 82.84 MB / 0.5764 GB, free: 41.58 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10): time 0.00124/0.5963, allocations: 0.9544 MB / 0.5774 GB, free: 40.81 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001947/0.5965, allocations: 44.81 kB / 0.5774 GB, free: 40.78 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.901e-05/0.5966, allocations: 3.938 kB / 0.5774 GB, free: 40.78 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 8.582e-05/0.5967, allocations: 1.312 kB / 0.5774 GB, free: 40.78 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 6.246e-05/0.5967, allocations: 10.55 kB / 0.5774 GB, free: 40.77 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001514/0.5969, allocations: 21.5 kB / 0.5774 GB, free: 40.75 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0002664/0.5972, allocations: 254.9 kB / 0.5777 GB, free: 40.62 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.44e-05/0.5972, allocations: 2.875 kB / 0.5777 GB, free: 40.62 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 8.907e-05/0.5973, allocations: 77 kB / 0.5778 GB, free: 40.59 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001263/0.5974, allocations: 77.97 kB / 0.5778 GB, free: 40.55 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 3.48e-05/0.5975, allocations: 11.28 kB / 0.5779 GB, free: 40.55 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 3.22e-05/0.5975, allocations: 10.72 kB / 0.5779 GB, free: 40.55 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 7.435e-05/0.5976, allocations: 62.61 kB / 0.5779 GB, free: 40.51 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 9.45e-05/0.5977, allocations: 107.3 kB / 0.578 GB, free: 40.42 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.000104/0.5978, allocations: 87.97 kB / 0.5781 GB, free: 40.38 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.5978, allocations: 0 / 0.5781 GB, free: 40.38 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.613e-06/0.5978, allocations: 11.88 kB / 0.5781 GB, free: 40.37 MB / 462.3 MB Notification: Performance of Transformations before backend: time 4.549e-06/0.5978, allocations: 1.344 kB / 0.5781 GB, free: 40.37 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.0008796/0.5987, allocations: 0.5001 MB / 0.5786 GB, free: 39.92 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.5988, allocations: 9.688 kB / 0.5786 GB, free: 39.92 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.727e-05/0.5988, allocations: 16.53 kB / 0.5786 GB, free: 39.91 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000171/0.599, allocations: 194.7 kB / 0.5788 GB, free: 39.7 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.65e-05/0.599, allocations: 11.47 kB / 0.5788 GB, free: 39.7 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.9e-05/0.5991, allocations: 41.45 kB / 0.5789 GB, free: 39.68 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002951/0.5994, allocations: 175.3 kB / 0.579 GB, free: 39.57 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.739e-05/0.5994, allocations: 3.156 kB / 0.579 GB, free: 39.57 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.363e-05/0.5994, allocations: 13.38 kB / 0.5791 GB, free: 39.55 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.5995, allocations: 6.531 kB / 0.5791 GB, free: 39.55 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001892/0.5997, allocations: 105.1 kB / 0.5792 GB, free: 39.51 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003325/0.6, allocations: 311.1 kB / 0.5795 GB, free: 39.23 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005382/0.6005, allocations: 273.4 kB / 0.5797 GB, free: 39.1 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001534/0.6007, allocations: 116.8 kB / 0.5798 GB, free: 39.04 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 2.069e-05/0.6007, allocations: 6.734 kB / 0.5798 GB, free: 39.04 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.585e-05/0.6008, allocations: 43.94 kB / 0.5799 GB, free: 38.99 MB / 462.3 MB Notification: Performance of pre-optimization done (n=30): time 1.402e-06/0.6008, allocations: 1.375 kB / 0.5799 GB, free: 38.99 MB / 462.3 MB Notification: Performance of matching and sorting (n=30): time 0.001584/0.6023, allocations: 0.6283 MB / 0.5805 GB, free: 38.61 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.935e-05/0.6024, allocations: 54.47 kB / 0.5805 GB, free: 38.55 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.247e-05/0.6024, allocations: 104.1 kB / 0.5806 GB, free: 38.44 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 2.383e-05/0.6025, allocations: 34.83 kB / 0.5807 GB, free: 38.4 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 2.174e-05/0.6025, allocations: 83.52 kB / 0.5808 GB, free: 38.32 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 7.439e-05/0.6026, allocations: 120.9 kB / 0.5809 GB, free: 38.21 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.054e-05/0.6026, allocations: 49.91 kB / 0.5809 GB, free: 38.17 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 6.244e-05/0.6027, allocations: 332.8 kB / 0.5812 GB, free: 37.84 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001839/0.6029, allocations: 125.8 kB / 0.5814 GB, free: 37.79 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000213/0.6031, allocations: 209.7 kB / 0.5816 GB, free: 37.64 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004411/0.6036, allocations: 375.6 kB / 0.5819 GB, free: 37.41 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/0.6036, allocations: 4.875 kB / 0.5819 GB, free: 37.4 MB / 462.3 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001008/0.6046, allocations: 0.5197 MB / 0.5824 GB, free: 37.14 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.6046, allocations: 5.531 kB / 0.5824 GB, free: 37.14 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.6046, allocations: 2.75 kB / 0.5824 GB, free: 37.14 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006412/0.6053, allocations: 155.4 kB / 0.5826 GB, free: 37.06 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002669/0.6056, allocations: 82.5 kB / 0.5827 GB, free: 37.05 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002184/0.6077, allocations: 2.016 MB / 0.5846 GB, free: 35.36 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001317/0.6079, allocations: 23.34 kB / 0.5847 GB, free: 35.34 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.347e-05/0.6079, allocations: 19.28 kB / 0.5847 GB, free: 35.34 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.0001019/0.608, allocations: 142.3 kB / 0.5848 GB, free: 35.2 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.305e-05/0.6081, allocations: 10.22 kB / 0.5848 GB, free: 35.2 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.713e-05/0.6082, allocations: 42.47 kB / 0.5849 GB, free: 35.16 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.6082, allocations: 2.531 kB / 0.5849 GB, free: 35.16 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.054e-05/0.6082, allocations: 2.531 kB / 0.5849 GB, free: 35.16 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.6082, allocations: 3.984 kB / 0.5849 GB, free: 35.15 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000239/0.6084, allocations: 294.4 kB / 0.5851 GB, free: 34.89 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.6084, allocations: 0 / 0.5851 GB, free: 34.89 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003568/0.6088, allocations: 70.19 kB / 0.5852 GB, free: 34.88 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005512/0.6094, allocations: 141.2 kB / 0.5853 GB, free: 34.81 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.122e-05/0.6094, allocations: 23.02 kB / 0.5854 GB, free: 34.8 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00191/0.6113, allocations: 2.008 MB / 0.5873 GB, free: 33.11 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.6113, allocations: 0.9375 kB / 0.5873 GB, free: 33.11 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00101/0.6124, allocations: 0.5717 MB / 0.5879 GB, free: 32.81 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 2.376e-05/0.6124, allocations: 88.95 kB / 0.588 GB, free: 32.71 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.283e-05/0.6124, allocations: 10.73 kB / 0.588 GB, free: 32.7 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.6125, allocations: 5.062 kB / 0.588 GB, free: 32.7 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.91e-05/0.6126, allocations: 23.12 kB / 0.588 GB, free: 32.69 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.874e-05/0.6126, allocations: 13.64 kB / 0.588 GB, free: 32.68 MB / 462.3 MB Notification: Performance of sorting global known variables: time 2.019e-05/0.6126, allocations: 78.31 kB / 0.5881 GB, free: 32.61 MB / 462.3 MB Notification: Performance of sort global known variables: time 1e-07/0.6126, allocations: 4 kB / 0.5881 GB, free: 32.6 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003026/0.613, allocations: 74.66 kB / 0.5882 GB, free: 32.59 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.0001083/0.6131, allocations: 117.6 kB / 0.5883 GB, free: 32.48 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0008765/0.6139, allocations: 0.4936 MB / 0.5888 GB, free: 32.21 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.614, allocations: 0 / 0.5888 GB, free: 32.21 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0005331/0.6145, allocations: 329.2 kB / 0.5891 GB, free: 32.01 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002/0.6147, allocations: 16.73 kB / 0.5891 GB, free: 32 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001808/0.6165, allocations: 1.836 MB / 0.5909 GB, free: 30.48 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001721/0.6167, allocations: 0.7396 MB / 0.5916 GB, free: 29.76 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.502e-05/0.6168, allocations: 17.72 kB / 0.5916 GB, free: 29.75 MB / 462.3 MB Notification: Performance of SimCode: time 3e-07/0.6168, allocations: 0 / 0.5916 GB, free: 29.75 MB / 462.3 MB Notification: Performance of Templates: time 0.003802/0.6206, allocations: 2.557 MB / 0.5941 GB, free: 27.51 MB / 462.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_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_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches