Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40.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.ScaledExperiments.HarmonicOscillatorNetwork_N_40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.v.1..|der.v.2..|der.v.3..|der.v.40..|der.v.4..|der.v.5..|der.xm.1..|der.xm.2..|der.xm.3..|der.xm.40..|der.xm.4..|der.xm.5..|time|time|v.1.|v.2.|v.3.|v.40.|v.4.|v.5.|xm.1.|xm.2.|xm.3.|xm.40.|xm.4.|xm.5.|xs.1.|xs.2.|xs.3.|xs.40.|xs.4.|xs.5.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40") translateModel(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.v.1..|der.v.2..|der.v.3..|der.v.40..|der.v.4..|der.v.5..|der.xm.1..|der.xm.2..|der.xm.3..|der.xm.40..|der.xm.4..|der.xm.5..|time|time|v.1.|v.2.|v.3.|v.40.|v.4.|v.5.|xm.1.|xm.2.|xm.3.|xm.40.|xm.4.|xm.5.|xs.1.|xs.2.|xs.3.|xs.40.|xs.4.|xs.5.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001573/0.001573, allocations: 109.9 kB / 17.75 MB, free: 5.309 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.001759/0.001759, allocations: 188.3 kB / 18.67 MB, free: 4.395 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.404/1.404, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.014/1.014, allocations: 119.3 MB / 411.9 MB, free: 9.48 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001398, allocations: 66.33 kB / 0.5717 GB, free: 39.71 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1588/0.1602, allocations: 80.69 MB / 0.6504 GB, free: 12.99 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40): time 0.002842/0.1631, allocations: 1.223 MB / 0.6516 GB, free: 11.76 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0002676/0.1634, allocations: 47.86 kB / 0.6517 GB, free: 11.71 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.492e-05/0.1635, allocations: 0 / 0.6517 GB, free: 11.71 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 9.667e-05/0.1636, allocations: 3.938 kB / 0.6517 GB, free: 11.71 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 9.376e-05/0.1637, allocations: 11.98 kB / 0.6517 GB, free: 11.7 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002137/0.164, allocations: 19.95 kB / 0.6517 GB, free: 11.68 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0007859/0.1648, allocations: 0.8466 MB / 0.6525 GB, free: 10.83 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 7.207e-05/0.1649, allocations: 4 kB / 0.6526 GB, free: 10.82 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004461/0.1653, allocations: 295.7 kB / 0.6528 GB, free: 10.54 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006586/0.166, allocations: 277.5 kB / 0.6531 GB, free: 10.26 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0001856/0.1662, allocations: 44 kB / 0.6531 GB, free: 10.22 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000151/0.1664, allocations: 48 kB / 0.6532 GB, free: 10.17 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0002757/0.1666, allocations: 253.8 kB / 0.6534 GB, free: 9.926 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0005011/0.1671, allocations: 282.9 kB / 0.6537 GB, free: 9.648 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0004881/0.1676, allocations: 454.5 kB / 0.6541 GB, free: 9.203 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.1677, allocations: 0 / 0.6541 GB, free: 9.203 MB / 0.4983 GB Notification: Performance of FrontEnd: time 4.167e-06/0.1677, allocations: 0 / 0.6541 GB, free: 9.203 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 2.371e-05/0.1677, allocations: 7.938 kB / 0.6541 GB, free: 9.195 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: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.003213/0.1709, allocations: 1.226 MB / 0.6553 GB, free: 7.914 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 5.193e-05/0.171, allocations: 11.89 kB / 0.6553 GB, free: 7.902 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001488/0.1711, allocations: 52.47 kB / 0.6554 GB, free: 7.852 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005818/0.1717, allocations: 311.8 kB / 0.6557 GB, free: 7.508 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.596e-05/0.1718, allocations: 57.38 kB / 0.6558 GB, free: 7.453 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001831/0.172, allocations: 112.1 kB / 0.6559 GB, free: 7.344 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001128/0.1731, allocations: 0.6236 MB / 0.6565 GB, free: 6.715 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.947e-05/0.1732, allocations: 24 kB / 0.6565 GB, free: 6.691 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.787e-05/0.1733, allocations: 23.94 kB / 0.6565 GB, free: 6.668 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.451e-05/0.1733, allocations: 12 kB / 0.6565 GB, free: 6.656 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007569/0.1741, allocations: 435.5 kB / 0.6569 GB, free: 6.23 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00117/0.1752, allocations: 0.7903 MB / 0.6577 GB, free: 5.391 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001543/0.1768, allocations: 0.9307 MB / 0.6586 GB, free: 4.445 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007171/0.1775, allocations: 475.6 kB / 0.6591 GB, free: 3.98 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 8.398e-05/0.1777, allocations: 20.94 kB / 0.6591 GB, free: 3.961 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.547e-05/0.1777, allocations: 43.56 kB / 0.6591 GB, free: 3.91 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=120): time 6.052e-06/0.1777, allocations: 0 / 0.6591 GB, free: 3.91 MB / 0.4983 GB Notification: Performance of matching and sorting (n=120): time 0.01152/0.1892, allocations: 2.912 MB / 0.662 GB, free: 0.9688 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.468e-05/0.1893, allocations: 64.41 kB / 0.662 GB, free: 0.8945 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001326/0.1895, allocations: 129.8 kB / 0.6622 GB, free: 0.7578 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 0.0001209/0.1896, allocations: 53.7 kB / 0.6622 GB, free: 0.6992 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 6.327e-05/0.1897, allocations: 102.7 kB / 0.6623 GB, free: 0.5938 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003962/0.1901, allocations: 488.9 kB / 0.6628 GB, free: 112 kB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004431/0.1905, allocations: 287.5 kB / 0.6631 GB, free: 15.82 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.1907, allocations: 310 kB / 0.6633 GB, free: 15.51 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009082/0.1916, allocations: 0.4996 MB / 0.6638 GB, free: 15.01 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001132/0.1927, allocations: 0.8317 MB / 0.6646 GB, free: 14.05 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00212/0.1949, allocations: 1.427 MB / 0.666 GB, free: 12.5 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.001e-05/0.1949, allocations: 4 kB / 0.666 GB, free: 12.49 MB / 0.5139 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004465/0.1994, allocations: 2 MB / 0.668 GB, free: 10.48 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 4.761e-05/0.1995, allocations: 8 kB / 0.668 GB, free: 10.48 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.683e-05/0.1995, allocations: 8 kB / 0.668 GB, free: 10.47 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002552/0.2021, allocations: 0.5744 MB / 0.6686 GB, free: 9.891 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001193/0.2033, allocations: 327.6 kB / 0.6689 GB, free: 9.57 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008868/0.2122, allocations: 5.045 MB / 0.6738 GB, free: 4.379 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007964/0.213, allocations: 114.8 kB / 0.6739 GB, free: 4.266 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001614/0.2132, allocations: 63.98 kB / 0.674 GB, free: 4.203 MB / 0.5139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (161): * Single equations (assignments): 160 * 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,39,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004097/0.2136, allocations: 234.3 kB / 0.6742 GB, free: 3.965 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001133/0.2137, allocations: 39.53 kB / 0.6742 GB, free: 3.926 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003584/0.2141, allocations: 128 kB / 0.6744 GB, free: 3.805 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.275e-05/0.2141, allocations: 7.922 kB / 0.6744 GB, free: 3.797 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.2141, allocations: 0 / 0.6744 GB, free: 3.797 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 8.425e-05/0.2142, allocations: 128.4 kB / 0.6745 GB, free: 3.652 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001341/0.2144, allocations: 51.95 kB / 0.6745 GB, free: 3.602 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004366/0.2148, allocations: 16 kB / 0.6746 GB, free: 3.586 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002283/0.215, allocations: 108.8 kB / 0.6747 GB, free: 3.48 MB / 0.5139 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006051/0.2211, allocations: 2.214 MB / 0.6768 GB, free: 1.254 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003162/0.2243, allocations: 2.079 MB / 0.6789 GB, free: 15.16 MB / 0.5295 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000903/0.2252, allocations: 0.5501 MB / 0.6794 GB, free: 14.61 MB / 0.5295 GB Notification: Performance of sorting global known variables: time 5.426e-05/0.2253, allocations: 83.27 kB / 0.6795 GB, free: 14.53 MB / 0.5295 GB Notification: Performance of Backend: time 5.11e-07/0.2253, allocations: 0 / 0.6795 GB, free: 14.53 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.003858/0.2292, allocations: 1.438 MB / 0.6809 GB, free: 13.06 MB / 0.5295 GB Notification: Performance of SimCode: time 0.006994/0.2362, allocations: 6 MB / 0.6867 GB, free: 7.008 MB / 0.5295 GB Notification: Performance of Templates: time 0.02238/0.2586, allocations: 12.39 MB / 0.6988 GB, free: 10.64 MB / 0.5452 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches