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.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.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.001553/0.001553, allocations: 174.8 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.245/1.245, allocations: 221.3 MB / 235.5 MB, free: 2.977 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.0008647/0.0008648, allocations: 94.66 kB / 286.5 MB, free: 256 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8632/0.8632, allocations: 120.5 MB / 457.9 MB, free: 7.051 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 2.524e-05/2.526e-05, allocations: 0 / 0.5357 GB, free: 12.21 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4983/0.4983, allocations: 82.85 MB / 0.6166 GB, free: 9.34 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1293/0.6277, allocations: 125.2 MB / 0.7389 GB, free: 11.98 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001186/0.6278, allocations: 47.98 kB / 0.739 GB, free: 11.93 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.002663/0.6305, allocations: 1.024 MB / 0.74 GB, free: 10.91 MB / 0.5419 GB Notification: Performance of FrontEnd: time 1.403e-06/0.6305, allocations: 0 / 0.74 GB, free: 10.91 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.6305, allocations: 0 / 0.74 GB, free: 10.91 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0002874/0.6308, allocations: 350.5 kB / 0.7403 GB, free: 10.52 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.6309, allocations: 8.031 kB / 0.7403 GB, free: 10.51 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.109e-05/0.6309, allocations: 11.86 kB / 0.7403 GB, free: 10.5 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001443/0.6311, allocations: 171.1 kB / 0.7405 GB, free: 10.29 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.418e-06/0.6311, allocations: 4 kB / 0.7405 GB, free: 10.29 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.89e-05/0.6311, allocations: 12 kB / 0.7405 GB, free: 10.28 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001288/0.6312, allocations: 73.59 kB / 0.7406 GB, free: 10.2 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.6313, allocations: 0 / 0.7406 GB, free: 10.2 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.6313, allocations: 3.984 kB / 0.7406 GB, free: 10.2 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.6313, allocations: 3.953 kB / 0.7406 GB, free: 10.19 MB / 0.5419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.24e-05/0.6314, allocations: 27.98 kB / 0.7406 GB, free: 10.16 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001892/0.6316, allocations: 185.5 kB / 0.7408 GB, free: 9.934 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000105/0.6317, allocations: 70.56 kB / 0.7408 GB, free: 9.855 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.07e-05/0.6317, allocations: 28.86 kB / 0.7409 GB, free: 9.824 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.085e-05/0.6318, allocations: 4 kB / 0.7409 GB, free: 9.82 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.85e-05/0.6318, allocations: 38.48 kB / 0.7409 GB, free: 9.773 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=8): time 1.022e-06/0.6318, allocations: 0 / 0.7409 GB, free: 9.773 MB / 0.5419 GB Notification: Performance of matching and sorting (n=8): time 0.0001703/0.632, allocations: 94.2 kB / 0.741 GB, free: 9.672 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.393e-05/0.632, allocations: 51.41 kB / 0.741 GB, free: 9.609 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.329e-05/0.632, allocations: 96.95 kB / 0.7411 GB, free: 9.508 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 1.461e-05/0.6321, allocations: 25.7 kB / 0.7412 GB, free: 9.477 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 2.513e-05/0.6321, allocations: 88.14 kB / 0.7412 GB, free: 9.387 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 3.355e-05/0.6321, allocations: 39.45 kB / 0.7413 GB, free: 9.348 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.559e-06/0.6321, allocations: 0 / 0.7413 GB, free: 9.348 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 8.268e-05/0.6322, allocations: 322.8 kB / 0.7416 GB, free: 9.023 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.817e-05/0.6323, allocations: 31.98 kB / 0.7416 GB, free: 8.992 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.36e-05/0.6324, allocations: 68.28 kB / 0.7417 GB, free: 8.91 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.46e-05/0.6325, allocations: 59.89 kB / 0.7417 GB, free: 8.852 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.6325, allocations: 0 / 0.7417 GB, free: 8.852 MB / 0.5419 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001872/0.6327, allocations: 137.5 kB / 0.7419 GB, free: 8.711 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.6327, allocations: 7.984 kB / 0.7419 GB, free: 8.703 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.6327, allocations: 4 kB / 0.7419 GB, free: 8.699 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.878e-06/0.6327, allocations: 3.938 kB / 0.7419 GB, free: 8.695 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00015/0.6329, allocations: 31.98 kB / 0.7419 GB, free: 8.664 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.6329, allocations: 12.12 kB / 0.7419 GB, free: 8.652 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.469e-05/0.6329, allocations: 4.125 kB / 0.7419 GB, free: 8.648 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.087e-05/0.6329, allocations: 15.89 kB / 0.7419 GB, free: 8.633 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 (16): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.546e-05/0.633, allocations: 112.9 kB / 0.7421 GB, free: 8.516 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.346e-05/0.633, allocations: 11.89 kB / 0.7421 GB, free: 8.504 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.517e-05/0.6331, allocations: 8.094 kB / 0.7421 GB, free: 8.492 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.6331, allocations: 0 / 0.7421 GB, free: 8.492 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.6331, allocations: 0 / 0.7421 GB, free: 8.492 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.6331, allocations: 3.984 kB / 0.7421 GB, free: 8.488 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001156/0.6332, allocations: 185.6 kB / 0.7423 GB, free: 8.258 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.634e-06/0.6332, allocations: 4 kB / 0.7423 GB, free: 8.254 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001741/0.6334, allocations: 23.98 kB / 0.7423 GB, free: 8.23 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.6334, allocations: 0 / 0.7423 GB, free: 8.23 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.672e-05/0.6334, allocations: 11.98 kB / 0.7423 GB, free: 8.219 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.6334, allocations: 0 / 0.7423 GB, free: 8.219 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.6334, allocations: 0 / 0.7423 GB, free: 8.219 MB / 0.5419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001925/0.6336, allocations: 147.2 kB / 0.7424 GB, free: 8.059 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 3.006e-05/0.6337, allocations: 96.89 kB / 0.7425 GB, free: 7.945 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.845e-05/0.6337, allocations: 3.984 kB / 0.7425 GB, free: 7.941 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.07e-05/0.6338, allocations: 4 kB / 0.7425 GB, free: 7.938 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.901e-05/0.6338, allocations: 4.062 kB / 0.7425 GB, free: 7.934 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.061e-06/0.6338, allocations: 4 kB / 0.7425 GB, free: 7.93 MB / 0.5419 GB Notification: Performance of sorting global known variables: time 2.849e-05/0.6338, allocations: 83.28 kB / 0.7426 GB, free: 7.848 MB / 0.5419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6338, allocations: 0 / 0.7426 GB, free: 7.848 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0001808/0.634, allocations: 12 kB / 0.7426 GB, free: 7.836 MB / 0.5419 GB 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.151e-05/0.6341, allocations: 107.2 kB / 0.7427 GB, free: 7.723 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.0001418/0.6343, allocations: 83.91 kB / 0.7428 GB, free: 7.641 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.6343, allocations: 0 / 0.7428 GB, free: 7.641 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 5.154e-05/0.6343, allocations: 40.47 kB / 0.7429 GB, free: 7.602 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001073/0.6344, allocations: 4.766 kB / 0.7429 GB, free: 7.598 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007146/0.6352, allocations: 0.6113 MB / 0.7435 GB, free: 6.965 MB / 0.5419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001912/0.6354, allocations: 0.6926 MB / 0.7441 GB, free: 6.246 MB / 0.5419 GB Notification: Performance of simCode: alias equations: time 6.707e-05/0.6354, allocations: 32.62 kB / 0.7442 GB, free: 6.211 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.647e-05/0.6355, allocations: 11.44 kB / 0.7442 GB, free: 6.199 MB / 0.5419 GB Notification: Performance of SimCode: time 2.51e-07/0.6355, allocations: 0 / 0.7442 GB, free: 6.199 MB / 0.5419 GB Notification: Performance of Templates: time 0.002124/0.6376, allocations: 0.6209 MB / 0.7448 GB, free: 5.609 MB / 0.5419 GB 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/jenkins/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