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.001327/0.001327, allocations: 104.6 kB / 17.16 MB, free: 6.316 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.001309/0.001309, allocations: 190.9 kB / 18.08 MB, free: 5.406 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.32/1.32, allocations: 222.9 MB / 241.7 MB, free: 15.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9789/0.9789, allocations: 119.3 MB / 411.2 MB, free: 9.723 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001275, allocations: 63.89 kB / 0.4909 GB, free: 14.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5808/0.5821, allocations: 80.69 MB / 0.5697 GB, free: 43.53 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck): time 0.002327/0.5845, allocations: 1.28 MB / 0.5709 GB, free: 42.52 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001971/0.5847, allocations: 38.94 kB / 0.571 GB, free: 42.49 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.239e-05/0.5847, allocations: 3.938 kB / 0.571 GB, free: 42.48 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 8.778e-05/0.5848, allocations: 0 / 0.571 GB, free: 42.48 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 5.863e-05/0.5849, allocations: 10.72 kB / 0.571 GB, free: 42.48 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001512/0.5851, allocations: 21.47 kB / 0.571 GB, free: 42.46 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0001614/0.5852, allocations: 130.5 kB / 0.5711 GB, free: 42.39 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.351e-05/0.5853, allocations: 2.219 kB / 0.5711 GB, free: 42.39 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 5.156e-05/0.5854, allocations: 40.44 kB / 0.5712 GB, free: 42.38 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 8.644e-05/0.5854, allocations: 34.31 kB / 0.5712 GB, free: 42.36 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 2.386e-05/0.5855, allocations: 4.188 kB / 0.5712 GB, free: 42.36 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 2.207e-05/0.5855, allocations: 4.562 kB / 0.5712 GB, free: 42.36 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 5.681e-05/0.5856, allocations: 32.72 kB / 0.5712 GB, free: 42.34 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 5.692e-05/0.5856, allocations: 30.55 kB / 0.5713 GB, free: 42.32 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 7.383e-05/0.5857, allocations: 42.98 kB / 0.5713 GB, free: 42.29 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.5857, allocations: 1.156 kB / 0.5713 GB, free: 42.29 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.293e-06/0.5857, allocations: 4 kB / 0.5713 GB, free: 42.29 MB / 462.3 MB Notification: Performance of Transformations before backend: time 4.028e-06/0.5857, allocations: 0 / 0.5713 GB, free: 42.29 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.0006115/0.5863, allocations: 397 kB / 0.5717 GB, free: 41.9 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.5864, allocations: 9.344 kB / 0.5717 GB, free: 41.9 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.799e-05/0.5864, allocations: 5.25 kB / 0.5717 GB, free: 41.9 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000143/0.5866, allocations: 193.7 kB / 0.5719 GB, free: 41.68 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.518e-06/0.5866, allocations: 7.406 kB / 0.5719 GB, free: 41.68 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.441e-05/0.5866, allocations: 10.34 kB / 0.5719 GB, free: 41.67 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001707/0.5868, allocations: 83.36 kB / 0.572 GB, free: 41.61 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.5868, allocations: 1.469 kB / 0.572 GB, free: 41.61 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.5869, allocations: 3.938 kB / 0.572 GB, free: 41.61 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.5869, allocations: 1.281 kB / 0.572 GB, free: 41.61 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.207e-05/0.587, allocations: 48.3 kB / 0.572 GB, free: 41.59 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002169/0.5872, allocations: 212.5 kB / 0.5723 GB, free: 41.36 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003974/0.5876, allocations: 136.3 kB / 0.5724 GB, free: 41.29 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.888e-05/0.5877, allocations: 49.11 kB / 0.5724 GB, free: 41.26 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.306e-05/0.5877, allocations: 1.219 kB / 0.5724 GB, free: 41.26 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.528e-05/0.5877, allocations: 35.75 kB / 0.5725 GB, free: 41.22 MB / 462.3 MB Notification: Performance of pre-optimization done (n=12): time 1.433e-06/0.5877, allocations: 0 / 0.5725 GB, free: 41.22 MB / 462.3 MB Notification: Performance of matching and sorting (n=12): time 0.0007226/0.5885, allocations: 308.4 kB / 0.5728 GB, free: 41 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.438e-05/0.5885, allocations: 54.19 kB / 0.5728 GB, free: 40.93 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.862e-05/0.5886, allocations: 101.5 kB / 0.5729 GB, free: 40.83 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.358e-05/0.5886, allocations: 30.83 kB / 0.5729 GB, free: 40.79 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 2.127e-05/0.5886, allocations: 85.42 kB / 0.573 GB, free: 40.71 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 4.529e-05/0.5887, allocations: 53.41 kB / 0.5731 GB, free: 40.66 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.424e-05/0.5887, allocations: 40.27 kB / 0.5731 GB, free: 40.63 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.698e-05/0.5888, allocations: 325.6 kB / 0.5734 GB, free: 40.3 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.886e-05/0.5889, allocations: 47.86 kB / 0.5735 GB, free: 40.29 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001012/0.589, allocations: 95.08 kB / 0.5736 GB, free: 40.21 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000192/0.5892, allocations: 154.4 kB / 0.5737 GB, free: 40.11 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.5892, allocations: 1.156 kB / 0.5737 GB, free: 40.11 MB / 462.3 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004319/0.5896, allocations: 228.8 kB / 0.5739 GB, free: 39.98 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.5896, allocations: 10.22 kB / 0.5739 GB, free: 39.98 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.5896, allocations: 0 / 0.5739 GB, free: 39.98 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003177/0.59, allocations: 57.77 kB / 0.574 GB, free: 39.95 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001227/0.5901, allocations: 35.3 kB / 0.574 GB, free: 39.95 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0011/0.5912, allocations: 1.475 MB / 0.5755 GB, free: 38.5 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.635e-05/0.5913, allocations: 11.41 kB / 0.5755 GB, free: 38.49 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.26e-05/0.5913, allocations: 5.469 kB / 0.5755 GB, free: 38.49 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.76e-05/0.5914, allocations: 132 kB / 0.5756 GB, free: 38.36 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.595e-05/0.5914, allocations: 2.156 kB / 0.5756 GB, free: 38.36 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.766e-05/0.5915, allocations: 13.22 kB / 0.5756 GB, free: 38.34 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.5915, allocations: 1.312 kB / 0.5756 GB, free: 38.34 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.5915, allocations: 1.406 kB / 0.5756 GB, free: 38.34 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.5915, allocations: 8.047 kB / 0.5756 GB, free: 38.34 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001386/0.5916, allocations: 212.2 kB / 0.5758 GB, free: 38.11 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.5916, allocations: 0 / 0.5758 GB, free: 38.11 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001623/0.5918, allocations: 34.11 kB / 0.5759 GB, free: 38.1 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002466/0.5921, allocations: 56.27 kB / 0.5759 GB, free: 38.07 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.738e-05/0.5921, allocations: 6.109 kB / 0.5759 GB, free: 38.07 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009526/0.5931, allocations: 1.467 MB / 0.5774 GB, free: 36.65 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.5931, allocations: 5.469 kB / 0.5774 GB, free: 36.64 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004278/0.5935, allocations: 253.5 kB / 0.5776 GB, free: 36.48 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 2.132e-05/0.5935, allocations: 91.08 kB / 0.5777 GB, free: 36.38 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.047e-05/0.5936, allocations: 15.05 kB / 0.5777 GB, free: 36.37 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.299e-05/0.5936, allocations: 1.125 kB / 0.5777 GB, free: 36.37 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.719e-05/0.5937, allocations: 12.14 kB / 0.5777 GB, free: 36.36 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.051e-05/0.5937, allocations: 7.219 kB / 0.5777 GB, free: 36.36 MB / 462.3 MB Notification: Performance of sorting global known variables: time 2.293e-05/0.5937, allocations: 77.5 kB / 0.5778 GB, free: 36.28 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5937, allocations: 0 / 0.5778 GB, free: 36.28 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002446/0.594, allocations: 27.56 kB / 0.5778 GB, free: 36.28 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 9.619e-05/0.5941, allocations: 106.5 kB / 0.5779 GB, free: 36.18 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0004734/0.5946, allocations: 259.5 kB / 0.5782 GB, free: 36 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.5946, allocations: 0 / 0.5782 GB, free: 36 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0002451/0.5948, allocations: 196.3 kB / 0.5784 GB, free: 35.85 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000183/0.595, allocations: 10.16 kB / 0.5784 GB, free: 35.84 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008635/0.5959, allocations: 0.6999 MB / 0.5791 GB, free: 35.25 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001233/0.596, allocations: 0.6972 MB / 0.5797 GB, free: 34.54 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.133e-05/0.5961, allocations: 12.28 kB / 0.5797 GB, free: 34.54 MB / 462.3 MB Notification: Performance of SimCode: time 3.9e-07/0.5961, allocations: 0 / 0.5797 GB, free: 34.54 MB / 462.3 MB Notification: Performance of Templates: time 0.003183/0.5993, allocations: 1.437 MB / 0.5811 GB, free: 33.82 MB / 462.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.makefile (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) 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