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.001625/0.001624, allocations: 110.2 kB / 17.17 MB, free: 6.344 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.002225/0.002226, allocations: 198.9 kB / 18.08 MB, free: 5.441 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.376/1.376, allocations: 222.9 MB / 241.8 MB, free: 13.8 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.076/1.076, allocations: 119.3 MB / 411.2 MB, free: 9.793 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 67.88 kB / 0.4909 GB, free: 14.22 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5854/0.5866, allocations: 80.68 MB / 0.5697 GB, free: 42.97 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10): time 0.002299/0.589, allocations: 1.29 MB / 0.571 GB, free: 41.96 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001807/0.5892, allocations: 42.42 kB / 0.571 GB, free: 41.93 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.896e-05/0.5892, allocations: 0 / 0.571 GB, free: 41.93 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 8.533e-05/0.5893, allocations: 5.156 kB / 0.571 GB, free: 41.93 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 5.997e-05/0.5894, allocations: 12.8 kB / 0.571 GB, free: 41.92 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001446/0.5895, allocations: 24.62 kB / 0.571 GB, free: 41.9 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0002447/0.5898, allocations: 243.7 kB / 0.5713 GB, free: 41.78 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.231e-05/0.5898, allocations: 6.172 kB / 0.5713 GB, free: 41.78 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 8.385e-05/0.5899, allocations: 85.69 kB / 0.5714 GB, free: 41.74 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000123/0.5901, allocations: 77.47 kB / 0.5714 GB, free: 41.69 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 3.8e-05/0.5901, allocations: 10.91 kB / 0.5714 GB, free: 41.69 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 3.719e-05/0.5901, allocations: 11.12 kB / 0.5714 GB, free: 41.69 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 7.953e-05/0.5902, allocations: 63.3 kB / 0.5715 GB, free: 41.65 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 8.458e-05/0.5903, allocations: 73.12 kB / 0.5716 GB, free: 41.61 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 9.843e-05/0.5904, allocations: 92.16 kB / 0.5717 GB, free: 41.56 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.5904, allocations: 4 kB / 0.5717 GB, free: 41.55 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.082e-06/0.5904, allocations: 0 / 0.5717 GB, free: 41.55 MB / 462.3 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.5904, allocations: 1.062 kB / 0.5717 GB, free: 41.55 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.0008632/0.5913, allocations: 0.5273 MB / 0.5722 GB, free: 41.09 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.5914, allocations: 13.34 kB / 0.5722 GB, free: 41.09 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.031e-05/0.5914, allocations: 13.09 kB / 0.5722 GB, free: 41.09 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001687/0.5916, allocations: 194.4 kB / 0.5724 GB, free: 40.88 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.5916, allocations: 16.12 kB / 0.5724 GB, free: 40.87 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.366e-05/0.5917, allocations: 35.84 kB / 0.5724 GB, free: 40.85 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002928/0.592, allocations: 189.8 kB / 0.5726 GB, free: 40.73 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.82e-05/0.592, allocations: 2.188 kB / 0.5726 GB, free: 40.73 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.203e-05/0.592, allocations: 9.375 kB / 0.5726 GB, free: 40.72 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.592, allocations: 2.531 kB / 0.5726 GB, free: 40.72 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001894/0.5922, allocations: 104.9 kB / 0.5727 GB, free: 40.68 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003352/0.5926, allocations: 315 kB / 0.573 GB, free: 40.4 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00051/0.5931, allocations: 265.7 kB / 0.5733 GB, free: 40.27 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001657/0.5933, allocations: 128.9 kB / 0.5734 GB, free: 40.21 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 2.459e-05/0.5933, allocations: 7.906 kB / 0.5734 GB, free: 40.2 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.613e-05/0.5933, allocations: 35.78 kB / 0.5735 GB, free: 40.16 MB / 462.3 MB Notification: Performance of pre-optimization done (n=30): time 1.483e-06/0.5933, allocations: 0 / 0.5735 GB, free: 40.16 MB / 462.3 MB Notification: Performance of matching and sorting (n=30): time 0.001671/0.595, allocations: 0.6272 MB / 0.5741 GB, free: 39.79 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.965e-05/0.595, allocations: 54.62 kB / 0.5741 GB, free: 39.72 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.394e-05/0.5951, allocations: 103.8 kB / 0.5742 GB, free: 39.62 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 2.223e-05/0.5951, allocations: 35.52 kB / 0.5743 GB, free: 39.58 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 2.508e-05/0.5951, allocations: 87.36 kB / 0.5743 GB, free: 39.49 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 8.931e-05/0.5952, allocations: 122.9 kB / 0.5745 GB, free: 39.38 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001082/0.5954, allocations: 81.19 kB / 0.5745 GB, free: 39.33 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 7.342e-05/0.5954, allocations: 332.1 kB / 0.5748 GB, free: 39 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002001/0.5956, allocations: 129.6 kB / 0.575 GB, free: 38.95 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002565/0.5959, allocations: 212.9 kB / 0.5752 GB, free: 38.79 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000492/0.5964, allocations: 366.9 kB / 0.5755 GB, free: 38.56 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.5964, allocations: 5.156 kB / 0.5755 GB, free: 38.56 MB / 462.3 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001031/0.5975, allocations: 0.5162 MB / 0.576 GB, free: 38.3 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.5975, allocations: 6.594 kB / 0.576 GB, free: 38.3 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.5975, allocations: 10.38 kB / 0.5761 GB, free: 38.29 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006628/0.5982, allocations: 147.5 kB / 0.5762 GB, free: 38.22 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002605/0.5984, allocations: 86.59 kB / 0.5763 GB, free: 38.2 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002144/0.6006, allocations: 1.999 MB / 0.5782 GB, free: 36.52 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001542/0.6008, allocations: 30.81 kB / 0.5783 GB, free: 36.49 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.689e-05/0.6008, allocations: 15.44 kB / 0.5783 GB, free: 36.49 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.0001613/0.601, allocations: 139 kB / 0.5784 GB, free: 36.36 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.644e-05/0.601, allocations: 9.469 kB / 0.5784 GB, free: 36.35 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.068e-05/0.6011, allocations: 38.28 kB / 0.5784 GB, free: 36.32 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.366e-06/0.6011, allocations: 7.547 kB / 0.5785 GB, free: 36.31 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.79e-05/0.6011, allocations: 2.5 kB / 0.5785 GB, free: 36.31 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.6011, allocations: 3.984 kB / 0.5785 GB, free: 36.31 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003224/0.6015, allocations: 301.9 kB / 0.5787 GB, free: 36.04 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.6015, allocations: 3.938 kB / 0.5788 GB, free: 36.04 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003896/0.6019, allocations: 67.56 kB / 0.5788 GB, free: 36.02 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005887/0.6025, allocations: 143.5 kB / 0.579 GB, free: 35.96 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.399e-05/0.6025, allocations: 22.95 kB / 0.579 GB, free: 35.94 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001921/0.6044, allocations: 1.981 MB / 0.5809 GB, free: 34.27 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.6044, allocations: 4.938 kB / 0.5809 GB, free: 34.27 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001072/0.6055, allocations: 0.5726 MB / 0.5815 GB, free: 33.96 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 2.805e-05/0.6056, allocations: 88.64 kB / 0.5816 GB, free: 33.86 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.737e-05/0.6056, allocations: 19.39 kB / 0.5816 GB, free: 33.85 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.805e-05/0.6057, allocations: 4.906 kB / 0.5816 GB, free: 33.85 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.671e-05/0.6058, allocations: 23.03 kB / 0.5816 GB, free: 33.84 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.078e-05/0.6058, allocations: 9.516 kB / 0.5816 GB, free: 33.83 MB / 462.3 MB Notification: Performance of sorting global known variables: time 2.625e-05/0.6058, allocations: 78.06 kB / 0.5817 GB, free: 33.76 MB / 462.3 MB Notification: Performance of sort global known variables: time 1e-07/0.6058, allocations: 0 / 0.5817 GB, free: 33.76 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003646/0.6062, allocations: 74.94 kB / 0.5818 GB, free: 33.74 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.0001354/0.6063, allocations: 123.2 kB / 0.5819 GB, free: 33.64 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0009414/0.6073, allocations: 0.4935 MB / 0.5824 GB, free: 33.36 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.6073, allocations: 4.062 kB / 0.5824 GB, free: 33.36 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0005831/0.6079, allocations: 325.9 kB / 0.5827 GB, free: 33.16 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002199/0.6081, allocations: 23.64 kB / 0.5827 GB, free: 33.14 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001702/0.6098, allocations: 1.545 MB / 0.5842 GB, free: 31.89 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001529/0.61, allocations: 0.7431 MB / 0.5849 GB, free: 31.16 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.545e-05/0.6101, allocations: 17.53 kB / 0.5849 GB, free: 31.16 MB / 462.3 MB Notification: Performance of SimCode: time 2.41e-07/0.6101, allocations: 3.938 kB / 0.585 GB, free: 31.15 MB / 462.3 MB Notification: Performance of Templates: time 0.004562/0.6146, allocations: 2.571 MB / 0.5875 GB, free: 29.85 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/jenkins1/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