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.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_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.001406/0.001407, allocations: 177.1 kB / 8.35 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.246/1.246, 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.0009002/0.0009001, allocations: 99.05 kB / 281.2 MB, free: 5.328 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8486/0.8486, allocations: 120.4 MB / 452.4 MB, free: 10.5 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 1.112e-05/1.115e-05, allocations: 0 / 0.5288 GB, free: 1.316 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5286/0.5286, allocations: 82.83 MB / 0.6097 GB, free: 13.07 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1398/0.6684, allocations: 124.6 MB / 0.7313 GB, free: 328 kB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001267/0.6686, allocations: 51.97 kB / 0.7314 GB, free: 280 kB / 0.5263 GB Notification: Performance of FrontEnd - DAE generated: time 0.003596/0.6722, allocations: 1.254 MB / 0.7326 GB, free: 15.01 MB / 0.5419 GB Notification: Performance of FrontEnd: time 1.373e-06/0.6722, allocations: 0 / 0.7326 GB, free: 15.01 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 1.245e-05/0.6722, allocations: 4 kB / 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.0004087/0.6726, allocations: 366.5 kB / 0.733 GB, free: 14.61 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.6727, allocations: 12.03 kB / 0.733 GB, free: 14.59 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.247e-05/0.6727, allocations: 15.8 kB / 0.733 GB, free: 14.58 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001751/0.6729, allocations: 175 kB / 0.7332 GB, free: 14.37 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.6729, allocations: 4 kB / 0.7332 GB, free: 14.36 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.648e-05/0.673, allocations: 8 kB / 0.7332 GB, free: 14.36 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001036/0.6731, allocations: 39.97 kB / 0.7332 GB, free: 14.32 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001207/0.6732, allocations: 77.66 kB / 0.7333 GB, free: 14.23 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/0.6732, allocations: 3.906 kB / 0.7333 GB, free: 14.23 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.6732, allocations: 7.891 kB / 0.7333 GB, free: 14.22 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.6733, allocations: 7.984 kB / 0.7333 GB, free: 14.21 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002191/0.6735, allocations: 182.1 kB / 0.7335 GB, free: 14 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003394/0.6738, allocations: 122.5 kB / 0.7336 GB, free: 13.87 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.907e-05/0.6739, allocations: 48.84 kB / 0.7336 GB, free: 13.82 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.246e-05/0.6739, allocations: 0 / 0.7336 GB, free: 13.82 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.258e-05/0.674, allocations: 38.56 kB / 0.7337 GB, free: 13.77 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=12): time 1.143e-06/0.674, allocations: 0 / 0.7337 GB, free: 13.77 MB / 0.5419 GB Notification: Performance of matching and sorting (n=12): time 0.0004226/0.6744, allocations: 167 kB / 0.7338 GB, free: 13.6 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.621e-05/0.6744, allocations: 55.34 kB / 0.7339 GB, free: 13.53 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.296e-05/0.6745, allocations: 96.98 kB / 0.734 GB, free: 13.43 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 1.589e-05/0.6745, allocations: 25.7 kB / 0.734 GB, free: 13.4 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 3.235e-05/0.6746, allocations: 84.14 kB / 0.7341 GB, free: 13.31 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 4.625e-05/0.6746, allocations: 47.3 kB / 0.7341 GB, free: 13.27 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.334e-06/0.6746, allocations: 0 / 0.7341 GB, free: 13.27 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001123/0.6748, allocations: 322.8 kB / 0.7344 GB, free: 12.94 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.88e-05/0.6748, allocations: 43.98 kB / 0.7345 GB, free: 12.9 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.369e-05/0.6749, allocations: 84.27 kB / 0.7346 GB, free: 12.8 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.41e-05/0.675, allocations: 63.89 kB / 0.7346 GB, free: 12.74 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.675, allocations: 0 / 0.7346 GB, free: 12.74 MB / 0.5419 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003983/0.6754, allocations: 210.3 kB / 0.7348 GB, free: 12.52 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.6755, allocations: 8 kB / 0.7348 GB, free: 12.52 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.6755, allocations: 3.938 kB / 0.7348 GB, free: 12.51 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000295/0.6758, allocations: 60.78 kB / 0.7349 GB, free: 12.45 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001432/0.6759, allocations: 31.98 kB / 0.7349 GB, free: 12.42 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001253/0.6772, allocations: 1.42 MB / 0.7363 GB, free: 10.88 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.559e-05/0.6773, allocations: 11.88 kB / 0.7363 GB, free: 10.87 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.264e-05/0.6773, allocations: 8 kB / 0.7363 GB, free: 10.86 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.765e-05/0.6774, allocations: 112.9 kB / 0.7364 GB, free: 10.75 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.352e-05/0.6774, allocations: 3.906 kB / 0.7364 GB, free: 10.74 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.384e-05/0.6774, allocations: 16.41 kB / 0.7365 GB, free: 10.72 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.6775, allocations: 0 / 0.7365 GB, free: 10.72 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.6775, allocations: 4.062 kB / 0.7365 GB, free: 10.71 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.6775, allocations: 3.938 kB / 0.7365 GB, free: 10.71 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001614/0.6776, allocations: 186.1 kB / 0.7366 GB, free: 10.49 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.6777, allocations: 4 kB / 0.7367 GB, free: 10.49 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001713/0.6778, allocations: 23.98 kB / 0.7367 GB, free: 10.46 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002498/0.6781, allocations: 56.8 kB / 0.7367 GB, free: 10.41 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.797e-05/0.6781, allocations: 11.98 kB / 0.7367 GB, free: 10.39 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001152/0.6793, allocations: 1.405 MB / 0.7381 GB, free: 8.875 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.6793, allocations: 3.938 kB / 0.7381 GB, free: 8.871 MB / 0.5419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004172/0.6797, allocations: 246.2 kB / 0.7384 GB, free: 8.609 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 3.939e-05/0.6798, allocations: 89.02 kB / 0.7384 GB, free: 8.504 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.985e-05/0.6798, allocations: 7.984 kB / 0.7384 GB, free: 8.496 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.16e-05/0.6799, allocations: 0 / 0.7384 GB, free: 8.496 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.827e-05/0.6799, allocations: 15.88 kB / 0.7385 GB, free: 8.48 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.096e-05/0.6799, allocations: 12 kB / 0.7385 GB, free: 8.469 MB / 0.5419 GB Notification: Performance of sorting global known variables: time 2.915e-05/0.6799, allocations: 79.28 kB / 0.7385 GB, free: 8.391 MB / 0.5419 GB Notification: Performance of sort global known variables: time 1.5e-07/0.68, allocations: 0 / 0.7385 GB, free: 8.391 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0002267/0.6802, allocations: 24 kB / 0.7386 GB, free: 8.367 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.0001147/0.6803, allocations: 103.2 kB / 0.7387 GB, free: 8.258 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.0004344/0.6807, allocations: 237.6 kB / 0.7389 GB, free: 8.016 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.6808, allocations: 4 kB / 0.7389 GB, free: 8.012 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002552/0.681, allocations: 173.7 kB / 0.7391 GB, free: 7.832 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000122/0.6812, allocations: 6.438 kB / 0.7391 GB, free: 7.828 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007791/0.682, allocations: 0.6418 MB / 0.7397 GB, free: 7.16 MB / 0.5419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002544/0.6822, allocations: 0.7079 MB / 0.7404 GB, free: 6.426 MB / 0.5419 GB Notification: Performance of simCode: alias equations: time 6.888e-05/0.6823, allocations: 28.52 kB / 0.7404 GB, free: 6.398 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.218e-05/0.6823, allocations: 11.44 kB / 0.7404 GB, free: 6.387 MB / 0.5419 GB Notification: Performance of SimCode: time 2.5e-07/0.6823, allocations: 0 / 0.7404 GB, free: 6.387 MB / 0.5419 GB Notification: Performance of Templates: time 0.00312/0.6855, allocations: 1.176 MB / 0.7416 GB, free: 5.246 MB / 0.5419 GB 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/jenkins/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