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: translateModel(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.v.1..|der.v.20..|der.v.2..|der.v.3..|der.v.4..|der.v.5..|der.xm.1..|der.xm.20..|der.xm.2..|der.xm.3..|der.xm.4..|der.xm.5..|time|time|v.1.|v.20.|v.2.|v.3.|v.4.|v.5.|xm.1.|xm.20.|xm.2.|xm.3.|xm.4.|xm.5.|xs.1.|xs.20.|xs.2.|xs.3.|xs.4.|xs.5.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20") translateModel(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.v.1..|der.v.20..|der.v.2..|der.v.3..|der.v.4..|der.v.5..|der.xm.1..|der.xm.20..|der.xm.2..|der.xm.3..|der.xm.4..|der.xm.5..|time|time|v.1.|v.20.|v.2.|v.3.|v.4.|v.5.|xm.1.|xm.20.|xm.2.|xm.3.|xm.4.|xm.5.|xs.1.|xs.20.|xs.2.|xs.3.|xs.4.|xs.5.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 110.2 kB / 17.17 MB, free: 6.348 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.001038/0.001038, allocations: 198.9 kB / 18.08 MB, free: 5.441 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.341/1.341, allocations: 222.9 MB / 241.8 MB, free: 15.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.026/1.026, allocations: 119.3 MB / 411.2 MB, free: 9.727 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 67.91 kB / 0.4909 GB, free: 14.17 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6151/0.6163, allocations: 80.68 MB / 0.5697 GB, free: 43.54 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20): time 0.002308/0.6187, allocations: 1.291 MB / 0.5709 GB, free: 42.53 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001803/0.6189, allocations: 47.56 kB / 0.571 GB, free: 42.49 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.893e-05/0.6189, allocations: 0 / 0.571 GB, free: 42.49 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 8.152e-05/0.619, allocations: 1.094 kB / 0.571 GB, free: 42.49 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 6.224e-05/0.6191, allocations: 16.72 kB / 0.571 GB, free: 42.48 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001486/0.6192, allocations: 20.28 kB / 0.571 GB, free: 42.46 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0003959/0.6196, allocations: 451.5 kB / 0.5715 GB, free: 42.24 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.532e-05/0.6197, allocations: 3.656 kB / 0.5715 GB, free: 42.24 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001453/0.6199, allocations: 151.4 kB / 0.5716 GB, free: 42.18 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001993/0.6201, allocations: 150.6 kB / 0.5718 GB, free: 42.09 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 6.099e-05/0.6201, allocations: 27.38 kB / 0.5718 GB, free: 42.08 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 6.053e-05/0.6202, allocations: 22 kB / 0.5718 GB, free: 42.08 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001266/0.6203, allocations: 131.6 kB / 0.5719 GB, free: 42 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001654/0.6205, allocations: 137.7 kB / 0.5721 GB, free: 41.91 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001768/0.6207, allocations: 180.8 kB / 0.5722 GB, free: 41.82 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.6207, allocations: 1.719 kB / 0.5722 GB, free: 41.82 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.042e-06/0.6207, allocations: 0 / 0.5722 GB, free: 41.82 MB / 462.3 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.6207, allocations: 0 / 0.5722 GB, free: 41.82 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.001541/0.6223, allocations: 0.7584 MB / 0.573 GB, free: 41.24 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/0.6223, allocations: 14.31 kB / 0.573 GB, free: 41.24 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.706e-05/0.6224, allocations: 30.77 kB / 0.573 GB, free: 41.22 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002578/0.6227, allocations: 239.1 kB / 0.5732 GB, free: 40.99 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.771e-05/0.6227, allocations: 31.75 kB / 0.5733 GB, free: 40.97 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.4e-05/0.6228, allocations: 55.92 kB / 0.5733 GB, free: 40.95 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005394/0.6233, allocations: 327.5 kB / 0.5736 GB, free: 40.76 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.864e-05/0.6234, allocations: 16.95 kB / 0.5737 GB, free: 40.75 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.473e-05/0.6234, allocations: 14.34 kB / 0.5737 GB, free: 40.74 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.222e-05/0.6234, allocations: 5.344 kB / 0.5737 GB, free: 40.74 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003749/0.6238, allocations: 224.8 kB / 0.5739 GB, free: 40.64 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005883/0.6244, allocations: 474.3 kB / 0.5743 GB, free: 40.28 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008558/0.6253, allocations: 492.9 kB / 0.5748 GB, free: 40.05 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003302/0.6256, allocations: 240.9 kB / 0.575 GB, free: 39.94 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 3.623e-05/0.6256, allocations: 10.75 kB / 0.575 GB, free: 39.94 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.005e-05/0.6257, allocations: 38.28 kB / 0.5751 GB, free: 39.89 MB / 462.3 MB Notification: Performance of pre-optimization done (n=60): time 2.645e-06/0.6257, allocations: 4 kB / 0.5751 GB, free: 39.89 MB / 462.3 MB Notification: Performance of matching and sorting (n=60): time 0.0039/0.6296, allocations: 1.256 MB / 0.5763 GB, free: 39.21 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.23e-05/0.6296, allocations: 56.72 kB / 0.5764 GB, free: 39.15 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.765e-05/0.6297, allocations: 110.1 kB / 0.5765 GB, free: 39.04 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 4.104e-05/0.6297, allocations: 40.48 kB / 0.5765 GB, free: 39 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 3.604e-05/0.6298, allocations: 89.14 kB / 0.5766 GB, free: 38.91 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001683/0.63, allocations: 245 kB / 0.5768 GB, free: 38.68 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001887/0.6302, allocations: 148.8 kB / 0.577 GB, free: 38.6 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 8.281e-05/0.6302, allocations: 345.8 kB / 0.5773 GB, free: 38.26 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003859/0.6306, allocations: 260.2 kB / 0.5776 GB, free: 38.15 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005122/0.6312, allocations: 428.5 kB / 0.578 GB, free: 37.84 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009804/0.6321, allocations: 0.7151 MB / 0.5787 GB, free: 37.39 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/0.6322, allocations: 1.844 kB / 0.5787 GB, free: 37.39 MB / 462.3 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001982/0.6341, allocations: 1.017 MB / 0.5797 GB, free: 36.89 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.478e-05/0.6342, allocations: 6.312 kB / 0.5797 GB, free: 36.89 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/0.6342, allocations: 5.031 kB / 0.5797 GB, free: 36.89 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001285/0.6355, allocations: 297.7 kB / 0.5799 GB, free: 36.77 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005155/0.636, allocations: 176.7 kB / 0.5801 GB, free: 36.72 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003825/0.6398, allocations: 2.869 MB / 0.5829 GB, free: 34.63 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002666/0.6401, allocations: 53.53 kB / 0.583 GB, free: 34.59 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.886e-05/0.6402, allocations: 34.72 kB / 0.583 GB, free: 34.58 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.0001781/0.6404, allocations: 174.4 kB / 0.5832 GB, free: 34.43 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.339e-05/0.6404, allocations: 28.84 kB / 0.5832 GB, free: 34.41 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001212/0.6406, allocations: 60.47 kB / 0.5833 GB, free: 34.35 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/0.6406, allocations: 6.562 kB / 0.5833 GB, free: 34.35 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.409e-05/0.6406, allocations: 6.688 kB / 0.5833 GB, free: 34.35 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.752e-06/0.6406, allocations: 3.984 kB / 0.5833 GB, free: 34.34 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005096/0.6411, allocations: 463.6 kB / 0.5837 GB, free: 33.99 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.6411, allocations: 0 / 0.5837 GB, free: 33.99 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007576/0.6419, allocations: 136 kB / 0.5838 GB, free: 33.96 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001213/0.6431, allocations: 290.5 kB / 0.5841 GB, free: 33.84 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.915e-05/0.6432, allocations: 29 kB / 0.5841 GB, free: 33.82 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003587/0.6468, allocations: 2.871 MB / 0.587 GB, free: 31.56 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.6468, allocations: 4.062 kB / 0.587 GB, free: 31.56 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001707/0.6485, allocations: 1.135 MB / 0.5881 GB, free: 30.4 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 3.39e-05/0.6486, allocations: 104.8 kB / 0.5882 GB, free: 30.28 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.837e-05/0.6486, allocations: 31.91 kB / 0.5882 GB, free: 30.25 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001643/0.6488, allocations: 8 kB / 0.5882 GB, free: 30.24 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.196e-05/0.6489, allocations: 44.5 kB / 0.5882 GB, free: 30.2 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.205e-05/0.6489, allocations: 19.98 kB / 0.5883 GB, free: 30.18 MB / 462.3 MB Notification: Performance of sorting global known variables: time 2.696e-05/0.649, allocations: 75.28 kB / 0.5883 GB, free: 30.11 MB / 462.3 MB Notification: Performance of sort global known variables: time 1e-07/0.649, allocations: 0 / 0.5883 GB, free: 30.11 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0004789/0.6494, allocations: 144 kB / 0.5885 GB, free: 29.96 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.0001371/0.6496, allocations: 135.7 kB / 0.5886 GB, free: 29.82 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.001461/0.6511, allocations: 0.8956 MB / 0.5895 GB, free: 28.91 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.6511, allocations: 0 / 0.5895 GB, free: 28.91 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0009233/0.652, allocations: 0.5555 MB / 0.59 GB, free: 28.34 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002474/0.6523, allocations: 27.94 kB / 0.59 GB, free: 28.32 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002991/0.6553, allocations: 3.008 MB / 0.593 GB, free: 25.27 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002243/0.6555, allocations: 0.8052 MB / 0.5938 GB, free: 24.44 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.005e-05/0.6556, allocations: 27.44 kB / 0.5938 GB, free: 24.41 MB / 462.3 MB Notification: Performance of SimCode: time 4.51e-07/0.6556, allocations: 0 / 0.5938 GB, free: 24.41 MB / 462.3 MB Notification: Performance of Templates: time 0.006181/0.6618, allocations: 4.564 MB / 0.5983 GB, free: 19.86 MB / 462.3 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.makefile (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 & ./ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > 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