Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_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_noopt_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_noopt_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.0009566/0.0009567, allocations: 89.5 kB / 16.31 MB, free: 6.461 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.0009835/0.0009836, allocations: 184.9 kB / 17.21 MB, free: 6.324 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.387/1.387, allocations: 223.2 MB / 241.2 MB, free: 332 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.002/1.002, allocations: 120.5 MB / 412.8 MB, free: 9.207 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003625/0.0003629, allocations: 16 kB / 0.4943 GB, free: 11.76 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5496/0.55, allocations: 82.83 MB / 0.5752 GB, free: 41.96 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20): time 0.001113/0.5512, allocations: 0.9447 MB / 0.5761 GB, free: 41.2 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001749/0.5514, allocations: 43.36 kB / 0.5761 GB, free: 41.17 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.551e-05/0.5514, allocations: 0 / 0.5761 GB, free: 41.17 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 7.012e-05/0.5515, allocations: 7.297 kB / 0.5761 GB, free: 41.17 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 5.328e-05/0.5516, allocations: 6.594 kB / 0.5761 GB, free: 41.16 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001337/0.5517, allocations: 28.14 kB / 0.5762 GB, free: 41.14 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0003174/0.552, allocations: 387.1 kB / 0.5765 GB, free: 40.92 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.002e-05/0.5521, allocations: 7.953 kB / 0.5765 GB, free: 40.92 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00012/0.5522, allocations: 147.7 kB / 0.5767 GB, free: 40.86 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002289/0.5524, allocations: 158.5 kB / 0.5768 GB, free: 40.77 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 5.841e-05/0.5525, allocations: 22 kB / 0.5768 GB, free: 40.77 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 5.216e-05/0.5526, allocations: 23.38 kB / 0.5769 GB, free: 40.77 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001081/0.5527, allocations: 129.1 kB / 0.577 GB, free: 40.68 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 6.801e-05/0.5528, allocations: 63.7 kB / 0.5771 GB, free: 40.64 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001452/0.5529, allocations: 177.4 kB / 0.5772 GB, free: 40.55 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.5529, allocations: 0 / 0.5772 GB, free: 40.55 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.683e-06/0.5529, allocations: 0 / 0.5772 GB, free: 40.55 MB / 462.3 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.5529, allocations: 1.375 kB / 0.5772 GB, free: 40.55 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.001446/0.5544, allocations: 0.7264 MB / 0.5779 GB, free: 39.99 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.5544, allocations: 9.594 kB / 0.5779 GB, free: 39.99 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.265e-05/0.5545, allocations: 27.36 kB / 0.578 GB, free: 39.98 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002473/0.5548, allocations: 233.2 kB / 0.5782 GB, free: 39.75 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.966e-05/0.5548, allocations: 31.34 kB / 0.5782 GB, free: 39.73 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.805e-05/0.5549, allocations: 62.77 kB / 0.5783 GB, free: 39.7 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005242/0.5555, allocations: 325.9 kB / 0.5786 GB, free: 39.51 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.879e-05/0.5555, allocations: 12.03 kB / 0.5786 GB, free: 39.5 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.101e-05/0.5555, allocations: 6.75 kB / 0.5786 GB, free: 39.5 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-06/0.5555, allocations: 5.5 kB / 0.5786 GB, free: 39.5 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003821/0.5559, allocations: 225.3 kB / 0.5788 GB, free: 39.4 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006683/0.5566, allocations: 481.8 kB / 0.5793 GB, free: 39.03 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009014/0.5575, allocations: 493.5 kB / 0.5798 GB, free: 38.8 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003543/0.5579, allocations: 243.4 kB / 0.58 GB, free: 38.69 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 4.065e-05/0.5579, allocations: 8.188 kB / 0.58 GB, free: 38.69 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.228e-05/0.558, allocations: 37.62 kB / 0.58 GB, free: 38.64 MB / 462.3 MB Notification: Performance of pre-optimization done (n=60): time 2.044e-06/0.558, allocations: 0 / 0.58 GB, free: 38.64 MB / 462.3 MB Notification: Performance of matching and sorting (n=60): time 0.003359/0.5613, allocations: 1.244 MB / 0.5813 GB, free: 37.97 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.149e-05/0.5614, allocations: 62.22 kB / 0.5813 GB, free: 37.91 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.005e-05/0.5615, allocations: 116.1 kB / 0.5814 GB, free: 37.79 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 4.173e-05/0.5615, allocations: 41.48 kB / 0.5815 GB, free: 37.75 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 3.513e-05/0.5616, allocations: 89.23 kB / 0.5815 GB, free: 37.66 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001498/0.5617, allocations: 248.1 kB / 0.5818 GB, free: 37.44 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.155e-05/0.5618, allocations: 19.78 kB / 0.5818 GB, free: 37.42 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 7.035e-05/0.5618, allocations: 348.9 kB / 0.5821 GB, free: 37.08 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003692/0.5622, allocations: 249.5 kB / 0.5824 GB, free: 36.98 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004751/0.5627, allocations: 426.3 kB / 0.5828 GB, free: 36.67 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005004/0.5632, allocations: 324.4 kB / 0.5831 GB, free: 36.52 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.6e-06/0.5632, allocations: 1.031 kB / 0.5831 GB, free: 36.52 MB / 462.3 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001851/0.5651, allocations: 1.003 MB / 0.5841 GB, free: 36.03 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.343e-05/0.5651, allocations: 9.281 kB / 0.5841 GB, free: 36.03 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.409e-05/0.5651, allocations: 9.219 kB / 0.5841 GB, free: 36.03 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001143/0.5663, allocations: 290.8 kB / 0.5844 GB, free: 35.9 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005494/0.5668, allocations: 167.8 kB / 0.5845 GB, free: 35.87 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003572/0.5704, allocations: 2.895 MB / 0.5874 GB, free: 33.46 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000297/0.5707, allocations: 55.44 kB / 0.5874 GB, free: 33.41 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.785e-05/0.5708, allocations: 28 kB / 0.5874 GB, free: 33.38 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 19} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001771/0.571, allocations: 180.3 kB / 0.5876 GB, free: 33.2 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.028e-05/0.571, allocations: 23.72 kB / 0.5876 GB, free: 33.18 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001602/0.5712, allocations: 57.88 kB / 0.5877 GB, free: 33.12 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.5712, allocations: 11.98 kB / 0.5877 GB, free: 33.11 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.056e-05/0.5712, allocations: 7.953 kB / 0.5877 GB, free: 33.1 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.5712, allocations: 0 / 0.5877 GB, free: 33.1 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004036/0.5716, allocations: 457.6 kB / 0.5881 GB, free: 32.61 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.5717, allocations: 0 / 0.5881 GB, free: 32.61 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000627/0.5723, allocations: 131.9 kB / 0.5883 GB, free: 32.48 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009606/0.5733, allocations: 292.5 kB / 0.5885 GB, free: 32.19 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.146e-05/0.5733, allocations: 31.97 kB / 0.5886 GB, free: 32.16 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003068/0.5764, allocations: 2.884 MB / 0.5914 GB, free: 29.14 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.5764, allocations: 3.984 kB / 0.5914 GB, free: 29.14 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001633/0.5781, allocations: 1.124 MB / 0.5925 GB, free: 28 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 4.32e-05/0.5781, allocations: 108.7 kB / 0.5926 GB, free: 27.87 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.871e-05/0.5782, allocations: 35.92 kB / 0.5926 GB, free: 27.84 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000157/0.5783, allocations: 12 kB / 0.5926 GB, free: 27.82 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.734e-05/0.5784, allocations: 40.5 kB / 0.5927 GB, free: 27.79 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.051e-05/0.5785, allocations: 19.98 kB / 0.5927 GB, free: 27.77 MB / 462.3 MB Notification: Performance of sorting global known variables: time 2.703e-05/0.5785, allocations: 87.22 kB / 0.5928 GB, free: 27.68 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5785, allocations: 0 / 0.5928 GB, free: 27.68 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0004859/0.579, allocations: 140 kB / 0.5929 GB, free: 27.54 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 19} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001441/0.5791, allocations: 131.2 kB / 0.593 GB, free: 27.4 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.001476/0.5806, allocations: 0.8883 MB / 0.5939 GB, free: 26.5 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.5806, allocations: 320 / 0.5939 GB, free: 26.5 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.000914/0.5816, allocations: 0.5554 MB / 0.5944 GB, free: 25.93 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002472/0.5818, allocations: 24.81 kB / 0.5945 GB, free: 25.91 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003112/0.5849, allocations: 3.491 MB / 0.5979 GB, free: 22.39 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002101/0.5852, allocations: 0.8091 MB / 0.5987 GB, free: 21.55 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0002723/0.5854, allocations: 143.1 kB / 0.5988 GB, free: 21.42 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.688e-05/0.5855, allocations: 27.44 kB / 0.5988 GB, free: 21.39 MB / 462.3 MB Notification: Performance of SimCode: time 1.062e-06/0.5855, allocations: 0 / 0.5988 GB, free: 21.39 MB / 462.3 MB Notification: Performance of Templates: time 0.007425/0.5929, allocations: 4.888 MB / 0.6036 GB, free: 16.54 MB / 462.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.makefile Environment - environmentSimulation: (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ScalableTestSuite_noopt_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_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches