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.001589/0.001589, allocations: 107 kB / 17.06 MB, free: 6.016 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.001882/0.001882, allocations: 195.7 kB / 18 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.201/2.201, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.843/1.843, allocations: 119.3 MB / 411.2 MB, free: 9.461 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00247/0.002471, allocations: 66.03 kB / 0.5709 GB, free: 39.77 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2672/0.2697, allocations: 80.7 MB / 0.6497 GB, free: 13.05 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck): time 0.004405/0.2741, allocations: 1.219 MB / 0.6509 GB, free: 11.82 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0003461/0.2745, allocations: 39.88 kB / 0.6509 GB, free: 11.78 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.489e-05/0.2746, allocations: 0 / 0.6509 GB, free: 11.78 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001372/0.2748, allocations: 0 / 0.6509 GB, free: 11.78 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0001094/0.275, allocations: 23.91 kB / 0.651 GB, free: 11.76 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002717/0.2752, allocations: 15.97 kB / 0.651 GB, free: 11.74 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0002708/0.2755, allocations: 99.83 kB / 0.6511 GB, free: 11.64 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 8.443e-05/0.2756, allocations: 4 kB / 0.6511 GB, free: 11.64 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001067/0.2757, allocations: 35.95 kB / 0.6511 GB, free: 11.61 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001656/0.2759, allocations: 39.89 kB / 0.6511 GB, free: 11.57 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 3.456e-05/0.276, allocations: 4 kB / 0.6511 GB, free: 11.56 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 3.224e-05/0.276, allocations: 8 kB / 0.6512 GB, free: 11.55 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 9.293e-05/0.2761, allocations: 31.89 kB / 0.6512 GB, free: 11.52 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0001088/0.2762, allocations: 27.86 kB / 0.6512 GB, free: 11.5 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0001672/0.2764, allocations: 47.81 kB / 0.6513 GB, free: 11.45 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 8.085e-06/0.2764, allocations: 0 / 0.6513 GB, free: 11.45 MB / 0.4983 GB Notification: Performance of FrontEnd: time 3.026e-06/0.2764, allocations: 0 / 0.6513 GB, free: 11.45 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 8.295e-06/0.2765, allocations: 0 / 0.6513 GB, free: 11.45 MB / 0.4983 GB 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.001127/0.2776, allocations: 407.4 kB / 0.6516 GB, free: 11 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 5.805e-05/0.2777, allocations: 8.031 kB / 0.6517 GB, free: 10.99 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.004e-05/0.2778, allocations: 8.844 kB / 0.6517 GB, free: 10.98 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002922/0.2781, allocations: 176.4 kB / 0.6518 GB, free: 10.77 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/0.2781, allocations: 8.375 kB / 0.6518 GB, free: 10.77 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.679e-05/0.2782, allocations: 16.28 kB / 0.6519 GB, free: 10.75 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002787/0.2785, allocations: 82.2 kB / 0.6519 GB, free: 10.66 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.097e-05/0.2785, allocations: 192 / 0.6519 GB, free: 10.66 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.435e-05/0.2785, allocations: 11.88 kB / 0.6519 GB, free: 10.65 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.718e-06/0.2786, allocations: 7.984 kB / 0.652 GB, free: 10.64 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001495/0.2787, allocations: 39.97 kB / 0.652 GB, free: 10.61 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004193/0.2791, allocations: 213.5 kB / 0.6522 GB, free: 10.35 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000659/0.2798, allocations: 130.5 kB / 0.6523 GB, free: 10.21 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001418/0.28, allocations: 49.16 kB / 0.6524 GB, free: 10.16 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 2.38e-05/0.28, allocations: 3.938 kB / 0.6524 GB, free: 10.16 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.888e-05/0.2801, allocations: 38.56 kB / 0.6524 GB, free: 10.11 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=12): time 2.164e-06/0.2801, allocations: 0 / 0.6524 GB, free: 10.11 MB / 0.4983 GB Notification: Performance of matching and sorting (n=12): time 0.001245/0.2813, allocations: 311.3 kB / 0.6527 GB, free: 9.777 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.501e-05/0.2814, allocations: 55.41 kB / 0.6528 GB, free: 9.711 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001268/0.2816, allocations: 101.8 kB / 0.6529 GB, free: 9.602 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 3.34e-05/0.2816, allocations: 29.7 kB / 0.6529 GB, free: 9.566 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 6.201e-05/0.2817, allocations: 82.48 kB / 0.653 GB, free: 9.484 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 9.42e-05/0.2818, allocations: 47.36 kB / 0.653 GB, free: 9.438 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001016/0.2819, allocations: 45.92 kB / 0.6531 GB, free: 9.387 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0003181/0.2822, allocations: 330.8 kB / 0.6534 GB, free: 9.055 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000143/0.2824, allocations: 47.97 kB / 0.6534 GB, free: 9.008 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001943/0.2826, allocations: 88.2 kB / 0.6535 GB, free: 8.906 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003851/0.283, allocations: 152.2 kB / 0.6536 GB, free: 8.742 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.283, allocations: 0 / 0.6536 GB, free: 8.742 MB / 0.4983 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0008266/0.2838, allocations: 218.2 kB / 0.6538 GB, free: 8.52 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 3.864e-05/0.2839, allocations: 11.94 kB / 0.6539 GB, free: 8.508 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/0.2839, allocations: 128 / 0.6539 GB, free: 8.508 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005781/0.2845, allocations: 64.8 kB / 0.6539 GB, free: 8.441 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002135/0.2847, allocations: 43.86 kB / 0.654 GB, free: 8.398 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002416/0.2872, allocations: 1.582 MB / 0.6555 GB, free: 6.668 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001225/0.2873, allocations: 11.97 kB / 0.6555 GB, free: 6.656 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.089e-05/0.2874, allocations: 8.062 kB / 0.6555 GB, free: 6.648 MB / 0.4983 GB 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 0.0001752/0.2875, allocations: 130.6 kB / 0.6557 GB, free: 6.512 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.583e-05/0.2876, allocations: 7.906 kB / 0.6557 GB, free: 6.504 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.103e-05/0.2876, allocations: 15.95 kB / 0.6557 GB, free: 6.492 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.2877, allocations: 0 / 0.6557 GB, free: 6.492 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.2877, allocations: 0 / 0.6557 GB, free: 6.492 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.2877, allocations: 4 kB / 0.6557 GB, free: 6.488 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003061/0.288, allocations: 213.5 kB / 0.6559 GB, free: 6.23 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.288, allocations: 4 kB / 0.6559 GB, free: 6.227 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002838/0.2883, allocations: 27.98 kB / 0.6559 GB, free: 6.199 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004044/0.2887, allocations: 56.8 kB / 0.656 GB, free: 6.141 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.622e-05/0.2888, allocations: 0 / 0.656 GB, free: 6.141 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002325/0.2911, allocations: 1.59 MB / 0.6575 GB, free: 4.414 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/0.2912, allocations: 4.062 kB / 0.6575 GB, free: 4.41 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007854/0.2919, allocations: 258.1 kB / 0.6578 GB, free: 4.137 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 7.605e-05/0.292, allocations: 89 kB / 0.6579 GB, free: 4.031 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.338e-05/0.2921, allocations: 8 kB / 0.6579 GB, free: 4.023 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.512e-05/0.2922, allocations: 0 / 0.6579 GB, free: 4.023 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.59e-05/0.2923, allocations: 11.98 kB / 0.6579 GB, free: 4.012 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.115e-05/0.2923, allocations: 11.94 kB / 0.6579 GB, free: 4 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 8.093e-05/0.2924, allocations: 79.27 kB / 0.658 GB, free: 3.922 MB / 0.4983 GB Notification: Performance of sort global known variables: time 2.1e-07/0.2924, allocations: 0 / 0.658 GB, free: 3.922 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0004531/0.2928, allocations: 28 kB / 0.658 GB, free: 3.895 MB / 0.4983 GB 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 0.0002147/0.2931, allocations: 115.6 kB / 0.6581 GB, free: 3.77 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0009251/0.294, allocations: 254.5 kB / 0.6583 GB, free: 3.508 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 9.528e-06/0.294, allocations: 0 / 0.6583 GB, free: 3.508 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 0.0004692/0.2945, allocations: 198.7 kB / 0.6585 GB, free: 3.301 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003324/0.2949, allocations: 7.656 kB / 0.6585 GB, free: 3.297 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001607/0.2965, allocations: 0.6535 MB / 0.6592 GB, free: 2.617 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004705/0.297, allocations: 0.7156 MB / 0.6599 GB, free: 1.875 MB / 0.4983 GB Notification: Performance of simCode: alias equations: time 0.000104/0.2971, allocations: 24.53 kB / 0.6599 GB, free: 1.852 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.423e-05/0.2972, allocations: 11.44 kB / 0.6599 GB, free: 1.84 MB / 0.4983 GB Notification: Performance of SimCode: time 1.293e-06/0.2972, allocations: 4 kB / 0.6599 GB, free: 1.836 MB / 0.4983 GB Notification: Performance of Templates: time 0.006492/0.3037, allocations: 1.358 MB / 0.6612 GB, free: 0.5273 MB / 0.4983 GB 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches