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.001292/0.001292, allocations: 110.2 kB / 17.17 MB, free: 6.344 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.001394/0.001394, allocations: 198.9 kB / 18.08 MB, free: 5.441 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.33/1.33, allocations: 222.9 MB / 241.8 MB, free: 15.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9432/0.9432, allocations: 119.3 MB / 411.2 MB, free: 9.723 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 59.91 kB / 0.4909 GB, free: 14.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5126/0.5138, allocations: 80.68 MB / 0.5697 GB, free: 43.51 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck): time 0.002138/0.516, allocations: 1.282 MB / 0.5709 GB, free: 42.5 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001857/0.5162, allocations: 47.08 kB / 0.571 GB, free: 42.46 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.839e-05/0.5162, allocations: 0 / 0.571 GB, free: 42.46 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 8.564e-05/0.5163, allocations: 5.109 kB / 0.571 GB, free: 42.46 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 6.143e-05/0.5164, allocations: 5.938 kB / 0.571 GB, free: 42.46 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001479/0.5165, allocations: 21.25 kB / 0.571 GB, free: 42.44 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.000151/0.5167, allocations: 127.2 kB / 0.5711 GB, free: 42.38 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.862e-05/0.5168, allocations: 2.812 kB / 0.5711 GB, free: 42.38 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 4.27e-05/0.5168, allocations: 39.91 kB / 0.5712 GB, free: 42.36 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 7.575e-05/0.5169, allocations: 33.86 kB / 0.5712 GB, free: 42.34 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 2.732e-05/0.5169, allocations: 4.531 kB / 0.5712 GB, free: 42.34 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 2.089e-05/0.5169, allocations: 4.625 kB / 0.5712 GB, free: 42.34 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 5.625e-05/0.517, allocations: 36.55 kB / 0.5712 GB, free: 42.32 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 4.874e-05/0.5171, allocations: 29.98 kB / 0.5713 GB, free: 42.3 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 6.509e-05/0.5171, allocations: 43.72 kB / 0.5713 GB, free: 42.27 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.5171, allocations: 0 / 0.5713 GB, free: 42.27 MB / 462.3 MB Notification: Performance of FrontEnd: time 7.91e-07/0.5171, allocations: 1.594 kB / 0.5713 GB, free: 42.27 MB / 462.3 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.5171, allocations: 0 / 0.5713 GB, free: 42.27 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.0005476/0.5177, allocations: 400.3 kB / 0.5717 GB, free: 41.88 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.5177, allocations: 9.562 kB / 0.5717 GB, free: 41.88 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.703e-05/0.5178, allocations: 4.938 kB / 0.5717 GB, free: 41.88 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001259/0.5179, allocations: 185.8 kB / 0.5719 GB, free: 41.67 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.5179, allocations: 11.12 kB / 0.5719 GB, free: 41.66 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.967e-05/0.518, allocations: 11.25 kB / 0.5719 GB, free: 41.66 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001529/0.5181, allocations: 85.64 kB / 0.572 GB, free: 41.59 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.5181, allocations: 5.547 kB / 0.572 GB, free: 41.59 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.507e-05/0.5182, allocations: 5.312 kB / 0.572 GB, free: 41.59 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.5182, allocations: 5.312 kB / 0.572 GB, free: 41.58 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.85e-05/0.5183, allocations: 39.34 kB / 0.572 GB, free: 41.57 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001924/0.5185, allocations: 217.1 kB / 0.5723 GB, free: 41.34 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003579/0.5188, allocations: 139.5 kB / 0.5724 GB, free: 41.26 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.116e-05/0.5189, allocations: 45.19 kB / 0.5724 GB, free: 41.24 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.286e-05/0.5189, allocations: 1.406 kB / 0.5724 GB, free: 41.24 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.43e-05/0.5189, allocations: 35.62 kB / 0.5725 GB, free: 41.2 MB / 462.3 MB Notification: Performance of pre-optimization done (n=12): time 1.382e-06/0.5189, allocations: 1.281 kB / 0.5725 GB, free: 41.2 MB / 462.3 MB Notification: Performance of matching and sorting (n=12): time 0.0006711/0.5196, allocations: 307.9 kB / 0.5728 GB, free: 40.97 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.164e-05/0.5197, allocations: 56.78 kB / 0.5728 GB, free: 40.91 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.845e-05/0.5197, allocations: 107.2 kB / 0.5729 GB, free: 40.8 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.167e-05/0.5197, allocations: 29.7 kB / 0.5729 GB, free: 40.76 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 1.714e-05/0.5197, allocations: 81.58 kB / 0.573 GB, free: 40.68 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 3.923e-05/0.5198, allocations: 49.05 kB / 0.5731 GB, free: 40.64 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.043e-05/0.5198, allocations: 40.08 kB / 0.5731 GB, free: 40.61 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.912e-05/0.5199, allocations: 329.3 kB / 0.5734 GB, free: 40.28 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.439e-05/0.52, allocations: 49.55 kB / 0.5735 GB, free: 40.26 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.162e-05/0.5201, allocations: 91.25 kB / 0.5736 GB, free: 40.19 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001757/0.5203, allocations: 151.4 kB / 0.5737 GB, free: 40.09 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.5203, allocations: 0 / 0.5737 GB, free: 40.09 MB / 462.3 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003967/0.5207, allocations: 224.8 kB / 0.5739 GB, free: 39.97 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.5207, allocations: 10.25 kB / 0.5739 GB, free: 39.96 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.5207, allocations: 5.5 kB / 0.5739 GB, free: 39.96 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000313/0.521, allocations: 60.78 kB / 0.574 GB, free: 39.93 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000123/0.5212, allocations: 31.31 kB / 0.574 GB, free: 39.93 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001057/0.5222, allocations: 1.471 MB / 0.5755 GB, free: 38.49 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.355e-05/0.5223, allocations: 11.81 kB / 0.5755 GB, free: 38.48 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.152e-05/0.5223, allocations: 4.156 kB / 0.5755 GB, free: 38.48 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.113e-05/0.5224, allocations: 131.7 kB / 0.5756 GB, free: 38.35 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.559e-05/0.5224, allocations: 2.906 kB / 0.5756 GB, free: 38.35 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.639e-05/0.5225, allocations: 21.17 kB / 0.5756 GB, free: 38.33 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.5225, allocations: 1.156 kB / 0.5756 GB, free: 38.33 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.5225, allocations: 1.25 kB / 0.5756 GB, free: 38.33 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.5225, allocations: 4 kB / 0.5756 GB, free: 38.32 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001322/0.5226, allocations: 215.9 kB / 0.5758 GB, free: 38.09 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.5226, allocations: 1.594 kB / 0.5758 GB, free: 38.09 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001594/0.5228, allocations: 25.84 kB / 0.5759 GB, free: 38.08 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002407/0.523, allocations: 58.78 kB / 0.5759 GB, free: 38.05 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.701e-05/0.5231, allocations: 3.438 kB / 0.5759 GB, free: 38.05 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009376/0.524, allocations: 1.467 MB / 0.5773 GB, free: 36.63 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.524, allocations: 1.469 kB / 0.5773 GB, free: 36.63 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004179/0.5244, allocations: 257.6 kB / 0.5776 GB, free: 36.47 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 1.924e-05/0.5245, allocations: 91.27 kB / 0.5777 GB, free: 36.36 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.817e-05/0.5245, allocations: 10.45 kB / 0.5777 GB, free: 36.36 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.242e-05/0.5246, allocations: 1.156 kB / 0.5777 GB, free: 36.36 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.576e-05/0.5246, allocations: 9.266 kB / 0.5777 GB, free: 36.35 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.486e-06/0.5246, allocations: 6.438 kB / 0.5777 GB, free: 36.35 MB / 462.3 MB Notification: Performance of sorting global known variables: time 2.153e-05/0.5246, allocations: 81.62 kB / 0.5778 GB, free: 36.27 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.01e-07/0.5246, allocations: 0 / 0.5778 GB, free: 36.27 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002334/0.5249, allocations: 27.53 kB / 0.5778 GB, free: 36.27 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.782e-05/0.525, allocations: 108.5 kB / 0.5779 GB, free: 36.16 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0004427/0.5254, allocations: 268.2 kB / 0.5782 GB, free: 35.98 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.5255, allocations: 4.25 kB / 0.5782 GB, free: 35.98 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.000233/0.5257, allocations: 187.7 kB / 0.5784 GB, free: 35.83 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001792/0.5259, allocations: 11.25 kB / 0.5784 GB, free: 35.82 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008863/0.5268, allocations: 0.702 MB / 0.579 GB, free: 35.22 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001131/0.5269, allocations: 0.7019 MB / 0.5797 GB, free: 34.52 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.684e-05/0.5269, allocations: 10.97 kB / 0.5797 GB, free: 34.51 MB / 462.3 MB Notification: Performance of SimCode: time 2.91e-07/0.5269, allocations: 0 / 0.5797 GB, free: 34.51 MB / 462.3 MB Notification: Performance of Templates: time 0.003104/0.53, allocations: 1.433 MB / 0.5811 GB, free: 33.8 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