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.0009831/0.0009833, allocations: 92.75 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.001164/0.001164, allocations: 177.6 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.356/1.356, 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 1.03/1.03, allocations: 120.5 MB / 413.2 MB, free: 9.188 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000357/0.0003571, allocations: 4.281 kB / 0.4949 GB, free: 11.49 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.579/0.5794, allocations: 82.85 MB / 0.5758 GB, free: 41.58 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10): time 0.00107/0.5805, allocations: 0.9471 MB / 0.5767 GB, free: 40.82 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001766/0.5807, allocations: 51.27 kB / 0.5768 GB, free: 40.78 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.659e-05/0.5807, allocations: 0 / 0.5768 GB, free: 40.78 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 8.189e-05/0.5808, allocations: 5.062 kB / 0.5768 GB, free: 40.78 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 5.869e-05/0.5809, allocations: 6.578 kB / 0.5768 GB, free: 40.77 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001403/0.581, allocations: 20.88 kB / 0.5768 GB, free: 40.76 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0002619/0.5813, allocations: 251.5 kB / 0.577 GB, free: 40.63 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.97e-05/0.5813, allocations: 2.188 kB / 0.5771 GB, free: 40.63 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 8.279e-05/0.5814, allocations: 80.41 kB / 0.5771 GB, free: 40.6 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001232/0.5816, allocations: 77.61 kB / 0.5772 GB, free: 40.55 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 3.495e-05/0.5816, allocations: 12.19 kB / 0.5772 GB, free: 40.55 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 3.177e-05/0.5816, allocations: 11.5 kB / 0.5772 GB, free: 40.55 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 7.548e-05/0.5817, allocations: 65.66 kB / 0.5773 GB, free: 40.51 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 8.943e-05/0.5818, allocations: 99.23 kB / 0.5774 GB, free: 40.43 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001198/0.5819, allocations: 119.5 kB / 0.5775 GB, free: 40.36 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.5819, allocations: 4 kB / 0.5775 GB, free: 40.36 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.643e-06/0.582, allocations: 1.312 kB / 0.5775 GB, free: 40.36 MB / 462.3 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.582, allocations: 3.938 kB / 0.5775 GB, free: 40.35 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.0008317/0.5828, allocations: 0.5009 MB / 0.578 GB, free: 39.91 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.5828, allocations: 8.969 kB / 0.578 GB, free: 39.91 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.492e-05/0.5829, allocations: 15.91 kB / 0.578 GB, free: 39.9 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001658/0.5831, allocations: 198.3 kB / 0.5782 GB, free: 39.69 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.927e-05/0.5831, allocations: 16.06 kB / 0.5782 GB, free: 39.68 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.799e-05/0.5832, allocations: 28.66 kB / 0.5782 GB, free: 39.67 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002944/0.5835, allocations: 181 kB / 0.5784 GB, free: 39.55 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.705e-05/0.5835, allocations: 10.61 kB / 0.5784 GB, free: 39.55 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.054e-05/0.5835, allocations: 8.938 kB / 0.5784 GB, free: 39.54 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.5835, allocations: 3.5 kB / 0.5784 GB, free: 39.54 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001794/0.5837, allocations: 104.9 kB / 0.5785 GB, free: 39.5 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003179/0.584, allocations: 311.5 kB / 0.5788 GB, free: 39.22 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005023/0.5845, allocations: 267 kB / 0.5791 GB, free: 39.09 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001662/0.5847, allocations: 121.6 kB / 0.5792 GB, free: 39.04 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 2.343e-05/0.5847, allocations: 6.75 kB / 0.5792 GB, free: 39.03 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.805e-05/0.5848, allocations: 43.88 kB / 0.5793 GB, free: 38.98 MB / 462.3 MB Notification: Performance of pre-optimization done (n=30): time 1.453e-06/0.5848, allocations: 0 / 0.5793 GB, free: 38.98 MB / 462.3 MB Notification: Performance of matching and sorting (n=30): time 0.001645/0.5864, allocations: 0.6332 MB / 0.5799 GB, free: 38.6 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.872e-05/0.5865, allocations: 55.53 kB / 0.5799 GB, free: 38.54 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.745e-05/0.5865, allocations: 107.3 kB / 0.58 GB, free: 38.43 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 3.389e-05/0.5866, allocations: 35.08 kB / 0.5801 GB, free: 38.39 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 2.713e-05/0.5866, allocations: 87.55 kB / 0.5801 GB, free: 38.3 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 9.251e-05/0.5867, allocations: 116 kB / 0.5803 GB, free: 38.2 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.015e-05/0.5868, allocations: 50.19 kB / 0.5803 GB, free: 38.16 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.664e-05/0.5868, allocations: 332.3 kB / 0.5806 GB, free: 37.83 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001834/0.587, allocations: 125.7 kB / 0.5807 GB, free: 37.78 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002482/0.5873, allocations: 213.8 kB / 0.5809 GB, free: 37.62 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004534/0.5877, allocations: 367.4 kB / 0.5813 GB, free: 37.39 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.5877, allocations: 5.094 kB / 0.5813 GB, free: 37.39 MB / 462.3 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001013/0.5888, allocations: 0.5242 MB / 0.5818 GB, free: 37.12 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.5888, allocations: 8.031 kB / 0.5818 GB, free: 37.12 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.5888, allocations: 2.75 kB / 0.5818 GB, free: 37.12 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006659/0.5895, allocations: 148.1 kB / 0.582 GB, free: 37.05 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002793/0.5898, allocations: 87.78 kB / 0.5821 GB, free: 37.04 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002121/0.5919, allocations: 2.007 MB / 0.584 GB, free: 35.36 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000149/0.5921, allocations: 30.05 kB / 0.584 GB, free: 35.33 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.618e-05/0.5921, allocations: 12.62 kB / 0.5841 GB, free: 35.33 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.0001231/0.5922, allocations: 148.2 kB / 0.5842 GB, free: 35.19 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.574e-05/0.5923, allocations: 13 kB / 0.5842 GB, free: 35.18 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.152e-05/0.5924, allocations: 38.44 kB / 0.5842 GB, free: 35.15 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.5924, allocations: 3.781 kB / 0.5842 GB, free: 35.15 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.669e-05/0.5924, allocations: 2.312 kB / 0.5842 GB, free: 35.15 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.5924, allocations: 3.984 kB / 0.5843 GB, free: 35.14 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000349/0.5928, allocations: 297.1 kB / 0.5845 GB, free: 34.88 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/0.5928, allocations: 5.188 kB / 0.5845 GB, free: 34.88 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004031/0.5932, allocations: 66.23 kB / 0.5846 GB, free: 34.86 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000595/0.5938, allocations: 148 kB / 0.5847 GB, free: 34.79 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.797e-05/0.5938, allocations: 19.48 kB / 0.5848 GB, free: 34.78 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002097/0.5959, allocations: 2.005 MB / 0.5867 GB, free: 33.1 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.596, allocations: 0.9062 kB / 0.5867 GB, free: 33.1 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001062/0.597, allocations: 0.5647 MB / 0.5873 GB, free: 32.8 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 3.444e-05/0.5971, allocations: 93.33 kB / 0.5874 GB, free: 32.7 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.968e-05/0.5971, allocations: 18.12 kB / 0.5874 GB, free: 32.68 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001122/0.5972, allocations: 6.062 kB / 0.5874 GB, free: 32.68 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.899e-05/0.5973, allocations: 19.06 kB / 0.5874 GB, free: 32.67 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.919e-05/0.5973, allocations: 9.531 kB / 0.5874 GB, free: 32.67 MB / 462.3 MB Notification: Performance of sorting global known variables: time 2.957e-05/0.5974, allocations: 85.64 kB / 0.5875 GB, free: 32.59 MB / 462.3 MB Notification: Performance of sort global known variables: time 1e-07/0.5974, allocations: 0 / 0.5875 GB, free: 32.59 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003687/0.5977, allocations: 75.28 kB / 0.5876 GB, free: 32.57 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.0001196/0.5979, allocations: 108.3 kB / 0.5877 GB, free: 32.48 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.001032/0.5989, allocations: 0.4968 MB / 0.5882 GB, free: 32.2 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.5989, allocations: 0 / 0.5882 GB, free: 32.2 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0005944/0.5995, allocations: 329.7 kB / 0.5885 GB, free: 32 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002172/0.5997, allocations: 21.47 kB / 0.5885 GB, free: 31.98 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001942/0.6017, allocations: 1.808 MB / 0.5903 GB, free: 30.49 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002127/0.6019, allocations: 0.7404 MB / 0.591 GB, free: 29.77 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0001431/0.6021, allocations: 63.78 kB / 0.591 GB, free: 29.75 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.956e-05/0.6021, allocations: 21.5 kB / 0.5911 GB, free: 29.74 MB / 462.3 MB Notification: Performance of SimCode: time 4.31e-07/0.6021, allocations: 0 / 0.5911 GB, free: 29.74 MB / 462.3 MB Notification: Performance of Templates: time 0.005419/0.6076, allocations: 2.642 MB / 0.5936 GB, free: 27.43 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/jenkins1/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