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/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.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 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_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/Complex 4.0.0+maint.om/package.mo): time 0.00165/0.00165, allocations: 175.7 kB / 8.347 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.301/1.301, allocations: 221.5 MB / 230.3 MB, free: 7.578 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009028/0.0009028, allocations: 102.4 kB / 281.2 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8802/0.8802, allocations: 120.5 MB / 452.4 MB, free: 10.5 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 1.35e-05/1.361e-05, allocations: 0 / 0.5288 GB, free: 1.316 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5487/0.5487, allocations: 82.85 MB / 0.6097 GB, free: 13.05 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1475/0.6963, allocations: 124.6 MB / 0.7314 GB, free: 324 kB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001426/0.6965, allocations: 47.97 kB / 0.7314 GB, free: 280 kB / 0.5263 GB Notification: Performance of FrontEnd - DAE generated: time 0.003644/0.7001, allocations: 1.254 MB / 0.7326 GB, free: 15.01 MB / 0.5419 GB Notification: Performance of FrontEnd: time 1.493e-06/0.7002, allocations: 0 / 0.7326 GB, free: 15.01 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 7.504e-06/0.7002, allocations: 0 / 0.7326 GB, free: 15.01 MB / 0.5419 GB 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.0004233/0.7006, allocations: 366.5 kB / 0.733 GB, free: 14.61 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.7006, allocations: 12.02 kB / 0.733 GB, free: 14.6 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.521e-05/0.7007, allocations: 11.86 kB / 0.733 GB, free: 14.59 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001749/0.7009, allocations: 190.9 kB / 0.7332 GB, free: 14.36 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.702e-06/0.7009, allocations: 0 / 0.7332 GB, free: 14.36 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.104e-05/0.7009, allocations: 8 kB / 0.7332 GB, free: 14.35 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001078/0.701, allocations: 39.97 kB / 0.7332 GB, free: 14.31 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001242/0.7012, allocations: 73.66 kB / 0.7333 GB, free: 14.23 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.7012, allocations: 7.844 kB / 0.7333 GB, free: 14.23 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/0.7012, allocations: 3.953 kB / 0.7333 GB, free: 14.22 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.7012, allocations: 0 / 0.7333 GB, free: 14.22 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002115/0.7014, allocations: 182.2 kB / 0.7335 GB, free: 14.01 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000338/0.7018, allocations: 134.5 kB / 0.7336 GB, free: 13.87 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.115e-05/0.7019, allocations: 48.84 kB / 0.7337 GB, free: 13.82 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.336e-05/0.7019, allocations: 0 / 0.7337 GB, free: 13.82 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.867e-05/0.7019, allocations: 30.56 kB / 0.7337 GB, free: 13.78 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=12): time 1.032e-06/0.7019, allocations: 0 / 0.7337 GB, free: 13.78 MB / 0.5419 GB Notification: Performance of matching and sorting (n=12): time 0.0004276/0.7023, allocations: 178.8 kB / 0.7339 GB, free: 13.59 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.97e-05/0.7024, allocations: 55.41 kB / 0.7339 GB, free: 13.52 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.956e-05/0.7025, allocations: 89 kB / 0.734 GB, free: 13.43 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 1.683e-05/0.7025, allocations: 29.7 kB / 0.734 GB, free: 13.39 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 2.87e-05/0.7025, allocations: 84.12 kB / 0.7341 GB, free: 13.31 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 5.624e-05/0.7026, allocations: 47.3 kB / 0.7342 GB, free: 13.26 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.324e-06/0.7026, allocations: 0 / 0.7342 GB, free: 13.26 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.7027, allocations: 318.8 kB / 0.7345 GB, free: 12.94 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.174e-05/0.7028, allocations: 51.97 kB / 0.7345 GB, free: 12.89 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.86e-05/0.7029, allocations: 76.27 kB / 0.7346 GB, free: 12.8 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.635e-05/0.703, allocations: 55.95 kB / 0.7346 GB, free: 12.75 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.703, allocations: 3.938 kB / 0.7346 GB, free: 12.74 MB / 0.5419 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003906/0.7034, allocations: 214.2 kB / 0.7348 GB, free: 12.52 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.7034, allocations: 4 kB / 0.7348 GB, free: 12.52 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.7034, allocations: 4 kB / 0.7349 GB, free: 12.52 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003081/0.7037, allocations: 73.03 kB / 0.7349 GB, free: 12.44 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001188/0.7039, allocations: 35.92 kB / 0.735 GB, free: 12.41 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001297/0.7052, allocations: 1.408 MB / 0.7363 GB, free: 10.88 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.627e-05/0.7053, allocations: 11.88 kB / 0.7363 GB, free: 10.87 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.118e-05/0.7053, allocations: 4 kB / 0.7363 GB, free: 10.87 MB / 0.5419 GB 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.934e-05/0.7054, allocations: 104.9 kB / 0.7364 GB, free: 10.76 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.503e-05/0.7054, allocations: 11.97 kB / 0.7365 GB, free: 10.75 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.477e-05/0.7054, allocations: 16.39 kB / 0.7365 GB, free: 10.72 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.7054, allocations: 4 kB / 0.7365 GB, free: 10.72 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.7055, allocations: 0 / 0.7365 GB, free: 10.72 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.7055, allocations: 0 / 0.7365 GB, free: 10.72 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001781/0.7056, allocations: 186.1 kB / 0.7367 GB, free: 10.5 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.7057, allocations: 0 / 0.7367 GB, free: 10.5 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001694/0.7058, allocations: 31.92 kB / 0.7367 GB, free: 10.47 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002494/0.7061, allocations: 60.8 kB / 0.7367 GB, free: 10.41 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.864e-05/0.7061, allocations: 7.984 kB / 0.7368 GB, free: 10.4 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001228/0.7074, allocations: 1.409 MB / 0.7381 GB, free: 8.875 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.7074, allocations: 0 / 0.7381 GB, free: 8.875 MB / 0.5419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004213/0.7078, allocations: 246 kB / 0.7384 GB, free: 8.613 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.004e-05/0.7079, allocations: 92.95 kB / 0.7384 GB, free: 8.504 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.776e-05/0.7079, allocations: 4 kB / 0.7385 GB, free: 8.5 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.217e-05/0.708, allocations: 3.984 kB / 0.7385 GB, free: 8.496 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.059e-05/0.708, allocations: 11.94 kB / 0.7385 GB, free: 8.484 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.987e-06/0.708, allocations: 7.938 kB / 0.7385 GB, free: 8.477 MB / 0.5419 GB Notification: Performance of sorting global known variables: time 3.107e-05/0.7081, allocations: 75.28 kB / 0.7385 GB, free: 8.402 MB / 0.5419 GB Notification: Performance of sort global known variables: time 2.3e-07/0.7081, allocations: 0 / 0.7385 GB, free: 8.402 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0002292/0.7083, allocations: 28 kB / 0.7386 GB, free: 8.375 MB / 0.5419 GB 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001395/0.7085, allocations: 110.6 kB / 0.7387 GB, free: 8.262 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.0004651/0.7089, allocations: 229.6 kB / 0.7389 GB, free: 8.027 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.7089, allocations: 0 / 0.7389 GB, free: 8.027 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002598/0.7092, allocations: 181.8 kB / 0.7391 GB, free: 7.84 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000142/0.7094, allocations: 4.25 kB / 0.7391 GB, free: 7.836 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008388/0.7102, allocations: 0.6456 MB / 0.7397 GB, free: 7.164 MB / 0.5419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002757/0.7105, allocations: 0.7079 MB / 0.7404 GB, free: 6.43 MB / 0.5419 GB Notification: Performance of simCode: alias equations: time 6.658e-05/0.7106, allocations: 28.52 kB / 0.7404 GB, free: 6.402 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.634e-05/0.7106, allocations: 11.44 kB / 0.7404 GB, free: 6.391 MB / 0.5419 GB Notification: Performance of SimCode: time 6.81e-07/0.7106, allocations: 0 / 0.7404 GB, free: 6.391 MB / 0.5419 GB Notification: Performance of Templates: time 0.003417/0.714, allocations: 1.191 MB / 0.7416 GB, free: 5.234 MB / 0.5419 GB 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 -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","../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches