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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001419/0.001419, allocations: 114.2 kB / 17.75 MB, free: 5.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001448/0.001449, allocations: 185.4 kB / 18.68 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.295/1.295, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8498/0.8498, allocations: 119.3 MB / 411.9 MB, free: 9.469 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 61.69 kB / 0.5716 GB, free: 39.81 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1306, allocations: 80.7 MB / 0.6504 GB, free: 13.07 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck): time 0.002458/0.1331, allocations: 1.203 MB / 0.6515 GB, free: 11.85 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0002126/0.1333, allocations: 43.86 kB / 0.6516 GB, free: 11.81 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.469e-05/0.1334, allocations: 0 / 0.6516 GB, free: 11.81 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 8.737e-05/0.1334, allocations: 7.922 kB / 0.6516 GB, free: 11.8 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 6.439e-05/0.1335, allocations: 8 kB / 0.6516 GB, free: 11.79 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001874/0.1337, allocations: 27.89 kB / 0.6516 GB, free: 11.77 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0001651/0.1339, allocations: 103.8 kB / 0.6517 GB, free: 11.66 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.545e-05/0.134, allocations: 0 / 0.6517 GB, free: 11.66 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 7.562e-05/0.1341, allocations: 43.95 kB / 0.6518 GB, free: 11.62 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001053/0.1342, allocations: 31.91 kB / 0.6518 GB, free: 11.59 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 3.122e-05/0.1342, allocations: 7.984 kB / 0.6518 GB, free: 11.58 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 2.164e-05/0.1342, allocations: 4 kB / 0.6518 GB, free: 11.58 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 6.029e-05/0.1343, allocations: 23.95 kB / 0.6518 GB, free: 11.55 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 7.221e-05/0.1344, allocations: 31.86 kB / 0.6519 GB, free: 11.52 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0001124/0.1345, allocations: 55.8 kB / 0.6519 GB, free: 11.47 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1345, allocations: 0 / 0.6519 GB, free: 11.47 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.763e-06/0.1345, allocations: 0 / 0.6519 GB, free: 11.47 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 7.233e-06/0.1345, allocations: 3.938 kB / 0.6519 GB, free: 11.46 MB / 0.4983 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.0007126/0.1353, allocations: 399.4 kB / 0.6523 GB, free: 11.02 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.1353, allocations: 8.031 kB / 0.6523 GB, free: 11.02 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.131e-05/0.1354, allocations: 12.84 kB / 0.6523 GB, free: 11 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002048/0.1356, allocations: 184.3 kB / 0.6525 GB, free: 10.79 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.1356, allocations: 8.375 kB / 0.6525 GB, free: 10.78 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.658e-05/0.1356, allocations: 12.28 kB / 0.6525 GB, free: 10.77 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001682/0.1358, allocations: 82.2 kB / 0.6526 GB, free: 10.68 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/0.1358, allocations: 8.188 kB / 0.6526 GB, free: 10.67 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.1358, allocations: 3.938 kB / 0.6526 GB, free: 10.67 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.1359, allocations: 0 / 0.6526 GB, free: 10.67 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.844e-05/0.1359, allocations: 43.95 kB / 0.6527 GB, free: 10.62 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002494/0.1362, allocations: 213.6 kB / 0.6529 GB, free: 10.37 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003697/0.1366, allocations: 134.5 kB / 0.653 GB, free: 10.23 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.281e-05/0.1367, allocations: 49.16 kB / 0.653 GB, free: 10.18 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 1.291e-05/0.1367, allocations: 7.938 kB / 0.653 GB, free: 10.17 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.395e-05/0.1367, allocations: 34.56 kB / 0.6531 GB, free: 10.12 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=12): time 1.683e-06/0.1367, allocations: 0 / 0.6531 GB, free: 10.12 MB / 0.4983 GB Notification: Performance of matching and sorting (n=12): time 0.0007179/0.1374, allocations: 307.3 kB / 0.6534 GB, free: 9.797 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.774e-05/0.1375, allocations: 55.41 kB / 0.6534 GB, free: 9.73 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.448e-05/0.1376, allocations: 101.8 kB / 0.6535 GB, free: 9.621 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 1.821e-05/0.1376, allocations: 29.7 kB / 0.6535 GB, free: 9.586 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 3.082e-05/0.1376, allocations: 82.48 kB / 0.6536 GB, free: 9.504 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 4.809e-05/0.1377, allocations: 47.36 kB / 0.6537 GB, free: 9.457 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.853e-05/0.1377, allocations: 45.98 kB / 0.6537 GB, free: 9.406 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 9.199e-05/0.1378, allocations: 326.8 kB / 0.654 GB, free: 9.078 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.574e-05/0.1379, allocations: 43.97 kB / 0.6541 GB, free: 9.035 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001001/0.138, allocations: 92.2 kB / 0.6542 GB, free: 8.93 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001861/0.1382, allocations: 160.1 kB / 0.6543 GB, free: 8.758 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.1382, allocations: 0 / 0.6543 GB, free: 8.758 MB / 0.4983 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004124/0.1386, allocations: 226.6 kB / 0.6545 GB, free: 8.527 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.1387, allocations: 11.09 kB / 0.6545 GB, free: 8.52 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.1387, allocations: 3.938 kB / 0.6545 GB, free: 8.516 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003328/0.139, allocations: 60.8 kB / 0.6546 GB, free: 8.453 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001167/0.1391, allocations: 35.92 kB / 0.6546 GB, free: 8.418 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001356/0.1405, allocations: 1.582 MB / 0.6562 GB, free: 6.688 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.898e-05/0.1406, allocations: 15.95 kB / 0.6562 GB, free: 6.672 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.259e-05/0.1406, allocations: 8 kB / 0.6562 GB, free: 6.664 MB / 0.4983 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 () * 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 9.391e-05/0.1407, allocations: 122.6 kB / 0.6563 GB, free: 6.535 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.89e-05/0.1407, allocations: 11.91 kB / 0.6563 GB, free: 6.523 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.346e-05/0.1408, allocations: 11.97 kB / 0.6563 GB, free: 6.516 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.1408, allocations: 3.984 kB / 0.6563 GB, free: 6.512 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1408, allocations: 3.938 kB / 0.6563 GB, free: 6.508 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 3.398e-05/0.1408, allocations: 93.02 kB / 0.6564 GB, free: 6.398 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.958e-05/0.1409, allocations: 15.94 kB / 0.6564 GB, free: 6.383 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.294e-05/0.1409, allocations: 0 / 0.6564 GB, free: 6.383 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.046e-05/0.141, allocations: 11.97 kB / 0.6565 GB, free: 6.371 MB / 0.4983 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006055/0.1416, allocations: 313.5 kB / 0.6568 GB, free: 6.055 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003489/0.1419, allocations: 386.4 kB / 0.6571 GB, free: 5.66 MB / 0.4983 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.216e-05/0.142, allocations: 55.92 kB / 0.6572 GB, free: 5.605 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 3.371e-05/0.1421, allocations: 83.22 kB / 0.6573 GB, free: 5.523 MB / 0.4983 GB Notification: Performance of Backend: time 6.31e-07/0.1421, allocations: 4 kB / 0.6573 GB, free: 5.52 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0007225/0.1428, allocations: 304.9 kB / 0.6576 GB, free: 5.203 MB / 0.4983 GB Notification: Performance of SimCode: time 0.001049/0.1439, allocations: 1.099 MB / 0.6586 GB, free: 4.055 MB / 0.4983 GB Notification: Performance of Templates: time 0.004011/0.1479, allocations: 1.491 MB / 0.6601 GB, free: 2.602 MB / 0.4983 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches