Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.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.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_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_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009921/0.0009922, allocations: 190.9 kB / 16.62 MB, free: 5.148 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.3527/0.3527, allocations: 225.6 MB / 243 MB, free: 4.008 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.0008777/0.0008778, allocations: 102.5 kB / 293.2 MB, free: 11.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.3-master/package.mo): time 0.3964/0.3964, allocations: 119.5 MB / 462.8 MB, free: 10.62 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008615/0.0008615, allocations: 51.92 kB / 0.5413 GB, free: 10.66 MB / 362.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1031, allocations: 80.71 MB / 0.6201 GB, free: 9.828 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck): time 0.001608/0.1048, allocations: 1.254 MB / 0.6213 GB, free: 8.562 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0001262/0.1049, allocations: 31.95 kB / 0.6214 GB, free: 8.531 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.049e-05/0.1049, allocations: 0 / 0.6214 GB, free: 8.531 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 6.399e-05/0.105, allocations: 11.92 kB / 0.6214 GB, free: 8.52 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 4.435e-05/0.1051, allocations: 7.984 kB / 0.6214 GB, free: 8.512 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001011/0.1052, allocations: 11.98 kB / 0.6214 GB, free: 8.5 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 9.125e-05/0.1053, allocations: 75.86 kB / 0.6215 GB, free: 8.426 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.368e-05/0.1053, allocations: 0 / 0.6215 GB, free: 8.426 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 2.798e-05/0.1053, allocations: 27.92 kB / 0.6215 GB, free: 8.398 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 4.967e-05/0.1054, allocations: 31.89 kB / 0.6215 GB, free: 8.367 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 1.452e-05/0.1054, allocations: 0 / 0.6215 GB, free: 8.367 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.02e-05/0.1054, allocations: 4 kB / 0.6215 GB, free: 8.363 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 3.035e-05/0.1055, allocations: 19.98 kB / 0.6216 GB, free: 8.344 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 3.14e-05/0.1055, allocations: 23.86 kB / 0.6216 GB, free: 8.32 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 5.213e-05/0.1055, allocations: 35.88 kB / 0.6216 GB, free: 8.285 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.1056, allocations: 4 kB / 0.6216 GB, free: 8.281 MB / 442.8 MB Notification: Performance of FrontEnd: time 9.42e-07/0.1056, allocations: 0 / 0.6216 GB, free: 8.281 MB / 442.8 MB Notification: Performance of Transformations before backend: time 3.046e-06/0.1056, allocations: 0 / 0.6216 GB, free: 8.281 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003758/0.1059, allocations: 371.1 kB / 0.622 GB, free: 7.871 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 2.731e-05/0.106, allocations: 8.031 kB / 0.622 GB, free: 7.863 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.388e-05/0.106, allocations: 4.938 kB / 0.622 GB, free: 7.859 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001102/0.1061, allocations: 180.3 kB / 0.6222 GB, free: 7.645 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.706e-06/0.1061, allocations: 12.3 kB / 0.6222 GB, free: 7.633 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.142e-05/0.1062, allocations: 8.375 kB / 0.6222 GB, free: 7.625 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000102/0.1063, allocations: 66.41 kB / 0.6222 GB, free: 7.555 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.1063, allocations: 0 / 0.6222 GB, free: 7.555 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.256e-06/0.1063, allocations: 7.875 kB / 0.6223 GB, free: 7.547 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.1063, allocations: 7.984 kB / 0.6223 GB, free: 7.539 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.399e-05/0.1064, allocations: 39.97 kB / 0.6223 GB, free: 7.5 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001403/0.1065, allocations: 181.6 kB / 0.6225 GB, free: 7.273 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 8.84e-05/0.1066, allocations: 74.59 kB / 0.6225 GB, free: 7.191 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.122e-05/0.1066, allocations: 32.84 kB / 0.6226 GB, free: 7.156 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 6.011e-06/0.1067, allocations: 0 / 0.6226 GB, free: 7.156 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.227e-05/0.1067, allocations: 30.56 kB / 0.6226 GB, free: 7.117 MB / 442.8 MB Notification: Performance of pre-optimization done (n=8): time 7.41e-07/0.1067, allocations: 4 kB / 0.6226 GB, free: 7.113 MB / 442.8 MB Notification: Performance of matching and sorting (n=8): time 0.0001723/0.1069, allocations: 121.4 kB / 0.6227 GB, free: 6.988 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.181e-05/0.1069, allocations: 51.41 kB / 0.6228 GB, free: 6.926 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.521e-05/0.1069, allocations: 101.8 kB / 0.6229 GB, free: 6.816 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 1.025e-05/0.107, allocations: 25.7 kB / 0.6229 GB, free: 6.785 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.385e-05/0.107, allocations: 88.14 kB / 0.623 GB, free: 6.695 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.888e-05/0.107, allocations: 39.39 kB / 0.623 GB, free: 6.656 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.894e-05/0.1071, allocations: 37.7 kB / 0.6231 GB, free: 6.613 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 6.33e-05/0.1071, allocations: 314.8 kB / 0.6234 GB, free: 6.297 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.957e-05/0.1072, allocations: 43.97 kB / 0.6234 GB, free: 6.254 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.231e-05/0.1072, allocations: 68.27 kB / 0.6235 GB, free: 6.172 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001146/0.1074, allocations: 120.1 kB / 0.6236 GB, free: 6.039 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.1074, allocations: 0 / 0.6236 GB, free: 6.039 MB / 442.8 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001572/0.1075, allocations: 145.7 kB / 0.6237 GB, free: 5.891 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.062e-05/0.1075, allocations: 13.34 kB / 0.6237 GB, free: 5.879 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.096e-06/0.1076, allocations: 0 / 0.6237 GB, free: 5.879 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.868e-06/0.1076, allocations: 4 kB / 0.6237 GB, free: 5.875 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001271/0.1077, allocations: 31.92 kB / 0.6238 GB, free: 5.844 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.1077, allocations: 4 kB / 0.6238 GB, free: 5.84 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.836e-05/0.1078, allocations: 12.03 kB / 0.6238 GB, free: 5.828 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-06/0.1078, allocations: 8 kB / 0.6238 GB, free: 5.82 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 (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.76e-05/0.1078, allocations: 126 kB / 0.6239 GB, free: 5.688 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.03e-05/0.1078, allocations: 7.938 kB / 0.6239 GB, free: 5.68 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.484e-05/0.1079, allocations: 7.969 kB / 0.6239 GB, free: 5.668 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.1079, allocations: 0 / 0.6239 GB, free: 5.668 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/0.1079, allocations: 0 / 0.6239 GB, free: 5.668 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.883e-06/0.1079, allocations: 0 / 0.6239 GB, free: 5.668 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.488e-05/0.108, allocations: 181.5 kB / 0.6241 GB, free: 5.441 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.108, allocations: 4 kB / 0.6241 GB, free: 5.438 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001537/0.1082, allocations: 31.98 kB / 0.6241 GB, free: 5.406 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.1082, allocations: 7.875 kB / 0.6241 GB, free: 5.398 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.1082, allocations: 4 kB / 0.6241 GB, free: 5.395 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1082, allocations: 400 / 0.6241 GB, free: 5.395 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.1082, allocations: 0 / 0.6241 GB, free: 5.395 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001588/0.1084, allocations: 150.9 kB / 0.6243 GB, free: 5.23 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.271e-05/0.1084, allocations: 89.03 kB / 0.6244 GB, free: 5.125 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.627e-05/0.1084, allocations: 12 kB / 0.6244 GB, free: 5.113 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.607e-05/0.1084, allocations: 4 kB / 0.6244 GB, free: 5.109 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.122e-05/0.1085, allocations: 7.984 kB / 0.6244 GB, free: 5.102 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.197e-06/0.1085, allocations: 3.938 kB / 0.6244 GB, free: 5.098 MB / 442.8 MB Notification: Performance of sorting global known variables: time 2.276e-05/0.1085, allocations: 79.28 kB / 0.6245 GB, free: 5.02 MB / 442.8 MB Notification: Performance of sort global known variables: time 9e-08/0.1085, allocations: 0 / 0.6245 GB, free: 5.02 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.0001505/0.1087, allocations: 16 kB / 0.6245 GB, free: 5.004 MB / 442.8 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 5.796e-05/0.1087, allocations: 109.2 kB / 0.6246 GB, free: 4.891 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.0001224/0.1089, allocations: 87.89 kB / 0.6247 GB, free: 4.805 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 1.172e-06/0.1089, allocations: 0 / 0.6247 GB, free: 4.805 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 3.964e-05/0.1089, allocations: 35.92 kB / 0.6247 GB, free: 4.77 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001206/0.109, allocations: 11.88 kB / 0.6247 GB, free: 4.758 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006662/0.1097, allocations: 0.6339 MB / 0.6253 GB, free: 4.098 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001549/0.1099, allocations: 0.6924 MB / 0.626 GB, free: 3.379 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 5.272e-05/0.1099, allocations: 28.62 kB / 0.626 GB, free: 3.344 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.068e-05/0.11, allocations: 11.44 kB / 0.626 GB, free: 3.336 MB / 442.8 MB Notification: Performance of SimCode: time 2.01e-07/0.11, allocations: 0 / 0.626 GB, free: 3.336 MB / 442.8 MB Notification: Performance of Templates: time 0.00262/0.1126, allocations: 0.7397 MB / 0.6268 GB, free: 2.613 MB / 442.8 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.sim & ./ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches