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.00115/0.00115, allocations: 109 kB / 17.16 MB, free: 6.32 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.001231/0.001231, allocations: 202.8 kB / 18.08 MB, free: 5.414 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.409/1.409, allocations: 222.9 MB / 241.8 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9941/0.9941, allocations: 119.3 MB / 411.2 MB, free: 9.691 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 59.89 kB / 0.4909 GB, free: 14.13 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5999/0.6012, allocations: 80.68 MB / 0.5697 GB, free: 43.52 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10): time 0.002371/0.6036, allocations: 1.297 MB / 0.571 GB, free: 42.5 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002074/0.6039, allocations: 46.88 kB / 0.571 GB, free: 42.47 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.062e-05/0.6039, allocations: 0 / 0.571 GB, free: 42.47 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 8.647e-05/0.604, allocations: 0 / 0.571 GB, free: 42.47 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 6.831e-05/0.6041, allocations: 17.19 kB / 0.571 GB, free: 42.46 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001588/0.6043, allocations: 21.47 kB / 0.571 GB, free: 42.44 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0002798/0.6045, allocations: 246.6 kB / 0.5713 GB, free: 42.32 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 6.296e-05/0.6046, allocations: 3.125 kB / 0.5713 GB, free: 42.32 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 8.663e-05/0.6047, allocations: 85.3 kB / 0.5714 GB, free: 42.28 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001264/0.6048, allocations: 77.33 kB / 0.5714 GB, free: 42.23 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 4.802e-05/0.6049, allocations: 11.31 kB / 0.5714 GB, free: 42.23 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 3.792e-05/0.6049, allocations: 11.16 kB / 0.5715 GB, free: 42.23 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 7.852e-05/0.605, allocations: 66.31 kB / 0.5715 GB, free: 42.19 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 8.844e-05/0.6051, allocations: 73.34 kB / 0.5716 GB, free: 42.14 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001081/0.6052, allocations: 92.31 kB / 0.5717 GB, free: 42.1 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.6052, allocations: 4 kB / 0.5717 GB, free: 42.09 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.082e-06/0.6052, allocations: 0 / 0.5717 GB, free: 42.09 MB / 462.3 MB Notification: Performance of Transformations before backend: time 4.99e-06/0.6052, allocations: 1.094 kB / 0.5717 GB, free: 42.09 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.0008676/0.6061, allocations: 0.5244 MB / 0.5722 GB, free: 41.64 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.6062, allocations: 9.156 kB / 0.5722 GB, free: 41.64 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.626e-05/0.6062, allocations: 16.7 kB / 0.5722 GB, free: 41.63 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001823/0.6064, allocations: 197.6 kB / 0.5724 GB, free: 41.42 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.794e-05/0.6064, allocations: 12.5 kB / 0.5724 GB, free: 41.41 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.537e-05/0.6065, allocations: 28.38 kB / 0.5724 GB, free: 41.4 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003003/0.6068, allocations: 184.7 kB / 0.5726 GB, free: 41.29 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/0.6068, allocations: 11.36 kB / 0.5726 GB, free: 41.28 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.071e-05/0.6069, allocations: 9.812 kB / 0.5726 GB, free: 41.27 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.6069, allocations: 1.438 kB / 0.5726 GB, free: 41.27 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001866/0.6071, allocations: 105.8 kB / 0.5727 GB, free: 41.23 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003323/0.6074, allocations: 305.6 kB / 0.573 GB, free: 40.95 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005391/0.608, allocations: 274 kB / 0.5733 GB, free: 40.82 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001684/0.6081, allocations: 120.4 kB / 0.5734 GB, free: 40.76 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 2.396e-05/0.6082, allocations: 8.062 kB / 0.5734 GB, free: 40.76 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.582e-05/0.6082, allocations: 39.59 kB / 0.5735 GB, free: 40.71 MB / 462.3 MB Notification: Performance of pre-optimization done (n=30): time 1.533e-06/0.6082, allocations: 0 / 0.5735 GB, free: 40.71 MB / 462.3 MB Notification: Performance of matching and sorting (n=30): time 0.001669/0.6099, allocations: 0.6307 MB / 0.5741 GB, free: 40.33 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.658e-05/0.6099, allocations: 54.88 kB / 0.5741 GB, free: 40.27 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.38e-05/0.61, allocations: 103.3 kB / 0.5742 GB, free: 40.16 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 2.345e-05/0.61, allocations: 32.05 kB / 0.5743 GB, free: 40.13 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 2.253e-05/0.61, allocations: 85.98 kB / 0.5743 GB, free: 40.04 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 7.438e-05/0.6101, allocations: 128.9 kB / 0.5745 GB, free: 39.93 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.545e-05/0.6102, allocations: 80.72 kB / 0.5745 GB, free: 39.88 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 7.062e-05/0.6103, allocations: 328.4 kB / 0.5748 GB, free: 39.55 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001989/0.6105, allocations: 124.6 kB / 0.575 GB, free: 39.5 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002916/0.6108, allocations: 226 kB / 0.5752 GB, free: 39.33 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004619/0.6112, allocations: 362.9 kB / 0.5755 GB, free: 39.11 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.419e-06/0.6113, allocations: 4.969 kB / 0.5755 GB, free: 39.11 MB / 462.3 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009828/0.6122, allocations: 0.5205 MB / 0.576 GB, free: 38.84 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.6123, allocations: 5.531 kB / 0.576 GB, free: 38.84 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.6123, allocations: 6.062 kB / 0.5761 GB, free: 38.84 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006721/0.613, allocations: 147.9 kB / 0.5762 GB, free: 38.77 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002623/0.6132, allocations: 78.34 kB / 0.5763 GB, free: 38.75 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002093/0.6153, allocations: 2.015 MB / 0.5782 GB, free: 37.05 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001422/0.6155, allocations: 34.52 kB / 0.5783 GB, free: 37.03 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.549e-05/0.6155, allocations: 11.53 kB / 0.5783 GB, free: 37.03 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.0001086/0.6156, allocations: 139 kB / 0.5784 GB, free: 36.89 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.856e-05/0.6157, allocations: 9.656 kB / 0.5784 GB, free: 36.89 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.082e-05/0.6158, allocations: 42.56 kB / 0.5785 GB, free: 36.85 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.6158, allocations: 2.594 kB / 0.5785 GB, free: 36.85 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/0.6158, allocations: 2.125 kB / 0.5785 GB, free: 36.85 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.6158, allocations: 5.234 kB / 0.5785 GB, free: 36.85 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002829/0.6161, allocations: 293.3 kB / 0.5788 GB, free: 36.59 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.6161, allocations: 0 / 0.5788 GB, free: 36.59 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003809/0.6165, allocations: 74.33 kB / 0.5788 GB, free: 36.57 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005991/0.6171, allocations: 141 kB / 0.579 GB, free: 36.5 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.516e-05/0.6171, allocations: 23.3 kB / 0.579 GB, free: 36.49 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00202/0.6191, allocations: 1.984 MB / 0.5809 GB, free: 34.82 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.6192, allocations: 0.9062 kB / 0.5809 GB, free: 34.82 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001137/0.6203, allocations: 0.5752 MB / 0.5815 GB, free: 34.51 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 3.77e-05/0.6204, allocations: 91.67 kB / 0.5816 GB, free: 34.41 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.61e-05/0.6204, allocations: 26.92 kB / 0.5816 GB, free: 34.39 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.6205, allocations: 4 kB / 0.5816 GB, free: 34.39 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.178e-05/0.6206, allocations: 17.72 kB / 0.5816 GB, free: 34.38 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.198e-05/0.6206, allocations: 10.31 kB / 0.5816 GB, free: 34.38 MB / 462.3 MB Notification: Performance of sorting global known variables: time 3.637e-05/0.6206, allocations: 81.8 kB / 0.5817 GB, free: 34.3 MB / 462.3 MB Notification: Performance of sort global known variables: time 1e-07/0.6206, allocations: 0 / 0.5817 GB, free: 34.3 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003772/0.621, allocations: 75.28 kB / 0.5818 GB, free: 34.28 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.0001116/0.6211, allocations: 116.6 kB / 0.5819 GB, free: 34.18 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0009434/0.6221, allocations: 0.4923 MB / 0.5824 GB, free: 33.91 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.6221, allocations: 4.062 kB / 0.5824 GB, free: 33.9 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0005553/0.6227, allocations: 329.3 kB / 0.5827 GB, free: 33.7 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002142/0.6229, allocations: 11.78 kB / 0.5827 GB, free: 33.69 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001904/0.6248, allocations: 1.549 MB / 0.5842 GB, free: 32.43 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002031/0.625, allocations: 0.7429 MB / 0.5849 GB, free: 31.71 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.327e-05/0.6251, allocations: 18.78 kB / 0.5849 GB, free: 31.7 MB / 462.3 MB Notification: Performance of SimCode: time 7.42e-07/0.6251, allocations: 0 / 0.5849 GB, free: 31.7 MB / 462.3 MB Notification: Performance of Templates: time 0.004519/0.6296, allocations: 2.578 MB / 0.5875 GB, free: 30.4 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