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.001209/0.001209, allocations: 105.2 kB / 17.74 MB, free: 5.23 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.001277/0.001277, allocations: 187.8 kB / 18.67 MB, free: 4.309 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.34/1.34, allocations: 222.9 MB / 242.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9698/0.9698, allocations: 119.3 MB / 411.8 MB, free: 9.52 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 61.12 kB / 0.5715 GB, free: 39.81 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1757/0.177, allocations: 80.7 MB / 0.6504 GB, free: 13.1 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck): time 0.002792/0.1798, allocations: 1.207 MB / 0.6515 GB, free: 11.88 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0002458/0.1801, allocations: 47.81 kB / 0.6516 GB, free: 11.84 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.187e-05/0.1802, allocations: 4 kB / 0.6516 GB, free: 11.83 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 9.719e-05/0.1803, allocations: 0 / 0.6516 GB, free: 11.83 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 8.015e-05/0.1804, allocations: 19.91 kB / 0.6516 GB, free: 11.81 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002023/0.1806, allocations: 15.97 kB / 0.6516 GB, free: 11.8 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0001946/0.1808, allocations: 107.8 kB / 0.6517 GB, free: 11.69 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 6.817e-05/0.1809, allocations: 0 / 0.6517 GB, free: 11.69 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 6.492e-05/0.181, allocations: 39.97 kB / 0.6518 GB, free: 11.65 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001038/0.1811, allocations: 35.89 kB / 0.6518 GB, free: 11.62 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 2.662e-05/0.1811, allocations: 4 kB / 0.6518 GB, free: 11.61 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 1.776e-05/0.1811, allocations: 4 kB / 0.6518 GB, free: 11.61 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 5.913e-05/0.1812, allocations: 27.95 kB / 0.6518 GB, free: 11.58 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 6.378e-05/0.1813, allocations: 35.84 kB / 0.6519 GB, free: 11.55 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 9.554e-05/0.1814, allocations: 43.83 kB / 0.6519 GB, free: 11.5 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.1814, allocations: 3.938 kB / 0.6519 GB, free: 11.5 MB / 0.4983 GB Notification: Performance of FrontEnd: time 2.264e-06/0.1814, allocations: 0 / 0.6519 GB, free: 11.5 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.1814, allocations: 0 / 0.6519 GB, free: 11.5 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.0006592/0.1821, allocations: 407.4 kB / 0.6523 GB, free: 11.05 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.1821, allocations: 15.89 kB / 0.6523 GB, free: 11.04 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.183e-05/0.1822, allocations: 8.844 kB / 0.6523 GB, free: 11.03 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001736/0.1823, allocations: 176.4 kB / 0.6525 GB, free: 10.82 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.1824, allocations: 4.375 kB / 0.6525 GB, free: 10.81 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.267e-05/0.1824, allocations: 12.28 kB / 0.6525 GB, free: 10.8 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001747/0.1826, allocations: 94.19 kB / 0.6526 GB, free: 10.7 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.1826, allocations: 4.188 kB / 0.6526 GB, free: 10.7 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.1826, allocations: 3.938 kB / 0.6526 GB, free: 10.7 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.1826, allocations: 0 / 0.6526 GB, free: 10.7 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.293e-05/0.1827, allocations: 43.91 kB / 0.6526 GB, free: 10.65 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002665/0.183, allocations: 213.5 kB / 0.6528 GB, free: 10.39 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003758/0.1834, allocations: 134.6 kB / 0.653 GB, free: 10.25 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.602e-05/0.1835, allocations: 52.98 kB / 0.653 GB, free: 10.2 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 1.239e-05/0.1835, allocations: 8 kB / 0.653 GB, free: 10.19 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.202e-05/0.1835, allocations: 30.56 kB / 0.6531 GB, free: 10.15 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=12): time 1.103e-06/0.1835, allocations: 0 / 0.6531 GB, free: 10.15 MB / 0.4983 GB Notification: Performance of matching and sorting (n=12): time 0.0007304/0.1843, allocations: 307.3 kB / 0.6534 GB, free: 9.824 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.906e-05/0.1843, allocations: 59.41 kB / 0.6534 GB, free: 9.754 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.905e-05/0.1844, allocations: 97.86 kB / 0.6535 GB, free: 9.648 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 1.917e-05/0.1844, allocations: 25.7 kB / 0.6535 GB, free: 9.617 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 4.925e-05/0.1845, allocations: 98.41 kB / 0.6536 GB, free: 9.52 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 5.215e-05/0.1845, allocations: 47.3 kB / 0.6537 GB, free: 9.473 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.854e-05/0.1846, allocations: 42.05 kB / 0.6537 GB, free: 9.426 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.1847, allocations: 314.8 kB / 0.654 GB, free: 9.109 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.753e-05/0.1848, allocations: 55.89 kB / 0.6541 GB, free: 9.055 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001054/0.1849, allocations: 98.78 kB / 0.6542 GB, free: 8.945 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001938/0.1851, allocations: 140.2 kB / 0.6543 GB, free: 8.793 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1851, allocations: 0 / 0.6543 GB, free: 8.793 MB / 0.4983 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004051/0.1855, allocations: 230.2 kB / 0.6545 GB, free: 8.559 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.1856, allocations: 7.938 kB / 0.6545 GB, free: 8.551 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/0.1856, allocations: 4 kB / 0.6545 GB, free: 8.547 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000331/0.1859, allocations: 68.86 kB / 0.6546 GB, free: 8.477 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001201/0.186, allocations: 35.92 kB / 0.6546 GB, free: 8.441 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001434/0.1875, allocations: 1.586 MB / 0.6562 GB, free: 6.707 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.055e-05/0.1876, allocations: 11.94 kB / 0.6562 GB, free: 6.695 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.1876, allocations: 4 kB / 0.6562 GB, free: 6.691 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.0001065/0.1877, allocations: 126.7 kB / 0.6563 GB, free: 6.559 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.891e-05/0.1877, allocations: 7.906 kB / 0.6563 GB, free: 6.551 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.758e-05/0.1878, allocations: 19.91 kB / 0.6563 GB, free: 6.535 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.1878, allocations: 4 kB / 0.6563 GB, free: 6.531 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.1878, allocations: 0 / 0.6563 GB, free: 6.531 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.1878, allocations: 0 / 0.6563 GB, free: 6.531 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001879/0.188, allocations: 213.5 kB / 0.6565 GB, free: 6.273 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.188, allocations: 0 / 0.6565 GB, free: 6.273 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001617/0.1881, allocations: 23.98 kB / 0.6566 GB, free: 6.25 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002494/0.1884, allocations: 60.8 kB / 0.6566 GB, free: 6.188 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.97e-05/0.1884, allocations: 11.98 kB / 0.6566 GB, free: 6.176 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001294/0.1897, allocations: 1.582 MB / 0.6582 GB, free: 4.457 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1897, allocations: 0 / 0.6582 GB, free: 4.457 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004645/0.1902, allocations: 266.1 kB / 0.6584 GB, free: 4.176 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 4.753e-05/0.1903, allocations: 81.02 kB / 0.6585 GB, free: 4.078 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.963e-05/0.1903, allocations: 7.984 kB / 0.6585 GB, free: 4.07 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.375e-05/0.1904, allocations: 4 kB / 0.6585 GB, free: 4.066 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.632e-05/0.1904, allocations: 7.984 kB / 0.6585 GB, free: 4.059 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.686e-06/0.1904, allocations: 7.938 kB / 0.6585 GB, free: 4.051 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 4.614e-05/0.1905, allocations: 83.28 kB / 0.6586 GB, free: 3.969 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1905, allocations: 0 / 0.6586 GB, free: 3.969 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0002531/0.1907, allocations: 32 kB / 0.6586 GB, free: 3.938 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.0001247/0.1909, allocations: 107.7 kB / 0.6587 GB, free: 3.82 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0005235/0.1914, allocations: 258.5 kB / 0.659 GB, free: 3.555 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.1914, allocations: 8.188 kB / 0.659 GB, free: 3.547 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 0.0002797/0.1917, allocations: 190.7 kB / 0.6592 GB, free: 3.348 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001922/0.1919, allocations: 8 kB / 0.6592 GB, free: 3.34 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009359/0.1928, allocations: 0.6784 MB / 0.6598 GB, free: 2.629 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002625/0.1931, allocations: 0.7001 MB / 0.6605 GB, free: 1.902 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.221e-05/0.1932, allocations: 11.44 kB / 0.6605 GB, free: 1.891 MB / 0.4983 GB Notification: Performance of SimCode: time 2.31e-07/0.1932, allocations: 7.938 kB / 0.6606 GB, free: 1.883 MB / 0.4983 GB Notification: Performance of Templates: time 0.003088/0.1963, allocations: 1.472 MB / 0.662 GB, free: 428 kB / 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