Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.conf.json 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.3-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.3-master/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) 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) 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_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_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009862/0.0009863, allocations: 190.9 kB / 16.62 MB, free: 5.066 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.3485/0.3485, allocations: 225.7 MB / 243 MB, free: 4.109 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009481/0.0009481, allocations: 108.7 kB / 293.2 MB, free: 11.02 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.3-master/package.mo): time 0.3975/0.3975, allocations: 119.5 MB / 462.9 MB, free: 10.58 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008995/0.0008995, allocations: 51.92 kB / 0.5413 GB, free: 10.62 MB / 362.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1045, allocations: 80.69 MB / 0.6201 GB, free: 9.789 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck): time 0.001676/0.1062, allocations: 1.274 MB / 0.6214 GB, free: 8.5 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0001425/0.1063, allocations: 47.86 kB / 0.6214 GB, free: 8.453 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.141e-05/0.1064, allocations: 0 / 0.6214 GB, free: 8.453 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 6.231e-05/0.1064, allocations: 0 / 0.6214 GB, free: 8.453 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 4.944e-05/0.1065, allocations: 19.92 kB / 0.6214 GB, free: 8.434 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001073/0.1066, allocations: 19.97 kB / 0.6215 GB, free: 8.414 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001197/0.1067, allocations: 99.83 kB / 0.6215 GB, free: 8.316 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.522e-05/0.1068, allocations: 4 kB / 0.6215 GB, free: 8.312 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 3.929e-05/0.1068, allocations: 35.91 kB / 0.6216 GB, free: 8.277 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 6.283e-05/0.1069, allocations: 35.95 kB / 0.6216 GB, free: 8.242 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 1.969e-05/0.1069, allocations: 11.92 kB / 0.6216 GB, free: 8.23 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.428e-05/0.1069, allocations: 7.938 kB / 0.6216 GB, free: 8.223 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 3.678e-05/0.107, allocations: 27.91 kB / 0.6217 GB, free: 8.195 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 3.801e-05/0.107, allocations: 27.91 kB / 0.6217 GB, free: 8.168 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 5.964e-05/0.1071, allocations: 52.09 kB / 0.6217 GB, free: 8.117 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.1071, allocations: 0 / 0.6217 GB, free: 8.117 MB / 442.8 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1071, allocations: 0 / 0.6217 GB, free: 8.117 MB / 442.8 MB Notification: Performance of Transformations before backend: time 2.776e-06/0.1071, allocations: 4 kB / 0.6217 GB, free: 8.113 MB / 442.8 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.0004804/0.1076, allocations: 407.3 kB / 0.6221 GB, free: 7.664 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 2.595e-05/0.1076, allocations: 8.031 kB / 0.6221 GB, free: 7.656 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.643e-05/0.1076, allocations: 8.844 kB / 0.6221 GB, free: 7.648 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001141/0.1078, allocations: 176.4 kB / 0.6223 GB, free: 7.438 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.536e-06/0.1078, allocations: 4.375 kB / 0.6223 GB, free: 7.434 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.555e-05/0.1078, allocations: 16.38 kB / 0.6223 GB, free: 7.418 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001326/0.1079, allocations: 86.38 kB / 0.6224 GB, free: 7.328 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.108, allocations: 3.938 kB / 0.6224 GB, free: 7.324 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.551e-05/0.108, allocations: 15.94 kB / 0.6224 GB, free: 7.309 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.336e-06/0.108, allocations: 3.938 kB / 0.6224 GB, free: 7.305 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.824e-05/0.1081, allocations: 39.97 kB / 0.6225 GB, free: 7.266 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001768/0.1082, allocations: 209.5 kB / 0.6227 GB, free: 7.012 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002956/0.1085, allocations: 130.5 kB / 0.6228 GB, free: 6.875 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.553e-05/0.1086, allocations: 48.83 kB / 0.6229 GB, free: 6.824 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 9.759e-06/0.1086, allocations: 4 kB / 0.6229 GB, free: 6.82 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.468e-05/0.1087, allocations: 38.56 kB / 0.6229 GB, free: 6.773 MB / 442.8 MB Notification: Performance of pre-optimization done (n=12): time 2.114e-06/0.1087, allocations: 0 / 0.6229 GB, free: 6.773 MB / 442.8 MB Notification: Performance of matching and sorting (n=12): time 0.0005924/0.1093, allocations: 307.6 kB / 0.6232 GB, free: 6.445 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.5e-05/0.1093, allocations: 59.34 kB / 0.6232 GB, free: 6.375 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.44e-05/0.1093, allocations: 97.86 kB / 0.6233 GB, free: 6.27 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 1.321e-05/0.1094, allocations: 29.7 kB / 0.6234 GB, free: 6.234 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.38e-05/0.1094, allocations: 84.12 kB / 0.6234 GB, free: 6.148 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.732e-05/0.1094, allocations: 55.2 kB / 0.6235 GB, free: 6.094 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.567e-05/0.1095, allocations: 37.7 kB / 0.6235 GB, free: 6.051 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 7.077e-05/0.1096, allocations: 322.8 kB / 0.6238 GB, free: 5.727 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.874e-05/0.1096, allocations: 55.91 kB / 0.6239 GB, free: 5.672 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.182e-05/0.1097, allocations: 88.25 kB / 0.624 GB, free: 5.57 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001593/0.1099, allocations: 152.2 kB / 0.6241 GB, free: 5.406 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.634e-06/0.1099, allocations: 0 / 0.6241 GB, free: 5.406 MB / 442.8 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003642/0.1103, allocations: 234.1 kB / 0.6243 GB, free: 5.168 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/0.1103, allocations: 7.938 kB / 0.6244 GB, free: 5.16 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.457e-06/0.1103, allocations: 0 / 0.6244 GB, free: 5.16 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002613/0.1106, allocations: 60.92 kB / 0.6244 GB, free: 5.098 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/0.1107, allocations: 36.11 kB / 0.6244 GB, free: 5.062 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001039/0.1117, allocations: 1.468 MB / 0.6259 GB, free: 3.453 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.61e-05/0.1118, allocations: 15.81 kB / 0.6259 GB, free: 3.438 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.939e-06/0.1118, allocations: 8 kB / 0.6259 GB, free: 3.43 MB / 442.8 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 6.901e-05/0.1119, allocations: 130 kB / 0.626 GB, free: 3.293 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.112e-05/0.1119, allocations: 0 / 0.626 GB, free: 3.293 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.753e-05/0.1119, allocations: 15.97 kB / 0.626 GB, free: 3.273 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.1119, allocations: 4.062 kB / 0.626 GB, free: 3.27 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.1119, allocations: 0 / 0.626 GB, free: 3.27 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.1119, allocations: 0 / 0.626 GB, free: 3.27 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001345/0.1121, allocations: 217.5 kB / 0.6263 GB, free: 3.008 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1121, allocations: 0 / 0.6263 GB, free: 3.008 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001538/0.1122, allocations: 27.98 kB / 0.6263 GB, free: 2.98 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002238/0.1125, allocations: 56.8 kB / 0.6263 GB, free: 2.922 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.435e-05/0.1125, allocations: 4 kB / 0.6263 GB, free: 2.918 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009782/0.1135, allocations: 1.476 MB / 0.6278 GB, free: 1.312 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1135, allocations: 0 / 0.6278 GB, free: 1.312 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003772/0.1139, allocations: 262.1 kB / 0.628 GB, free: 1.035 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.695e-05/0.1139, allocations: 84.95 kB / 0.6281 GB, free: 0.9336 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.674e-05/0.1139, allocations: 12.06 kB / 0.6281 GB, free: 0.9219 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.691e-05/0.114, allocations: 0 / 0.6281 GB, free: 0.9219 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.966e-05/0.114, allocations: 15.98 kB / 0.6281 GB, free: 0.9062 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.161e-06/0.114, allocations: 0 / 0.6281 GB, free: 0.9062 MB / 442.8 MB Notification: Performance of sorting global known variables: time 2.499e-05/0.1141, allocations: 83.27 kB / 0.6282 GB, free: 0.8242 MB / 442.8 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1141, allocations: 0 / 0.6282 GB, free: 0.8242 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.0001821/0.1142, allocations: 28 kB / 0.6282 GB, free: 0.7969 MB / 442.8 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 7.143e-05/0.1143, allocations: 108.2 kB / 0.6283 GB, free: 0.6797 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.0003763/0.1147, allocations: 258.5 kB / 0.6286 GB, free: 424 kB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.1147, allocations: 0 / 0.6286 GB, free: 424 kB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002278/0.115, allocations: 190.6 kB / 0.6288 GB, free: 220 kB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001286/0.1151, allocations: 12.95 kB / 0.6288 GB, free: 208 kB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007472/0.1158, allocations: 0.677 MB / 0.6294 GB, free: 15.5 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000168/0.116, allocations: 0.7044 MB / 0.6301 GB, free: 14.77 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 5.231e-05/0.1161, allocations: 28.53 kB / 0.6302 GB, free: 14.74 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.046e-05/0.1161, allocations: 15.38 kB / 0.6302 GB, free: 14.73 MB / 458.8 MB Notification: Performance of SimCode: time 2.51e-07/0.1161, allocations: 0 / 0.6302 GB, free: 14.73 MB / 458.8 MB Notification: Performance of Templates: time 0.003872/0.12, allocations: 1.409 MB / 0.6316 GB, free: 13.35 MB / 458.8 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.sim & ./ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches