Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.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_10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.v.10..|der.v.1..|der.v.2..|der.v.3..|der.v.4..|der.v.5..|der.xm.10..|der.xm.1..|der.xm.2..|der.xm.3..|der.xm.4..|der.xm.5..|time|time|v.10.|v.1.|v.2.|v.3.|v.4.|v.5.|xm.10.|xm.1.|xm.2.|xm.3.|xm.4.|xm.5.|xs.10.|xs.1.|xs.2.|xs.3.|xs.4.|xs.5.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10") translateModel(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.v.10..|der.v.1..|der.v.2..|der.v.3..|der.v.4..|der.v.5..|der.xm.10..|der.xm.1..|der.xm.2..|der.xm.3..|der.xm.4..|der.xm.5..|time|time|v.10.|v.1.|v.2.|v.3.|v.4.|v.5.|xm.10.|xm.1.|xm.2.|xm.3.|xm.4.|xm.5.|xs.10.|xs.1.|xs.2.|xs.3.|xs.4.|xs.5.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009834/0.0009837, allocations: 92.84 kB / 16.65 MB, free: 6.535 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.001108/0.001108, allocations: 177.2 kB / 17.56 MB, free: 6.18 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.363/1.363, allocations: 223.3 MB / 241.6 MB, free: 14.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.9258/0.9258, allocations: 120.5 MB / 413.2 MB, free: 9.207 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004/0.0004, allocations: 8 kB / 0.4949 GB, free: 11.52 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6156/0.616, allocations: 82.85 MB / 0.5758 GB, free: 41.41 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10): time 0.001464/0.6175, allocations: 0.9555 MB / 0.5767 GB, free: 40.64 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002164/0.6178, allocations: 42.22 kB / 0.5768 GB, free: 40.61 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.421e-05/0.6178, allocations: 1.062 kB / 0.5768 GB, free: 40.61 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 8.84e-05/0.6179, allocations: 3.984 kB / 0.5768 GB, free: 40.6 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 7.293e-05/0.618, allocations: 11.02 kB / 0.5768 GB, free: 40.59 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001828/0.6182, allocations: 20.03 kB / 0.5768 GB, free: 40.58 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0002767/0.6185, allocations: 248 kB / 0.577 GB, free: 40.46 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 6.246e-05/0.6186, allocations: 10.42 kB / 0.577 GB, free: 40.45 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001251/0.6187, allocations: 77.75 kB / 0.5771 GB, free: 40.42 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001661/0.6189, allocations: 80.91 kB / 0.5772 GB, free: 40.37 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 5.256e-05/0.6189, allocations: 15.31 kB / 0.5772 GB, free: 40.36 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 4.047e-05/0.619, allocations: 10.97 kB / 0.5772 GB, free: 40.36 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 8.956e-05/0.6191, allocations: 62.89 kB / 0.5773 GB, free: 40.32 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001211/0.6192, allocations: 98.64 kB / 0.5774 GB, free: 40.25 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001457/0.6193, allocations: 119.5 kB / 0.5775 GB, free: 40.18 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.6194, allocations: 0 / 0.5775 GB, free: 40.18 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.154e-06/0.6194, allocations: 0 / 0.5775 GB, free: 40.18 MB / 462.3 MB Notification: Performance of Transformations before backend: time 5.631e-06/0.6194, allocations: 5.25 kB / 0.5775 GB, free: 40.18 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.000976/0.6204, allocations: 0.4965 MB / 0.578 GB, free: 39.73 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.6204, allocations: 8.969 kB / 0.578 GB, free: 39.73 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.362e-05/0.6205, allocations: 16.47 kB / 0.578 GB, free: 39.73 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001963/0.6207, allocations: 206.7 kB / 0.5782 GB, free: 39.5 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.777e-05/0.6207, allocations: 12 kB / 0.5782 GB, free: 39.5 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.062e-05/0.6208, allocations: 32.41 kB / 0.5782 GB, free: 39.48 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003075/0.6211, allocations: 177.1 kB / 0.5784 GB, free: 39.38 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.118e-05/0.6211, allocations: 3.125 kB / 0.5784 GB, free: 39.38 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.363e-05/0.6212, allocations: 9.375 kB / 0.5784 GB, free: 39.37 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.6212, allocations: 7.438 kB / 0.5784 GB, free: 39.36 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001895/0.6214, allocations: 108.7 kB / 0.5785 GB, free: 39.32 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003686/0.6217, allocations: 305.6 kB / 0.5788 GB, free: 39.04 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005278/0.6223, allocations: 273.3 kB / 0.5791 GB, free: 38.91 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001711/0.6225, allocations: 124.9 kB / 0.5792 GB, free: 38.85 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.846e-05/0.6225, allocations: 2.781 kB / 0.5792 GB, free: 38.85 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.756e-05/0.6225, allocations: 44.84 kB / 0.5793 GB, free: 38.8 MB / 462.3 MB Notification: Performance of pre-optimization done (n=30): time 1.643e-06/0.6225, allocations: 0 / 0.5793 GB, free: 38.8 MB / 462.3 MB Notification: Performance of matching and sorting (n=30): time 0.001699/0.6242, allocations: 0.6331 MB / 0.5799 GB, free: 38.41 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.127e-05/0.6243, allocations: 54.22 kB / 0.5799 GB, free: 38.35 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.047e-05/0.6243, allocations: 103.9 kB / 0.58 GB, free: 38.25 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 2.414e-05/0.6244, allocations: 35.17 kB / 0.5801 GB, free: 38.21 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 2.608e-05/0.6244, allocations: 83.48 kB / 0.5801 GB, free: 38.12 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 7.842e-05/0.6245, allocations: 124 kB / 0.5803 GB, free: 38.01 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.572e-05/0.6245, allocations: 51.47 kB / 0.5803 GB, free: 37.97 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 6.002e-05/0.6246, allocations: 328.3 kB / 0.5806 GB, free: 37.65 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001907/0.6248, allocations: 125.7 kB / 0.5807 GB, free: 37.6 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002261/0.625, allocations: 217.6 kB / 0.5809 GB, free: 37.44 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004559/0.6255, allocations: 366.8 kB / 0.5813 GB, free: 37.21 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.65e-06/0.6255, allocations: 4.844 kB / 0.5813 GB, free: 37.21 MB / 462.3 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001113/0.6266, allocations: 0.5237 MB / 0.5818 GB, free: 36.94 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/0.6267, allocations: 6.469 kB / 0.5818 GB, free: 36.94 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/0.6267, allocations: 2.781 kB / 0.5818 GB, free: 36.94 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007039/0.6274, allocations: 147.3 kB / 0.582 GB, free: 36.87 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002894/0.6277, allocations: 82.28 kB / 0.582 GB, free: 36.86 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00219/0.6299, allocations: 2.017 MB / 0.584 GB, free: 35.17 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001638/0.6301, allocations: 27.25 kB / 0.584 GB, free: 35.15 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.801e-05/0.6301, allocations: 15.38 kB / 0.584 GB, free: 35.14 MB / 462.3 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (41): * Single equations (assignments): 40 * 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001376/0.6302, allocations: 144.1 kB / 0.5842 GB, free: 35.01 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.065e-05/0.6303, allocations: 10.22 kB / 0.5842 GB, free: 35 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.228e-05/0.6304, allocations: 38.59 kB / 0.5842 GB, free: 34.97 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.6304, allocations: 10.58 kB / 0.5842 GB, free: 34.96 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.1e-05/0.6304, allocations: 2.5 kB / 0.5842 GB, free: 34.96 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.6304, allocations: 0 / 0.5842 GB, free: 34.96 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00026/0.6307, allocations: 298.4 kB / 0.5845 GB, free: 34.7 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.6307, allocations: 3.938 kB / 0.5845 GB, free: 34.69 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003682/0.6311, allocations: 70.19 kB / 0.5846 GB, free: 34.68 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005965/0.6317, allocations: 144.6 kB / 0.5847 GB, free: 34.61 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.936e-05/0.6317, allocations: 19.48 kB / 0.5848 GB, free: 34.6 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00207/0.6338, allocations: 1.997 MB / 0.5867 GB, free: 32.93 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.6338, allocations: 5 kB / 0.5867 GB, free: 32.92 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001067/0.6349, allocations: 0.571 MB / 0.5873 GB, free: 32.62 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 2.919e-05/0.6349, allocations: 92.64 kB / 0.5874 GB, free: 32.51 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.588e-05/0.635, allocations: 15.98 kB / 0.5874 GB, free: 32.5 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.6351, allocations: 1.375 kB / 0.5874 GB, free: 32.5 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.07e-05/0.6352, allocations: 22.75 kB / 0.5874 GB, free: 32.49 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.856e-05/0.6352, allocations: 13.41 kB / 0.5874 GB, free: 32.48 MB / 462.3 MB Notification: Performance of sorting global known variables: time 2.206e-05/0.6352, allocations: 77.47 kB / 0.5875 GB, free: 32.41 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6352, allocations: 0 / 0.5875 GB, free: 32.41 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003555/0.6356, allocations: 76.25 kB / 0.5876 GB, free: 32.39 MB / 462.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 20 (xm[1],xm[2],xm[3],xm[4],xm[5],xm[6],xm[7],xm[8],xm[9],xm[10],v[1],v[2],v[3],v[4],v[5],v[6],v[7],v[8],v[9],v[10]) * 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 (21): * Single equations (assignments): 20 * 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001211/0.6357, allocations: 119.3 kB / 0.5877 GB, free: 32.29 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0009535/0.6367, allocations: 0.4923 MB / 0.5881 GB, free: 32.02 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.6367, allocations: 0 / 0.5881 GB, free: 32.02 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0005527/0.6372, allocations: 329.9 kB / 0.5885 GB, free: 31.81 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002135/0.6375, allocations: 13.03 kB / 0.5885 GB, free: 31.8 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001907/0.6394, allocations: 1.805 MB / 0.5902 GB, free: 30.32 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000218/0.6396, allocations: 0.7427 MB / 0.591 GB, free: 29.6 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.000161/0.6398, allocations: 69.84 kB / 0.591 GB, free: 29.57 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.875e-05/0.6398, allocations: 16.41 kB / 0.591 GB, free: 29.56 MB / 462.3 MB Notification: Performance of SimCode: time 3.21e-07/0.6398, allocations: 0 / 0.591 GB, free: 29.56 MB / 462.3 MB Notification: Performance of Templates: time 0.00537/0.6452, allocations: 2.64 MB / 0.5936 GB, free: 27.31 MB / 462.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches