Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.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.Verification.HarmonicOscillatorNetworkCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.v.1..|der.v.2..|der.v.3..|der.v.4..|der.xm.1..|der.xm.2..|der.xm.3..|der.xm.4..|time|time|v.1.|v.2.|v.3.|v.4.|xm.1.|xm.2.|xm.3.|xm.4.|xs.1.|xs.2.|xs.3.|xs.4.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck") translateModel(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.v.1..|der.v.2..|der.v.3..|der.v.4..|der.xm.1..|der.xm.2..|der.xm.3..|der.xm.4..|time|time|v.1.|v.2.|v.3.|v.4.|xm.1.|xm.2.|xm.3.|xm.4.|xs.1.|xs.2.|xs.3.|xs.4.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001446/0.001446, allocations: 115.4 kB / 17.69 MB, free: 5.312 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.001072/0.001072, allocations: 191 kB / 18.63 MB, free: 4.379 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.276/1.276, allocations: 222.9 MB / 242.3 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9155/0.9155, allocations: 119.3 MB / 411.8 MB, free: 9.52 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 59.91 kB / 0.4924 GB, free: 13.03 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4859/0.4873, allocations: 80.69 MB / 0.5712 GB, free: 43.68 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck): time 0.002357/0.4897, allocations: 1.216 MB / 0.5723 GB, free: 42.73 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001991/0.4899, allocations: 51.11 kB / 0.5724 GB, free: 42.69 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.155e-05/0.4899, allocations: 4 kB / 0.5724 GB, free: 42.69 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 8.961e-05/0.49, allocations: 5.375 kB / 0.5724 GB, free: 42.68 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 6.399e-05/0.4901, allocations: 1.531 kB / 0.5724 GB, free: 42.68 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001643/0.4903, allocations: 24.3 kB / 0.5724 GB, free: 42.66 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0001464/0.4904, allocations: 106.5 kB / 0.5725 GB, free: 42.61 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.7e-05/0.4905, allocations: 2.719 kB / 0.5725 GB, free: 42.61 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 4.636e-05/0.4906, allocations: 44.52 kB / 0.5726 GB, free: 42.59 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 8.111e-05/0.4906, allocations: 32.31 kB / 0.5726 GB, free: 42.57 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 2.394e-05/0.4907, allocations: 4.125 kB / 0.5726 GB, free: 42.57 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 1.871e-05/0.4907, allocations: 9.5 kB / 0.5726 GB, free: 42.56 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 5.213e-05/0.4908, allocations: 29.53 kB / 0.5726 GB, free: 42.54 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 5.752e-05/0.4908, allocations: 30.86 kB / 0.5727 GB, free: 42.52 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 8.62e-05/0.4909, allocations: 48.48 kB / 0.5727 GB, free: 42.5 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.4909, allocations: 1.375 kB / 0.5727 GB, free: 42.5 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.973e-06/0.4909, allocations: 0 / 0.5727 GB, free: 42.5 MB / 462.3 MB Notification: Performance of Transformations before backend: time 1.179e-05/0.4909, allocations: 0 / 0.5727 GB, free: 42.5 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005753/0.4915, allocations: 402.9 kB / 0.5731 GB, free: 42.1 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.4916, allocations: 9.812 kB / 0.5731 GB, free: 42.1 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.054e-05/0.4916, allocations: 8.984 kB / 0.5731 GB, free: 42.1 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001462/0.4918, allocations: 181.6 kB / 0.5733 GB, free: 41.89 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.4918, allocations: 3.25 kB / 0.5733 GB, free: 41.89 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.313e-05/0.4918, allocations: 11.03 kB / 0.5733 GB, free: 41.89 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001694/0.492, allocations: 94.45 kB / 0.5734 GB, free: 41.82 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.492, allocations: 5.531 kB / 0.5734 GB, free: 41.81 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.492, allocations: 3.938 kB / 0.5734 GB, free: 41.81 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.492, allocations: 1.531 kB / 0.5734 GB, free: 41.81 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.811e-05/0.4921, allocations: 44.3 kB / 0.5735 GB, free: 41.79 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002104/0.4924, allocations: 208.2 kB / 0.5737 GB, free: 41.57 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003676/0.4927, allocations: 131.2 kB / 0.5738 GB, free: 41.5 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.969e-05/0.4928, allocations: 53.67 kB / 0.5738 GB, free: 41.47 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.371e-05/0.4928, allocations: 5.656 kB / 0.5738 GB, free: 41.46 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.702e-05/0.4929, allocations: 32.03 kB / 0.5739 GB, free: 41.43 MB / 462.3 MB Notification: Performance of pre-optimization done (n=12): time 1.203e-06/0.4929, allocations: 0 / 0.5739 GB, free: 41.43 MB / 462.3 MB Notification: Performance of matching and sorting (n=12): time 0.0006636/0.4935, allocations: 312.6 kB / 0.5742 GB, free: 41.2 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.301e-05/0.4936, allocations: 57.84 kB / 0.5742 GB, free: 41.13 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.5e-05/0.4936, allocations: 101.7 kB / 0.5743 GB, free: 41.03 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.264e-05/0.4936, allocations: 26.8 kB / 0.5743 GB, free: 41 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 1.759e-05/0.4937, allocations: 85.27 kB / 0.5744 GB, free: 40.91 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 3.84e-05/0.4937, allocations: 52.66 kB / 0.5745 GB, free: 40.86 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.706e-05/0.4938, allocations: 36.92 kB / 0.5745 GB, free: 40.84 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.414e-05/0.4938, allocations: 326 kB / 0.5748 GB, free: 40.51 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.323e-05/0.4939, allocations: 56.42 kB / 0.5749 GB, free: 40.48 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.165e-05/0.494, allocations: 88.8 kB / 0.575 GB, free: 40.42 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001695/0.4942, allocations: 143.4 kB / 0.5751 GB, free: 40.33 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.4942, allocations: 5.469 kB / 0.5751 GB, free: 40.32 MB / 462.3 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003765/0.4945, allocations: 229.6 kB / 0.5753 GB, free: 40.2 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.4946, allocations: 12.16 kB / 0.5753 GB, free: 40.19 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.4946, allocations: 1.344 kB / 0.5753 GB, free: 40.19 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003023/0.4949, allocations: 62.3 kB / 0.5754 GB, free: 40.16 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/0.495, allocations: 33.89 kB / 0.5754 GB, free: 40.15 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001171/0.4962, allocations: 1.584 MB / 0.577 GB, free: 38.61 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.116e-05/0.4963, allocations: 7.156 kB / 0.577 GB, free: 38.6 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.421e-05/0.4963, allocations: 9.219 kB / 0.577 GB, free: 38.6 MB / 462.3 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (17): * Single equations (assignments): 16 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.041e-05/0.4964, allocations: 135.8 kB / 0.5771 GB, free: 38.46 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.446e-05/0.4964, allocations: 1.812 kB / 0.5771 GB, free: 38.46 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.631e-05/0.4964, allocations: 21.08 kB / 0.5771 GB, free: 38.44 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.4964, allocations: 2.469 kB / 0.5771 GB, free: 38.44 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.4965, allocations: 0 / 0.5771 GB, free: 38.44 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.4965, allocations: 1.484 kB / 0.5771 GB, free: 38.44 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001273/0.4966, allocations: 207.5 kB / 0.5773 GB, free: 38.21 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.4966, allocations: 0 / 0.5773 GB, free: 38.21 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001601/0.4968, allocations: 22.84 kB / 0.5774 GB, free: 38.21 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002252/0.497, allocations: 70.95 kB / 0.5774 GB, free: 38.17 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.627e-05/0.497, allocations: 7.406 kB / 0.5774 GB, free: 38.17 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009922/0.498, allocations: 1.578 MB / 0.579 GB, free: 36.64 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.498, allocations: 0 / 0.579 GB, free: 36.64 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004419/0.4985, allocations: 265.9 kB / 0.5792 GB, free: 36.47 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 2.82e-05/0.4985, allocations: 91.16 kB / 0.5793 GB, free: 36.37 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.721e-05/0.4985, allocations: 2.469 kB / 0.5793 GB, free: 36.37 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.841e-05/0.4986, allocations: 1.188 kB / 0.5793 GB, free: 36.37 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.802e-05/0.4986, allocations: 12.48 kB / 0.5793 GB, free: 36.36 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.648e-06/0.4987, allocations: 15.12 kB / 0.5793 GB, free: 36.35 MB / 462.3 MB Notification: Performance of sorting global known variables: time 2.637e-05/0.4987, allocations: 77.47 kB / 0.5794 GB, free: 36.27 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4987, allocations: 3.938 kB / 0.5794 GB, free: 36.27 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002351/0.4989, allocations: 28.19 kB / 0.5794 GB, free: 36.27 MB / 462.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (xm[1],xm[2],xm[3],xm[4],v[1],v[2],v[3],v[4]) * 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 (9): * Single equations (assignments): 8 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.703e-05/0.499, allocations: 104.1 kB / 0.5795 GB, free: 36.17 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0004675/0.4995, allocations: 262.3 kB / 0.5798 GB, free: 35.99 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.4995, allocations: 0 / 0.5798 GB, free: 35.99 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0002328/0.4998, allocations: 194.8 kB / 0.58 GB, free: 35.84 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001808/0.5, allocations: 7.812 kB / 0.58 GB, free: 35.84 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007597/0.5007, allocations: 0.6572 MB / 0.5806 GB, free: 35.29 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001347/0.5009, allocations: 0.7008 MB / 0.5813 GB, free: 34.58 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 5.931e-05/0.5009, allocations: 25.59 kB / 0.5813 GB, free: 34.57 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.689e-05/0.501, allocations: 19.44 kB / 0.5814 GB, free: 34.56 MB / 462.3 MB Notification: Performance of SimCode: time 2.21e-07/0.501, allocations: 0 / 0.5814 GB, free: 34.56 MB / 462.3 MB Notification: Performance of Templates: time 0.003742/0.5047, allocations: 1.311 MB / 0.5826 GB, free: 33.94 MB / 462.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck -abortSlowSimulation -alarm=300 -s gbode -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches