Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_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_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_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.0009333/0.0009333, allocations: 91.8 kB / 17.31 MB, free: 6.535 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.00108/0.00108, allocations: 179.2 kB / 18.21 MB, free: 5.68 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.318/1.318, allocations: 223.3 MB / 242.3 MB, free: 208 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.048/1.048, allocations: 120.5 MB / 413.8 MB, free: 9.145 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003201/0.0003202, allocations: 8 kB / 0.4955 GB, free: 11.45 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5975/0.5979, allocations: 82.84 MB / 0.5764 GB, free: 41.93 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck): time 0.001136/0.5991, allocations: 0.9478 MB / 0.5774 GB, free: 41.17 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001873/0.5993, allocations: 43 kB / 0.5774 GB, free: 41.14 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.796e-05/0.5993, allocations: 0 / 0.5774 GB, free: 41.14 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 8.433e-05/0.5994, allocations: 3.984 kB / 0.5774 GB, free: 41.13 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 6.114e-05/0.5995, allocations: 11.33 kB / 0.5774 GB, free: 41.12 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001503/0.5996, allocations: 21.25 kB / 0.5774 GB, free: 41.11 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0001713/0.5998, allocations: 123.2 kB / 0.5776 GB, free: 41.05 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.941e-05/0.5999, allocations: 5.234 kB / 0.5776 GB, free: 41.05 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 4.709e-05/0.5999, allocations: 40.08 kB / 0.5776 GB, free: 41.03 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 7.826e-05/0.6, allocations: 35.25 kB / 0.5776 GB, free: 41.01 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 2.105e-05/0.6, allocations: 3.812 kB / 0.5776 GB, free: 41.01 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 1.81e-05/0.6, allocations: 4.688 kB / 0.5776 GB, free: 41.01 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 5.078e-05/0.6001, allocations: 29.72 kB / 0.5777 GB, free: 40.99 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 5.842e-05/0.6002, allocations: 48.41 kB / 0.5777 GB, free: 40.95 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 7.072e-05/0.6002, allocations: 47.64 kB / 0.5778 GB, free: 40.92 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.6002, allocations: 4 kB / 0.5778 GB, free: 40.91 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.723e-06/0.6003, allocations: 0 / 0.5778 GB, free: 40.91 MB / 462.3 MB Notification: Performance of Transformations before backend: time 3.778e-06/0.6003, allocations: 0 / 0.5778 GB, free: 40.91 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.0005141/0.6008, allocations: 389 kB / 0.5781 GB, free: 40.52 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.6008, allocations: 13.19 kB / 0.5781 GB, free: 40.52 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.361e-05/0.6009, allocations: 4.406 kB / 0.5782 GB, free: 40.52 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001238/0.601, allocations: 186.1 kB / 0.5783 GB, free: 40.3 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.601, allocations: 6.781 kB / 0.5783 GB, free: 40.3 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.415e-05/0.6011, allocations: 11.53 kB / 0.5783 GB, free: 40.3 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001549/0.6012, allocations: 82.27 kB / 0.5784 GB, free: 40.24 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.6012, allocations: 6.031 kB / 0.5784 GB, free: 40.23 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.6013, allocations: 7.938 kB / 0.5784 GB, free: 40.23 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.76e-06/0.6013, allocations: 1.969 kB / 0.5784 GB, free: 40.23 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.492e-05/0.6014, allocations: 47.23 kB / 0.5785 GB, free: 40.2 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001953/0.6016, allocations: 213.6 kB / 0.5787 GB, free: 39.98 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003431/0.6019, allocations: 135.5 kB / 0.5788 GB, free: 39.91 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.475e-05/0.602, allocations: 49.55 kB / 0.5789 GB, free: 39.88 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.449e-05/0.602, allocations: 5.062 kB / 0.5789 GB, free: 39.88 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.562e-05/0.602, allocations: 32.19 kB / 0.5789 GB, free: 39.84 MB / 462.3 MB Notification: Performance of pre-optimization done (n=12): time 1.142e-06/0.602, allocations: 0 / 0.5789 GB, free: 39.84 MB / 462.3 MB Notification: Performance of matching and sorting (n=12): time 0.0006802/0.6027, allocations: 316.9 kB / 0.5792 GB, free: 39.61 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.139e-05/0.6028, allocations: 52.78 kB / 0.5793 GB, free: 39.54 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.892e-05/0.6028, allocations: 102 kB / 0.5793 GB, free: 39.44 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.264e-05/0.6028, allocations: 27.08 kB / 0.5794 GB, free: 39.41 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 1.871e-05/0.6029, allocations: 85.52 kB / 0.5795 GB, free: 39.32 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 4.207e-05/0.6029, allocations: 52.75 kB / 0.5795 GB, free: 39.27 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.1e-05/0.6029, allocations: 24.58 kB / 0.5795 GB, free: 39.25 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.984e-05/0.603, allocations: 325.5 kB / 0.5798 GB, free: 38.93 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.454e-05/0.6031, allocations: 56.77 kB / 0.5799 GB, free: 38.9 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.759e-05/0.6032, allocations: 89.16 kB / 0.58 GB, free: 38.83 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001736/0.6033, allocations: 151.5 kB / 0.5801 GB, free: 38.73 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.6034, allocations: 0 / 0.5801 GB, free: 38.73 MB / 462.3 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003816/0.6037, allocations: 225.4 kB / 0.5803 GB, free: 38.61 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.6038, allocations: 9.438 kB / 0.5803 GB, free: 38.61 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.6038, allocations: 1.375 kB / 0.5803 GB, free: 38.61 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002936/0.6041, allocations: 61.92 kB / 0.5804 GB, free: 38.57 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000111/0.6042, allocations: 34.05 kB / 0.5804 GB, free: 38.57 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001117/0.6053, allocations: 1.476 MB / 0.5819 GB, free: 37.13 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.247e-05/0.6054, allocations: 7.531 kB / 0.5819 GB, free: 37.13 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.314e-05/0.6054, allocations: 9.188 kB / 0.5819 GB, free: 37.12 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 (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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.681e-05/0.6055, allocations: 132.1 kB / 0.582 GB, free: 36.99 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.404e-05/0.6055, allocations: 1.562 kB / 0.582 GB, free: 36.99 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.998e-05/0.6056, allocations: 13.22 kB / 0.582 GB, free: 36.98 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.6056, allocations: 0.9688 kB / 0.582 GB, free: 36.98 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.6056, allocations: 1.344 kB / 0.582 GB, free: 36.98 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.6056, allocations: 0 / 0.582 GB, free: 36.98 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001399/0.6057, allocations: 212.1 kB / 0.5822 GB, free: 36.75 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.6057, allocations: 0.9375 kB / 0.5822 GB, free: 36.75 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001608/0.6059, allocations: 33.11 kB / 0.5823 GB, free: 36.74 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002374/0.6062, allocations: 56.17 kB / 0.5823 GB, free: 36.71 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.686e-05/0.6062, allocations: 6.734 kB / 0.5823 GB, free: 36.71 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001012/0.6072, allocations: 1.479 MB / 0.5838 GB, free: 35.28 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.6072, allocations: 0.9375 kB / 0.5838 GB, free: 35.28 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004405/0.6077, allocations: 257.6 kB / 0.584 GB, free: 35.12 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 2.077e-05/0.6077, allocations: 94.73 kB / 0.5841 GB, free: 35.01 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.774e-05/0.6077, allocations: 2.781 kB / 0.5841 GB, free: 35.01 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.067e-05/0.6078, allocations: 5.828 kB / 0.5841 GB, free: 35 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.02e-05/0.6078, allocations: 8.625 kB / 0.5841 GB, free: 35 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.228e-06/0.6078, allocations: 9.828 kB / 0.5841 GB, free: 34.99 MB / 462.3 MB Notification: Performance of sorting global known variables: time 1.998e-05/0.6079, allocations: 81.97 kB / 0.5842 GB, free: 34.91 MB / 462.3 MB Notification: Performance of sort global known variables: time 1e-07/0.6079, allocations: 0 / 0.5842 GB, free: 34.91 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002446/0.6081, allocations: 31.19 kB / 0.5843 GB, free: 34.91 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 (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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 8.18e-05/0.6082, allocations: 100.2 kB / 0.5843 GB, free: 34.81 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0004332/0.6086, allocations: 260.5 kB / 0.5846 GB, free: 34.64 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.6086, allocations: 0 / 0.5846 GB, free: 34.64 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0002461/0.6089, allocations: 192.9 kB / 0.5848 GB, free: 34.49 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001818/0.6091, allocations: 16.42 kB / 0.5848 GB, free: 34.48 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008597/0.61, allocations: 0.8093 MB / 0.5856 GB, free: 33.78 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001283/0.6101, allocations: 0.7122 MB / 0.5863 GB, free: 33.06 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.05e-05/0.6101, allocations: 12.5 kB / 0.5863 GB, free: 33.06 MB / 462.3 MB Notification: Performance of SimCode: time 2.31e-07/0.6101, allocations: 0 / 0.5863 GB, free: 33.06 MB / 462.3 MB Notification: Performance of Templates: time 0.003139/0.6133, allocations: 1.436 MB / 0.5877 GB, free: 32.34 MB / 462.3 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.sim & ./ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches