Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.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.Verification.HarmonicOscillatorNetworkCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.v.1..|der.v.2..|der.v.3..|der.v.4..|der.xm.1..|der.xm.2..|der.xm.3..|der.xm.4..|time|time|v.1.|v.2.|v.3.|v.4.|xm.1.|xm.2.|xm.3.|xm.4.|xs.1.|xs.2.|xs.3.|xs.4.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck") translateModel(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.v.1..|der.v.2..|der.v.3..|der.v.4..|der.xm.1..|der.xm.2..|der.xm.3..|der.xm.4..|time|time|v.1.|v.2.|v.3.|v.4.|xm.1.|xm.2.|xm.3.|xm.4.|xs.1.|xs.2.|xs.3.|xs.4.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001212/0.001212, allocations: 97.67 kB / 16.3 MB, free: 5.656 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.0009662/0.0009666, allocations: 183.2 kB / 17.2 MB, free: 5.59 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.379/1.379, allocations: 223.2 MB / 241.1 MB, free: 288 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.088/1.088, allocations: 120.5 MB / 412.7 MB, free: 9.207 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003342/0.0003345, allocations: 4 kB / 0.4941 GB, free: 11.77 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6354/0.6358, allocations: 82.84 MB / 0.575 GB, free: 41.92 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck): time 0.001347/0.6372, allocations: 0.9256 MB / 0.576 GB, free: 41.18 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002233/0.6375, allocations: 44.17 kB / 0.576 GB, free: 41.14 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.611e-05/0.6375, allocations: 3.938 kB / 0.576 GB, free: 41.14 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 9.147e-05/0.6376, allocations: 0 / 0.576 GB, free: 41.14 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 1.992e-05/0.6376, allocations: 1.344 kB / 0.576 GB, free: 41.14 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001847/0.6378, allocations: 27.11 kB / 0.576 GB, free: 41.12 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.00015/0.638, allocations: 63.12 kB / 0.5761 GB, free: 41.08 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.949e-05/0.638, allocations: 1.938 kB / 0.5761 GB, free: 41.08 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 4.742e-05/0.6381, allocations: 31.08 kB / 0.5761 GB, free: 41.07 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 6.653e-05/0.6382, allocations: 29.67 kB / 0.5761 GB, free: 41.05 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 2.638e-05/0.6382, allocations: 7.422 kB / 0.5762 GB, free: 41.04 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 2.241e-05/0.6382, allocations: 4.438 kB / 0.5762 GB, free: 41.04 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 5.147e-05/0.6383, allocations: 33.94 kB / 0.5762 GB, free: 41.02 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 4.4e-05/0.6383, allocations: 31.83 kB / 0.5762 GB, free: 40.99 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 7.721e-05/0.6384, allocations: 34.27 kB / 0.5763 GB, free: 40.97 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.6384, allocations: 9.062 kB / 0.5763 GB, free: 40.96 MB / 462.3 MB Notification: Performance of FrontEnd: time 3.277e-06/0.6384, allocations: 0 / 0.5763 GB, free: 40.96 MB / 462.3 MB Notification: Performance of Transformations before backend: time 5.8e-06/0.6385, allocations: 0 / 0.5763 GB, free: 40.96 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006454/0.6391, allocations: 393.2 kB / 0.5766 GB, free: 40.58 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 5.033e-05/0.6392, allocations: 8.594 kB / 0.5766 GB, free: 40.58 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.567e-05/0.6392, allocations: 7.391 kB / 0.5767 GB, free: 40.57 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001719/0.6394, allocations: 181.1 kB / 0.5768 GB, free: 40.37 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.6394, allocations: 10.62 kB / 0.5768 GB, free: 40.36 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.941e-05/0.6395, allocations: 14.78 kB / 0.5768 GB, free: 40.35 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001954/0.6397, allocations: 81.23 kB / 0.5769 GB, free: 40.29 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.713e-05/0.6397, allocations: 1.875 kB / 0.5769 GB, free: 40.29 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.603e-05/0.6397, allocations: 3.984 kB / 0.5769 GB, free: 40.29 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.6397, allocations: 1.75 kB / 0.5769 GB, free: 40.29 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.704e-05/0.6398, allocations: 47.23 kB / 0.577 GB, free: 40.27 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002394/0.6401, allocations: 213 kB / 0.5772 GB, free: 40.04 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003866/0.6405, allocations: 134.8 kB / 0.5773 GB, free: 39.97 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.286e-05/0.6405, allocations: 1.375 kB / 0.5773 GB, free: 39.97 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.055e-05/0.6405, allocations: 35.92 kB / 0.5773 GB, free: 39.93 MB / 462.3 MB Notification: Performance of pre-optimization done (n=12): time 1.412e-06/0.6405, allocations: 0 / 0.5773 GB, free: 39.93 MB / 462.3 MB Notification: Performance of matching and sorting (n=12): time 0.0007456/0.6413, allocations: 312.6 kB / 0.5776 GB, free: 39.69 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.087e-05/0.6413, allocations: 52.78 kB / 0.5777 GB, free: 39.62 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.476e-05/0.6414, allocations: 102 kB / 0.5778 GB, free: 39.52 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.88e-05/0.6414, allocations: 27.08 kB / 0.5778 GB, free: 39.49 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 2.852e-05/0.6415, allocations: 85.52 kB / 0.5779 GB, free: 39.4 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 4.857e-05/0.6415, allocations: 52.77 kB / 0.5779 GB, free: 39.36 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.544e-06/0.6415, allocations: 1.375 kB / 0.578 GB, free: 39.36 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 6.465e-05/0.6416, allocations: 321.6 kB / 0.5783 GB, free: 39.04 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.247e-05/0.6417, allocations: 51.14 kB / 0.5783 GB, free: 39.01 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000113/0.6418, allocations: 88.33 kB / 0.5784 GB, free: 38.95 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001132/0.6419, allocations: 68.28 kB / 0.5785 GB, free: 38.91 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.6419, allocations: 3.953 kB / 0.5785 GB, free: 38.91 MB / 462.3 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000445/0.6424, allocations: 220.4 kB / 0.5787 GB, free: 38.79 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.6424, allocations: 5.25 kB / 0.5787 GB, free: 38.79 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.6424, allocations: 1.188 kB / 0.5787 GB, free: 38.79 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003225/0.6428, allocations: 61.36 kB / 0.5787 GB, free: 38.76 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000129/0.6429, allocations: 30.98 kB / 0.5788 GB, free: 38.75 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001241/0.6441, allocations: 1.497 MB / 0.5802 GB, free: 37.3 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.727e-05/0.6442, allocations: 8.125 kB / 0.5802 GB, free: 37.3 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.247e-05/0.6442, allocations: 8.062 kB / 0.5802 GB, free: 37.3 MB / 462.3 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (17): * Single equations (assignments): 16 * 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%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.277e-05/0.6443, allocations: 128.7 kB / 0.5804 GB, free: 37.17 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.682e-05/0.6444, allocations: 10.64 kB / 0.5804 GB, free: 37.16 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.946e-05/0.6444, allocations: 11.97 kB / 0.5804 GB, free: 37.14 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.6444, allocations: 5.312 kB / 0.5804 GB, free: 37.14 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.6444, allocations: 1.375 kB / 0.5804 GB, free: 37.14 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.6444, allocations: 3.953 kB / 0.5804 GB, free: 37.14 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001643/0.6446, allocations: 213.1 kB / 0.5806 GB, free: 36.91 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.6446, allocations: 0 / 0.5806 GB, free: 36.91 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001696/0.6448, allocations: 29.98 kB / 0.5806 GB, free: 36.9 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002458/0.6451, allocations: 58.98 kB / 0.5807 GB, free: 36.87 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.637e-05/0.6451, allocations: 4.125 kB / 0.5807 GB, free: 36.87 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00117/0.6463, allocations: 1.48 MB / 0.5821 GB, free: 35.45 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.6463, allocations: 0 / 0.5821 GB, free: 35.45 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005019/0.6468, allocations: 266.3 kB / 0.5824 GB, free: 35.28 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 3.222e-05/0.6468, allocations: 90.75 kB / 0.5825 GB, free: 35.17 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.249e-05/0.6469, allocations: 10.77 kB / 0.5825 GB, free: 35.16 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.164e-05/0.6469, allocations: 5.844 kB / 0.5825 GB, free: 35.16 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.541e-05/0.647, allocations: 11.67 kB / 0.5825 GB, free: 35.15 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.348e-06/0.647, allocations: 6.75 kB / 0.5825 GB, free: 35.15 MB / 462.3 MB Notification: Performance of sorting global known variables: time 3.3e-05/0.647, allocations: 78.06 kB / 0.5826 GB, free: 35.07 MB / 462.3 MB Notification: Performance of sort global known variables: time 1e-07/0.647, allocations: 0 / 0.5826 GB, free: 35.07 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002665/0.6473, allocations: 27.97 kB / 0.5826 GB, free: 35.07 MB / 462.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (xm[1],xm[2],xm[3],xm[4],v[1],v[2],v[3],v[4]) * 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 (9): * Single equations (assignments): 8 * 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%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001521/0.6475, allocations: 103.9 kB / 0.5827 GB, free: 34.97 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0005807/0.648, allocations: 255.1 kB / 0.583 GB, free: 34.8 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.6481, allocations: 0.9375 kB / 0.583 GB, free: 34.8 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.000293/0.6484, allocations: 194.9 kB / 0.5831 GB, free: 34.65 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001562/0.6485, allocations: 5.844 kB / 0.5831 GB, free: 34.64 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00106/0.6496, allocations: 0.7867 MB / 0.5839 GB, free: 33.98 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001906/0.6498, allocations: 0.701 MB / 0.5846 GB, free: 33.27 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 6.213e-05/0.6499, allocations: 30.17 kB / 0.5846 GB, free: 33.26 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.723e-05/0.6499, allocations: 15.19 kB / 0.5846 GB, free: 33.25 MB / 462.3 MB Notification: Performance of SimCode: time 3.2e-07/0.6499, allocations: 0 / 0.5846 GB, free: 33.25 MB / 462.3 MB Notification: Performance of Templates: time 0.008541/0.6585, allocations: 1.224 MB / 0.5858 GB, free: 32.67 MB / 462.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.makefile Environment - environmentSimulation: (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches