Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.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_20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.v.1..|der.v.20..|der.v.2..|der.v.3..|der.v.4..|der.v.5..|der.xm.1..|der.xm.20..|der.xm.2..|der.xm.3..|der.xm.4..|der.xm.5..|time|time|v.1.|v.20.|v.2.|v.3.|v.4.|v.5.|xm.1.|xm.20.|xm.2.|xm.3.|xm.4.|xm.5.|xs.1.|xs.20.|xs.2.|xs.3.|xs.4.|xs.5.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20") translateModel(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.v.1..|der.v.20..|der.v.2..|der.v.3..|der.v.4..|der.v.5..|der.xm.1..|der.xm.20..|der.xm.2..|der.xm.3..|der.xm.4..|der.xm.5..|time|time|v.1.|v.20.|v.2.|v.3.|v.4.|v.5.|xm.1.|xm.20.|xm.2.|xm.3.|xm.4.|xm.5.|xs.1.|xs.20.|xs.2.|xs.3.|xs.4.|xs.5.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007985/0.0007986, allocations: 90.72 kB / 16.31 MB, free: 5.559 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.0008293/0.0008293, allocations: 183.6 kB / 17.21 MB, free: 5.473 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.11/1.11, allocations: 223.3 MB / 241.2 MB, free: 14.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7167/0.7167, allocations: 120.5 MB / 412.8 MB, free: 9.285 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002368/0.0002368, allocations: 11.98 kB / 0.4943 GB, free: 11.84 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4029/0.4031, allocations: 82.85 MB / 0.5752 GB, free: 41.33 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20): time 0.0009438/0.4041, allocations: 0.9453 MB / 0.5761 GB, free: 40.57 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001455/0.4043, allocations: 38.89 kB / 0.5761 GB, free: 40.54 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.349e-05/0.4043, allocations: 5.406 kB / 0.5761 GB, free: 40.54 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 6.344e-05/0.4044, allocations: 0 / 0.5761 GB, free: 40.54 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 4.346e-05/0.4044, allocations: 10.89 kB / 0.5761 GB, free: 40.53 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001191/0.4046, allocations: 20.38 kB / 0.5762 GB, free: 40.52 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0002907/0.4049, allocations: 391.3 kB / 0.5765 GB, free: 40.29 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.623e-05/0.4049, allocations: 2.531 kB / 0.5765 GB, free: 40.29 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000145/0.4051, allocations: 153 kB / 0.5767 GB, free: 40.23 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002078/0.4053, allocations: 154.8 kB / 0.5768 GB, free: 40.14 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 5.721e-05/0.4053, allocations: 22.09 kB / 0.5769 GB, free: 40.14 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 4.947e-05/0.4054, allocations: 26.69 kB / 0.5769 GB, free: 40.14 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 9.49e-05/0.4055, allocations: 125.7 kB / 0.577 GB, free: 40.06 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 6.294e-05/0.4056, allocations: 68.2 kB / 0.5771 GB, free: 40.01 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001305/0.4057, allocations: 181.7 kB / 0.5772 GB, free: 39.92 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.4057, allocations: 0 / 0.5772 GB, free: 39.92 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.152e-06/0.4057, allocations: 0 / 0.5772 GB, free: 39.92 MB / 462.3 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.4057, allocations: 3.938 kB / 0.5772 GB, free: 39.91 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001145/0.4069, allocations: 0.7238 MB / 0.5779 GB, free: 39.36 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.055e-05/0.4069, allocations: 8.594 kB / 0.578 GB, free: 39.36 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.974e-05/0.407, allocations: 27.42 kB / 0.578 GB, free: 39.35 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002011/0.4072, allocations: 237.9 kB / 0.5782 GB, free: 39.12 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.171e-05/0.4072, allocations: 26.66 kB / 0.5782 GB, free: 39.11 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.846e-05/0.4073, allocations: 60.16 kB / 0.5783 GB, free: 39.08 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004295/0.4077, allocations: 325 kB / 0.5786 GB, free: 38.89 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.254e-05/0.4078, allocations: 12.77 kB / 0.5786 GB, free: 38.88 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.783e-05/0.4078, allocations: 14.03 kB / 0.5786 GB, free: 38.87 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.4078, allocations: 10.67 kB / 0.5786 GB, free: 38.87 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002914/0.4081, allocations: 216 kB / 0.5788 GB, free: 38.78 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004485/0.4086, allocations: 473.8 kB / 0.5793 GB, free: 38.41 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006598/0.4092, allocations: 0.489 MB / 0.5798 GB, free: 38.18 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002912/0.4095, allocations: 236.2 kB / 0.58 GB, free: 38.07 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 3.545e-05/0.4096, allocations: 6.156 kB / 0.58 GB, free: 38.07 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.423e-05/0.4096, allocations: 41.94 kB / 0.58 GB, free: 38.02 MB / 462.3 MB Notification: Performance of pre-optimization done (n=60): time 1.493e-06/0.4096, allocations: 0 / 0.58 GB, free: 38.02 MB / 462.3 MB Notification: Performance of matching and sorting (n=60): time 0.003046/0.4127, allocations: 1.244 MB / 0.5813 GB, free: 37.35 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.384e-05/0.4127, allocations: 57.5 kB / 0.5813 GB, free: 37.29 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.403e-05/0.4127, allocations: 118 kB / 0.5814 GB, free: 37.17 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 3.193e-05/0.4128, allocations: 44.42 kB / 0.5815 GB, free: 37.12 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 2.013e-05/0.4128, allocations: 89.14 kB / 0.5816 GB, free: 37.03 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001127/0.4129, allocations: 244.3 kB / 0.5818 GB, free: 36.82 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.831e-05/0.413, allocations: 19.81 kB / 0.5818 GB, free: 36.8 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.109e-05/0.413, allocations: 348.9 kB / 0.5821 GB, free: 36.46 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003246/0.4134, allocations: 253.9 kB / 0.5824 GB, free: 36.36 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003817/0.4137, allocations: 422.3 kB / 0.5828 GB, free: 36.05 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004038/0.4141, allocations: 319.7 kB / 0.5831 GB, free: 35.91 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.4142, allocations: 5.25 kB / 0.5831 GB, free: 35.9 MB / 462.3 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001595/0.4158, allocations: 1.003 MB / 0.5841 GB, free: 35.41 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.4158, allocations: 9.875 kB / 0.5841 GB, free: 35.41 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.4158, allocations: 4.594 kB / 0.5841 GB, free: 35.41 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001/0.4168, allocations: 294.5 kB / 0.5844 GB, free: 35.28 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000446/0.4173, allocations: 164 kB / 0.5845 GB, free: 35.25 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00313/0.4204, allocations: 2.899 MB / 0.5874 GB, free: 33.14 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002059/0.4206, allocations: 53.31 kB / 0.5874 GB, free: 33.11 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.806e-05/0.4207, allocations: 34.66 kB / 0.5874 GB, free: 33.09 MB / 462.3 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (81): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 19} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001221/0.4208, allocations: 173.6 kB / 0.5876 GB, free: 32.94 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.514e-05/0.4208, allocations: 21.81 kB / 0.5876 GB, free: 32.93 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001464/0.421, allocations: 64.41 kB / 0.5877 GB, free: 32.87 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/0.421, allocations: 6.312 kB / 0.5877 GB, free: 32.87 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.174e-05/0.421, allocations: 18.48 kB / 0.5877 GB, free: 32.85 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.421, allocations: 5.234 kB / 0.5877 GB, free: 32.85 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000396/0.4214, allocations: 450.1 kB / 0.5881 GB, free: 32.51 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.4214, allocations: 0 / 0.5881 GB, free: 32.51 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000611/0.422, allocations: 132.8 kB / 0.5883 GB, free: 32.48 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008777/0.4229, allocations: 297.6 kB / 0.5886 GB, free: 32.21 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.542e-05/0.423, allocations: 27.97 kB / 0.5886 GB, free: 32.18 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002732/0.4257, allocations: 2.885 MB / 0.5914 GB, free: 29.16 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.4257, allocations: 0 / 0.5914 GB, free: 29.16 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001431/0.4272, allocations: 1.124 MB / 0.5925 GB, free: 28.02 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 2.585e-05/0.4272, allocations: 112.6 kB / 0.5926 GB, free: 27.89 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.056e-05/0.4273, allocations: 23.98 kB / 0.5926 GB, free: 27.87 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001448/0.4274, allocations: 12 kB / 0.5926 GB, free: 27.86 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.324e-05/0.4275, allocations: 44.48 kB / 0.5927 GB, free: 27.81 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.526e-05/0.4275, allocations: 16 kB / 0.5927 GB, free: 27.8 MB / 462.3 MB Notification: Performance of sorting global known variables: time 1.583e-05/0.4275, allocations: 83.27 kB / 0.5928 GB, free: 27.71 MB / 462.3 MB Notification: Performance of sort global known variables: time 8e-08/0.4275, allocations: 4 kB / 0.5928 GB, free: 27.71 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003565/0.4279, allocations: 144 kB / 0.5929 GB, free: 27.57 MB / 462.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 40 (xm[1],xm[2],xm[3],xm[4],xm[5],xm[6],xm[7],xm[8],xm[9],xm[10],xm[11],xm[12],xm[13],xm[14],xm[15],xm[16],xm[17],xm[18],xm[19],xm[20],v[1],v[2],v[3],v[4],v[5],v[6],v[7],v[8],v[9],v[10],v[11],v[12],v[13],v[14],v[15],v[16],v[17],v[18],v[19],v[20]) * 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 (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 19} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.383e-05/0.428, allocations: 135.1 kB / 0.593 GB, free: 27.43 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.001228/0.4292, allocations: 0.8875 MB / 0.5939 GB, free: 26.53 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.4292, allocations: 0 / 0.5939 GB, free: 26.53 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0007807/0.43, allocations: 0.5566 MB / 0.5945 GB, free: 25.96 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000193/0.4302, allocations: 20 kB / 0.5945 GB, free: 25.94 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002648/0.4329, allocations: 3.491 MB / 0.5979 GB, free: 22.41 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001656/0.4331, allocations: 0.8091 MB / 0.5987 GB, free: 21.58 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0002318/0.4333, allocations: 143.1 kB / 0.5988 GB, free: 21.45 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.706e-05/0.4334, allocations: 27.44 kB / 0.5988 GB, free: 21.42 MB / 462.3 MB Notification: Performance of SimCode: time 3e-07/0.4334, allocations: 0 / 0.5988 GB, free: 21.42 MB / 462.3 MB Notification: Performance of Templates: time 0.006153/0.4395, allocations: 4.894 MB / 0.6036 GB, free: 16.56 MB / 462.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches