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.001441/0.001441, allocations: 117.2 kB / 16.63 MB, free: 6.809 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.001601/0.001601, allocations: 194 kB / 17.55 MB, free: 5.922 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.193/1.193, allocations: 222.9 MB / 241.2 MB, free: 13.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8319/0.8319, allocations: 119.3 MB / 410.7 MB, free: 9.746 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001128/0.001128, allocations: 67.88 kB / 0.4904 GB, free: 14.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4426/0.4437, allocations: 80.67 MB / 0.5692 GB, free: 43.1 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10): time 0.001967/0.4458, allocations: 1.294 MB / 0.5705 GB, free: 42.09 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001644/0.4459, allocations: 42.47 kB / 0.5705 GB, free: 42.05 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.494e-05/0.446, allocations: 3.938 kB / 0.5705 GB, free: 42.05 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 7.561e-05/0.4461, allocations: 0 / 0.5705 GB, free: 42.05 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 5.977e-05/0.4461, allocations: 13.02 kB / 0.5705 GB, free: 42.04 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001315/0.4463, allocations: 17.38 kB / 0.5706 GB, free: 42.03 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.000204/0.4465, allocations: 234.2 kB / 0.5708 GB, free: 41.91 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.438e-05/0.4465, allocations: 2.656 kB / 0.5708 GB, free: 41.91 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 7.418e-05/0.4466, allocations: 90.64 kB / 0.5709 GB, free: 41.87 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001071/0.4467, allocations: 76.88 kB / 0.5709 GB, free: 41.82 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 3.348e-05/0.4468, allocations: 11.88 kB / 0.571 GB, free: 41.82 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 2.878e-05/0.4468, allocations: 11.25 kB / 0.571 GB, free: 41.82 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 6.368e-05/0.4469, allocations: 62.23 kB / 0.571 GB, free: 41.78 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 7.2e-05/0.4469, allocations: 73.16 kB / 0.5711 GB, free: 41.73 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001132/0.4471, allocations: 116.9 kB / 0.5712 GB, free: 41.67 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.4471, allocations: 0 / 0.5712 GB, free: 41.67 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.302e-06/0.4471, allocations: 7.938 kB / 0.5712 GB, free: 41.66 MB / 462.3 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.4471, allocations: 0 / 0.5712 GB, free: 41.66 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.000826/0.4479, allocations: 0.5287 MB / 0.5717 GB, free: 41.2 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.4479, allocations: 13.27 kB / 0.5717 GB, free: 41.2 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.617e-05/0.448, allocations: 13.09 kB / 0.5718 GB, free: 41.2 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001546/0.4482, allocations: 197.6 kB / 0.5719 GB, free: 40.98 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.4482, allocations: 16.53 kB / 0.572 GB, free: 40.98 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.921e-05/0.4482, allocations: 36.11 kB / 0.572 GB, free: 40.96 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002549/0.4485, allocations: 185.5 kB / 0.5722 GB, free: 40.84 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.4485, allocations: 1.562 kB / 0.5722 GB, free: 40.84 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.792e-05/0.4485, allocations: 9.312 kB / 0.5722 GB, free: 40.83 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.373e-06/0.4485, allocations: 4.125 kB / 0.5722 GB, free: 40.83 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001571/0.4487, allocations: 108.4 kB / 0.5723 GB, free: 40.79 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002919/0.449, allocations: 309.9 kB / 0.5726 GB, free: 40.51 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004726/0.4495, allocations: 273.5 kB / 0.5728 GB, free: 40.38 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001497/0.4496, allocations: 117.7 kB / 0.573 GB, free: 40.32 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 2.376e-05/0.4497, allocations: 7.062 kB / 0.573 GB, free: 40.32 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.272e-05/0.4497, allocations: 40.06 kB / 0.573 GB, free: 40.27 MB / 462.3 MB Notification: Performance of pre-optimization done (n=30): time 1.213e-06/0.4497, allocations: 3.938 kB / 0.573 GB, free: 40.27 MB / 462.3 MB Notification: Performance of matching and sorting (n=30): time 0.001523/0.4512, allocations: 0.6307 MB / 0.5736 GB, free: 39.89 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.222e-05/0.4513, allocations: 54.09 kB / 0.5737 GB, free: 39.82 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.753e-05/0.4513, allocations: 103.4 kB / 0.5738 GB, free: 39.72 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 2.094e-05/0.4513, allocations: 35.36 kB / 0.5738 GB, free: 39.68 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 1.846e-05/0.4514, allocations: 86.95 kB / 0.5739 GB, free: 39.59 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 7.094e-05/0.4514, allocations: 120.5 kB / 0.574 GB, free: 39.48 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.637e-05/0.4515, allocations: 84.47 kB / 0.5741 GB, free: 39.43 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.074e-05/0.4516, allocations: 328.5 kB / 0.5744 GB, free: 39.11 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000174/0.4518, allocations: 126.3 kB / 0.5745 GB, free: 39.05 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001991/0.452, allocations: 217.6 kB / 0.5747 GB, free: 38.89 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003843/0.4524, allocations: 362.3 kB / 0.5751 GB, free: 38.67 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.4524, allocations: 5.281 kB / 0.5751 GB, free: 38.67 MB / 462.3 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.000886/0.4533, allocations: 0.5287 MB / 0.5756 GB, free: 38.39 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.4533, allocations: 5.75 kB / 0.5756 GB, free: 38.39 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.4533, allocations: 2.562 kB / 0.5756 GB, free: 38.39 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006231/0.4539, allocations: 147.2 kB / 0.5757 GB, free: 38.33 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002413/0.4542, allocations: 86.12 kB / 0.5758 GB, free: 38.31 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001975/0.4562, allocations: 2.159 MB / 0.5779 GB, free: 36.49 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001351/0.4563, allocations: 22.81 kB / 0.578 GB, free: 36.47 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.261e-05/0.4563, allocations: 15.56 kB / 0.578 GB, free: 36.47 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 9.674e-05/0.4564, allocations: 146.7 kB / 0.5781 GB, free: 36.33 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.649e-05/0.4565, allocations: 17.08 kB / 0.5781 GB, free: 36.32 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.687e-05/0.4565, allocations: 34.53 kB / 0.5782 GB, free: 36.29 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.4565, allocations: 3.594 kB / 0.5782 GB, free: 36.29 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/0.4566, allocations: 1.75 kB / 0.5782 GB, free: 36.29 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.4566, allocations: 1.625 kB / 0.5782 GB, free: 36.29 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002246/0.4568, allocations: 304.9 kB / 0.5785 GB, free: 36.01 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.4568, allocations: 3.938 kB / 0.5785 GB, free: 36.01 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003605/0.4572, allocations: 78.31 kB / 0.5785 GB, free: 35.98 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005388/0.4577, allocations: 153.8 kB / 0.5787 GB, free: 35.91 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.943e-05/0.4578, allocations: 14.86 kB / 0.5787 GB, free: 35.9 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001881/0.4596, allocations: 2.134 MB / 0.5808 GB, free: 34.11 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.4597, allocations: 0.9375 kB / 0.5808 GB, free: 34.11 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009833/0.4606, allocations: 0.5684 MB / 0.5813 GB, free: 33.8 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 2.21e-05/0.4607, allocations: 89.58 kB / 0.5814 GB, free: 33.7 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.562e-05/0.4607, allocations: 18.36 kB / 0.5814 GB, free: 33.69 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.875e-05/0.4608, allocations: 5.875 kB / 0.5814 GB, free: 33.69 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.225e-05/0.4609, allocations: 22.09 kB / 0.5815 GB, free: 33.68 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-05/0.4609, allocations: 9.547 kB / 0.5815 GB, free: 33.67 MB / 462.3 MB Notification: Performance of sorting global known variables: time 2.452e-05/0.4609, allocations: 82.03 kB / 0.5815 GB, free: 33.59 MB / 462.3 MB Notification: Performance of sort global known variables: time 1e-07/0.4609, allocations: 0 / 0.5815 GB, free: 33.59 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003528/0.4613, allocations: 75.97 kB / 0.5816 GB, free: 33.58 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.0001269/0.4614, allocations: 115.4 kB / 0.5817 GB, free: 33.48 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.00106/0.4625, allocations: 0.5405 MB / 0.5823 GB, free: 33.2 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.4625, allocations: 4 kB / 0.5823 GB, free: 33.19 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0005202/0.463, allocations: 327.5 kB / 0.5826 GB, free: 32.99 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001903/0.4632, allocations: 23.72 kB / 0.5826 GB, free: 32.97 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001589/0.4648, allocations: 1.517 MB / 0.5841 GB, free: 31.75 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001732/0.465, allocations: 0.7439 MB / 0.5848 GB, free: 31.03 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0001273/0.4652, allocations: 65 kB / 0.5849 GB, free: 31 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.145e-05/0.4652, allocations: 20.28 kB / 0.5849 GB, free: 30.99 MB / 462.3 MB Notification: Performance of SimCode: time 5.31e-07/0.4652, allocations: 0 / 0.5849 GB, free: 30.99 MB / 462.3 MB Notification: Performance of Templates: time 0.004987/0.4702, allocations: 2.757 MB / 0.5876 GB, free: 29.66 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