Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_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_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_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.00103/0.00103, allocations: 92.28 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.001271/0.001271, allocations: 172.6 kB / 17.56 MB, free: 6.184 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.313/1.313, allocations: 223.3 MB / 241.6 MB, free: 14.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9924/0.9924, allocations: 120.5 MB / 413.2 MB, free: 9.191 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003409/0.0003411, allocations: 8 kB / 0.4949 GB, free: 11.48 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5833/0.5836, allocations: 82.85 MB / 0.5758 GB, free: 41.34 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10): time 0.001201/0.5849, allocations: 0.9551 MB / 0.5767 GB, free: 40.57 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001887/0.5851, allocations: 39.62 kB / 0.5768 GB, free: 40.54 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.123e-05/0.5851, allocations: 0 / 0.5768 GB, free: 40.54 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 9.051e-05/0.5852, allocations: 7.922 kB / 0.5768 GB, free: 40.54 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 6.464e-05/0.5853, allocations: 11.2 kB / 0.5768 GB, free: 40.53 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001521/0.5855, allocations: 18.69 kB / 0.5768 GB, free: 40.52 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0002511/0.5857, allocations: 252 kB / 0.577 GB, free: 40.39 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.597e-05/0.5858, allocations: 6.547 kB / 0.577 GB, free: 40.39 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 7.841e-05/0.5859, allocations: 76.89 kB / 0.5771 GB, free: 40.36 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001276/0.586, allocations: 80.97 kB / 0.5772 GB, free: 40.3 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 4.242e-05/0.5861, allocations: 12.12 kB / 0.5772 GB, free: 40.3 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 3.326e-05/0.5861, allocations: 15.66 kB / 0.5772 GB, free: 40.3 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 7.454e-05/0.5862, allocations: 66.47 kB / 0.5773 GB, free: 40.26 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 8.904e-05/0.5863, allocations: 94.38 kB / 0.5774 GB, free: 40.18 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001282/0.5864, allocations: 119.3 kB / 0.5775 GB, free: 40.12 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.5864, allocations: 0 / 0.5775 GB, free: 40.12 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.613e-06/0.5864, allocations: 1.031 kB / 0.5775 GB, free: 40.12 MB / 462.3 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.5864, allocations: 0 / 0.5775 GB, free: 40.12 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.000883/0.5873, allocations: 0.4969 MB / 0.578 GB, free: 39.68 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.5874, allocations: 8.812 kB / 0.578 GB, free: 39.68 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.497e-05/0.5874, allocations: 17.25 kB / 0.578 GB, free: 39.67 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001721/0.5876, allocations: 202.3 kB / 0.5782 GB, free: 39.46 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.936e-05/0.5876, allocations: 16.66 kB / 0.5782 GB, free: 39.45 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.364e-05/0.5877, allocations: 32.56 kB / 0.5782 GB, free: 39.43 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002919/0.588, allocations: 179.7 kB / 0.5784 GB, free: 39.32 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/0.588, allocations: 2.969 kB / 0.5784 GB, free: 39.32 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.222e-05/0.588, allocations: 9.5 kB / 0.5784 GB, free: 39.31 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.588, allocations: 2.875 kB / 0.5784 GB, free: 39.31 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001801/0.5882, allocations: 108.7 kB / 0.5785 GB, free: 39.27 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003164/0.5886, allocations: 306.8 kB / 0.5788 GB, free: 38.98 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005083/0.5891, allocations: 283.6 kB / 0.5791 GB, free: 38.84 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001654/0.5892, allocations: 117.4 kB / 0.5792 GB, free: 38.79 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 2.013e-05/0.5893, allocations: 2.656 kB / 0.5792 GB, free: 38.79 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.444e-05/0.5893, allocations: 44.97 kB / 0.5793 GB, free: 38.74 MB / 462.3 MB Notification: Performance of pre-optimization done (n=30): time 1.413e-06/0.5893, allocations: 0 / 0.5793 GB, free: 38.74 MB / 462.3 MB Notification: Performance of matching and sorting (n=30): time 0.001657/0.591, allocations: 0.6324 MB / 0.5799 GB, free: 38.36 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.835e-05/0.591, allocations: 55 kB / 0.5799 GB, free: 38.29 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.239e-05/0.5911, allocations: 103.1 kB / 0.58 GB, free: 38.19 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 2.475e-05/0.5911, allocations: 39.55 kB / 0.5801 GB, free: 38.14 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 2.282e-05/0.5911, allocations: 83.89 kB / 0.5801 GB, free: 38.06 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 7.82e-05/0.5912, allocations: 124.4 kB / 0.5803 GB, free: 37.95 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.316e-05/0.5913, allocations: 50.03 kB / 0.5803 GB, free: 37.91 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.595e-05/0.5913, allocations: 329.4 kB / 0.5806 GB, free: 37.59 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000172/0.5915, allocations: 120.9 kB / 0.5807 GB, free: 37.54 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002095/0.5917, allocations: 217.7 kB / 0.5809 GB, free: 37.38 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004099/0.5921, allocations: 366.8 kB / 0.5813 GB, free: 37.15 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.5922, allocations: 4.875 kB / 0.5813 GB, free: 37.15 MB / 462.3 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001015/0.5932, allocations: 0.5246 MB / 0.5818 GB, free: 36.88 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.472e-05/0.5932, allocations: 9.516 kB / 0.5818 GB, free: 36.88 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/0.5932, allocations: 2.75 kB / 0.5818 GB, free: 36.88 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006699/0.5939, allocations: 143.8 kB / 0.582 GB, free: 36.81 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002861/0.5942, allocations: 78.12 kB / 0.582 GB, free: 36.8 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002144/0.5963, allocations: 2.016 MB / 0.584 GB, free: 35.11 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001582/0.5965, allocations: 27.28 kB / 0.584 GB, free: 35.09 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.868e-05/0.5966, allocations: 15.34 kB / 0.584 GB, free: 35.09 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.0001316/0.5967, allocations: 152.3 kB / 0.5842 GB, free: 34.95 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.746e-05/0.5967, allocations: 10.19 kB / 0.5842 GB, free: 34.94 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.831e-05/0.5968, allocations: 38.44 kB / 0.5842 GB, free: 34.91 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.5968, allocations: 2.5 kB / 0.5842 GB, free: 34.91 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.3e-05/0.5968, allocations: 6.531 kB / 0.5842 GB, free: 34.9 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.5969, allocations: 3.938 kB / 0.5842 GB, free: 34.9 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000263/0.5971, allocations: 298.4 kB / 0.5845 GB, free: 34.63 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.5971, allocations: 0 / 0.5845 GB, free: 34.63 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003634/0.5975, allocations: 70.25 kB / 0.5846 GB, free: 34.62 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005652/0.5981, allocations: 148.5 kB / 0.5847 GB, free: 34.55 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.323e-05/0.5981, allocations: 19.52 kB / 0.5848 GB, free: 34.54 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001969/0.6001, allocations: 2.001 MB / 0.5867 GB, free: 32.86 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.6001, allocations: 0.9062 kB / 0.5867 GB, free: 32.86 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001026/0.6011, allocations: 0.5647 MB / 0.5873 GB, free: 32.56 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 2.885e-05/0.6012, allocations: 93.83 kB / 0.5874 GB, free: 32.45 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.319e-05/0.6012, allocations: 14.52 kB / 0.5874 GB, free: 32.45 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.6013, allocations: 5.812 kB / 0.5874 GB, free: 32.44 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.341e-05/0.6014, allocations: 21.53 kB / 0.5874 GB, free: 32.43 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.886e-05/0.6014, allocations: 10.72 kB / 0.5874 GB, free: 32.43 MB / 462.3 MB Notification: Performance of sorting global known variables: time 2.488e-05/0.6014, allocations: 80.73 kB / 0.5875 GB, free: 32.35 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6014, allocations: 1.156 kB / 0.5875 GB, free: 32.35 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003606/0.6018, allocations: 74.66 kB / 0.5876 GB, free: 32.33 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.0001219/0.6019, allocations: 117.2 kB / 0.5877 GB, free: 32.23 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0009799/0.6029, allocations: 0.4921 MB / 0.5881 GB, free: 31.96 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.6029, allocations: 0.625 kB / 0.5881 GB, free: 31.96 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0005653/0.6035, allocations: 333.8 kB / 0.5885 GB, free: 31.75 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002135/0.6037, allocations: 16.34 kB / 0.5885 GB, free: 31.74 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001855/0.6056, allocations: 1.802 MB / 0.5902 GB, free: 30.26 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000178/0.6058, allocations: 0.7421 MB / 0.591 GB, free: 29.54 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0001422/0.6059, allocations: 69.84 kB / 0.591 GB, free: 29.51 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.497e-05/0.606, allocations: 16.41 kB / 0.591 GB, free: 29.5 MB / 462.3 MB Notification: Performance of SimCode: time 4.41e-07/0.606, allocations: 0 / 0.591 GB, free: 29.5 MB / 462.3 MB Notification: Performance of Templates: time 0.005599/0.6116, allocations: 2.639 MB / 0.5936 GB, free: 27.29 MB / 462.3 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.sim & ./ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_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_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches