Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.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.HarmonicOscillatorCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.v.1..|der.v.2..|der.v.3..|der.v.4..|der.x.1..|der.x.2..|der.x.3..|der.x.4..|time|time|v.1.|v.2.|v.3.|v.4.|x.1.|x.2.|x.3.|x.4.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck") translateModel(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.v.1..|der.v.2..|der.v.3..|der.v.4..|der.x.1..|der.x.2..|der.x.3..|der.x.4..|time|time|v.1.|v.2.|v.3.|v.4.|x.1.|x.2.|x.3.|x.4.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001415/0.001415, allocations: 114.6 kB / 17.7 MB, free: 5.309 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.001095/0.001095, 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.324/1.324, 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.9814/0.9814, allocations: 119.3 MB / 411.8 MB, free: 9.508 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 63.91 kB / 0.4924 GB, free: 13.01 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4888/0.49, allocations: 80.68 MB / 0.5712 GB, free: 43.77 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck): time 0.00209/0.4921, allocations: 1.199 MB / 0.5723 GB, free: 42.83 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001643/0.4923, allocations: 42.55 kB / 0.5724 GB, free: 42.8 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.697e-05/0.4924, allocations: 0 / 0.5724 GB, free: 42.8 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 7.135e-05/0.4924, allocations: 0 / 0.5724 GB, free: 42.8 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 6.425e-05/0.4925, allocations: 10.64 kB / 0.5724 GB, free: 42.79 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001523/0.4927, allocations: 15.09 kB / 0.5724 GB, free: 42.78 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0001338/0.4928, allocations: 71.81 kB / 0.5725 GB, free: 42.74 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.254e-05/0.4929, allocations: 1.469 kB / 0.5725 GB, free: 42.74 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 3.827e-05/0.4929, allocations: 29.84 kB / 0.5725 GB, free: 42.73 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 7.729e-05/0.493, allocations: 26.69 kB / 0.5725 GB, free: 42.71 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 1.942e-05/0.493, allocations: 2.625 kB / 0.5725 GB, free: 42.71 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 1.559e-05/0.4931, allocations: 6.5 kB / 0.5725 GB, free: 42.71 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 4.247e-05/0.4931, allocations: 23.22 kB / 0.5725 GB, free: 42.69 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 4.161e-05/0.4931, allocations: 20.2 kB / 0.5726 GB, free: 42.68 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 7.251e-05/0.4932, allocations: 31.14 kB / 0.5726 GB, free: 42.66 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.4932, allocations: 4 kB / 0.5726 GB, free: 42.66 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.703e-06/0.4932, allocations: 0 / 0.5726 GB, free: 42.66 MB / 462.3 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.4933, allocations: 1.281 kB / 0.5726 GB, free: 42.66 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000437/0.4937, allocations: 373.4 kB / 0.573 GB, free: 42.28 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.4937, allocations: 12.86 kB / 0.573 GB, free: 42.27 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.561e-05/0.4938, allocations: 12.77 kB / 0.573 GB, free: 42.27 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001245/0.4939, allocations: 175.7 kB / 0.5732 GB, free: 42.06 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.4939, allocations: 2.781 kB / 0.5732 GB, free: 42.06 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.877e-05/0.494, allocations: 13.94 kB / 0.5732 GB, free: 42.05 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001266/0.4941, allocations: 64.88 kB / 0.5732 GB, free: 42 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.4941, allocations: 1.219 kB / 0.5732 GB, free: 42 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.4941, allocations: 5 kB / 0.5732 GB, free: 42 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.83e-06/0.4941, allocations: 5.031 kB / 0.5732 GB, free: 42 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.59e-05/0.4942, allocations: 33.22 kB / 0.5733 GB, free: 41.98 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001455/0.4944, allocations: 190 kB / 0.5735 GB, free: 41.76 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001026/0.4945, allocations: 65.95 kB / 0.5735 GB, free: 41.72 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.429e-05/0.4945, allocations: 32.41 kB / 0.5735 GB, free: 41.7 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.296e-05/0.4945, allocations: 1.312 kB / 0.5735 GB, free: 41.7 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.539e-05/0.4946, allocations: 35.62 kB / 0.5736 GB, free: 41.66 MB / 462.3 MB Notification: Performance of pre-optimization done (n=8): time 1.012e-06/0.4946, allocations: 0 / 0.5736 GB, free: 41.66 MB / 462.3 MB Notification: Performance of matching and sorting (n=8): time 0.0002117/0.4948, allocations: 127 kB / 0.5737 GB, free: 41.57 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.522e-05/0.4948, allocations: 52.69 kB / 0.5738 GB, free: 41.51 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.884e-05/0.4949, allocations: 102.1 kB / 0.5739 GB, free: 41.41 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 9.728e-06/0.4949, allocations: 26.83 kB / 0.5739 GB, free: 41.38 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 1.682e-05/0.4949, allocations: 84.95 kB / 0.574 GB, free: 41.29 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 3.168e-05/0.4949, allocations: 32.17 kB / 0.574 GB, free: 41.26 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.296e-05/0.495, allocations: 38.48 kB / 0.574 GB, free: 41.23 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.3e-05/0.495, allocations: 316.1 kB / 0.5743 GB, free: 40.91 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.414e-05/0.4951, allocations: 41.5 kB / 0.5744 GB, free: 40.89 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.274e-05/0.4952, allocations: 70.55 kB / 0.5744 GB, free: 40.84 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001264/0.4953, allocations: 116.7 kB / 0.5745 GB, free: 40.75 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.4953, allocations: 0 / 0.5745 GB, free: 40.75 MB / 462.3 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001784/0.4955, allocations: 148.9 kB / 0.5747 GB, free: 40.67 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.4955, allocations: 9.375 kB / 0.5747 GB, free: 40.66 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.4955, allocations: 2.25 kB / 0.5747 GB, free: 40.66 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.4955, allocations: 1.219 kB / 0.5747 GB, free: 40.66 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001619/0.4957, allocations: 40.11 kB / 0.5747 GB, free: 40.65 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.4957, allocations: 6.531 kB / 0.5747 GB, free: 40.65 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.41e-05/0.4958, allocations: 10.62 kB / 0.5748 GB, free: 40.64 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/0.4958, allocations: 8.25 kB / 0.5748 GB, free: 40.64 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 (16): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.743e-05/0.4958, allocations: 123.1 kB / 0.5749 GB, free: 40.51 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.115e-05/0.4959, allocations: 5.031 kB / 0.5749 GB, free: 40.51 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.414e-05/0.4959, allocations: 9.25 kB / 0.5749 GB, free: 40.5 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.4959, allocations: 1.281 kB / 0.5749 GB, free: 40.5 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.4959, allocations: 4 kB / 0.5749 GB, free: 40.49 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.4959, allocations: 5 kB / 0.5749 GB, free: 40.49 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.826e-05/0.496, allocations: 186.2 kB / 0.5751 GB, free: 40.27 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.496, allocations: 0 / 0.5751 GB, free: 40.27 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001731/0.4962, allocations: 35.3 kB / 0.5751 GB, free: 40.26 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.4962, allocations: 3.938 kB / 0.5751 GB, free: 40.26 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/0.4962, allocations: 2.594 kB / 0.5751 GB, free: 40.26 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.4962, allocations: 1.344 kB / 0.5751 GB, free: 40.26 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.4962, allocations: 0 / 0.5751 GB, free: 40.26 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001825/0.4964, allocations: 150.5 kB / 0.5753 GB, free: 40.15 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 1.917e-05/0.4965, allocations: 93.91 kB / 0.5754 GB, free: 40.04 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.982e-05/0.4965, allocations: 6.906 kB / 0.5754 GB, free: 40.04 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.054e-05/0.4965, allocations: 1.312 kB / 0.5754 GB, free: 40.04 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.968e-05/0.4965, allocations: 6.984 kB / 0.5754 GB, free: 40.03 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.4966, allocations: 1.844 kB / 0.5754 GB, free: 40.03 MB / 462.3 MB Notification: Performance of sorting global known variables: time 1.913e-05/0.4966, allocations: 78.44 kB / 0.5754 GB, free: 39.96 MB / 462.3 MB Notification: Performance of sort global known variables: time 9.22e-07/0.4966, allocations: 0 / 0.5754 GB, free: 39.96 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0001967/0.4968, allocations: 21.69 kB / 0.5755 GB, free: 39.95 MB / 462.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (x[1],x[2],x[3],x[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 (8): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 6.85e-05/0.4969, allocations: 107.4 kB / 0.5756 GB, free: 39.85 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0001793/0.497, allocations: 83.7 kB / 0.5756 GB, free: 39.82 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4971, allocations: 0 / 0.5756 GB, free: 39.82 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 4.501e-05/0.4971, allocations: 34.08 kB / 0.5757 GB, free: 39.81 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001742/0.4973, allocations: 8.203 kB / 0.5757 GB, free: 39.8 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007043/0.498, allocations: 0.6218 MB / 0.5763 GB, free: 39.27 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001017/0.4981, allocations: 0.6922 MB / 0.577 GB, free: 38.57 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 5.72e-05/0.4982, allocations: 28.38 kB / 0.577 GB, free: 38.55 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.517e-05/0.4982, allocations: 15.75 kB / 0.577 GB, free: 38.54 MB / 462.3 MB Notification: Performance of SimCode: time 3.5e-07/0.4982, allocations: 0 / 0.577 GB, free: 38.54 MB / 462.3 MB Notification: Performance of Templates: time 0.002424/0.5006, allocations: 0.6469 MB / 0.5776 GB, free: 38.25 MB / 462.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck -abortSlowSimulation -alarm=300 -s cvode -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches