Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.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.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20,tolerance=1e-08,outputFormat="mat",numberOfIntervals=3998,variableFilter="cur.1.|cur.20.|cur.2.|cur.3.|cur.4.|cur.5.|der.cur.1..|der.cur.2..|der.cur.3..|der.cur.4..|der.cur.5..|der.vol.1..|der.vol.20..|der.vol.2..|der.vol.3..|der.vol.4..|der.vol.5..|time|time|vol.1.|vol.20.|vol.2.|vol.3.|vol.4.|vol.5.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20") translateModel(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20,tolerance=1e-08,outputFormat="mat",numberOfIntervals=3998,variableFilter="cur.1.|cur.20.|cur.2.|cur.3.|cur.4.|cur.5.|der.cur.1..|der.cur.2..|der.cur.3..|der.cur.4..|der.cur.5..|der.vol.1..|der.vol.20..|der.vol.2..|der.vol.3..|der.vol.4..|der.vol.5..|time|time|vol.1.|vol.20.|vol.2.|vol.3.|vol.4.|vol.5.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001405/0.001405, allocations: 107.8 kB / 17.74 MB, free: 5.359 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.001493/0.001494, allocations: 187.1 kB / 18.67 MB, free: 4.438 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.409/1.409, allocations: 222.9 MB / 242.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9545/0.9545, allocations: 119.3 MB / 411.9 MB, free: 9.5 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 60.84 kB / 0.573 GB, free: 38.89 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.1322, allocations: 80.7 MB / 0.6519 GB, free: 11.59 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20): time 0.002265/0.1345, allocations: 1.343 MB / 0.6532 GB, free: 10.23 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0002358/0.1348, allocations: 63.77 kB / 0.6532 GB, free: 10.17 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.032e-05/0.1348, allocations: 0 / 0.6532 GB, free: 10.17 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 9.708e-05/0.1349, allocations: 7.938 kB / 0.6532 GB, free: 10.16 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 8.562e-05/0.135, allocations: 15.86 kB / 0.6532 GB, free: 10.15 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001437/0.1352, allocations: 19.95 kB / 0.6533 GB, free: 10.13 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0003368/0.1355, allocations: 363.3 kB / 0.6536 GB, free: 9.773 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.628e-05/0.1356, allocations: 4 kB / 0.6536 GB, free: 9.77 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001166/0.1357, allocations: 127.8 kB / 0.6537 GB, free: 9.645 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002702/0.136, allocations: 175.6 kB / 0.6539 GB, free: 9.473 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 5.305e-05/0.136, allocations: 20 kB / 0.6539 GB, free: 9.453 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 5.492e-05/0.1361, allocations: 20 kB / 0.6539 GB, free: 9.434 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001377/0.1363, allocations: 135.7 kB / 0.6541 GB, free: 9.301 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0001646/0.1364, allocations: 155.3 kB / 0.6542 GB, free: 9.148 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0002309/0.1367, allocations: 247.2 kB / 0.6545 GB, free: 8.906 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.1367, allocations: 0 / 0.6545 GB, free: 8.906 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.102e-06/0.1367, allocations: 0 / 0.6545 GB, free: 8.906 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 9.237e-06/0.1367, allocations: 0 / 0.6545 GB, free: 8.906 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001686/0.1384, allocations: 0.7493 MB / 0.6552 GB, free: 8.102 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.1384, allocations: 11.89 kB / 0.6552 GB, free: 8.09 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.752e-05/0.1385, allocations: 32.64 kB / 0.6552 GB, free: 8.059 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003714/0.1389, allocations: 248.1 kB / 0.6555 GB, free: 7.777 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.862e-05/0.1389, allocations: 32.92 kB / 0.6555 GB, free: 7.746 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.961e-05/0.139, allocations: 60.19 kB / 0.6556 GB, free: 7.688 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005672/0.1396, allocations: 353.2 kB / 0.6559 GB, free: 7.34 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.1396, allocations: 192 / 0.6559 GB, free: 7.34 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.831e-05/0.1397, allocations: 19.86 kB / 0.6559 GB, free: 7.32 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.1397, allocations: 8 kB / 0.6559 GB, free: 7.312 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003636/0.14, allocations: 202.1 kB / 0.6561 GB, free: 7.113 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002054/0.1421, allocations: 0.9942 MB / 0.6571 GB, free: 6.07 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003953/0.1461, allocations: 1.225 MB / 0.6583 GB, free: 4.836 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002819/0.1464, allocations: 184.8 kB / 0.6585 GB, free: 4.652 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 3.051e-05/0.1464, allocations: 8 kB / 0.6585 GB, free: 4.645 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.661e-05/0.1464, allocations: 38.5 kB / 0.6585 GB, free: 4.598 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=42): time 1.973e-06/0.1464, allocations: 0 / 0.6585 GB, free: 4.598 MB / 0.4983 GB Notification: Performance of matching and sorting (n=42): time 0.0009873/0.1474, allocations: 0.5745 MB / 0.6591 GB, free: 4.016 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.882e-05/0.1475, allocations: 55.41 kB / 0.6591 GB, free: 3.949 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.1476, allocations: 129.8 kB / 0.6592 GB, free: 3.812 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 4.118e-05/0.1476, allocations: 41.7 kB / 0.6593 GB, free: 3.766 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 6.524e-05/0.1477, allocations: 117.2 kB / 0.6594 GB, free: 3.645 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001395/0.1478, allocations: 189.2 kB / 0.6596 GB, free: 3.457 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001571/0.148, allocations: 122.3 kB / 0.6597 GB, free: 3.332 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.1481, allocations: 346.8 kB / 0.66 GB, free: 2.984 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003445/0.1485, allocations: 225.2 kB / 0.6602 GB, free: 2.766 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003455/0.1488, allocations: 233.8 kB / 0.6605 GB, free: 2.535 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007089/0.1495, allocations: 0.4931 MB / 0.6609 GB, free: 2.039 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.1496, allocations: 0 / 0.6609 GB, free: 2.039 MB / 0.4983 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0009035/0.1505, allocations: 0.6295 MB / 0.6615 GB, free: 1.402 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.1505, allocations: 4 kB / 0.6616 GB, free: 1.398 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.1505, allocations: 0 / 0.6616 GB, free: 1.398 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.1505, allocations: 4 kB / 0.6616 GB, free: 1.395 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009002/0.1514, allocations: 219.8 kB / 0.6618 GB, free: 1.18 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.503e-05/0.1514, allocations: 4 kB / 0.6618 GB, free: 1.176 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002684/0.1517, allocations: 63.5 kB / 0.6618 GB, free: 1.113 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.55e-05/0.1518, allocations: 20 kB / 0.6619 GB, free: 1.094 MB / 0.4983 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (82): * Single equations (assignments): 82 * 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 0.0001544/0.1519, allocations: 162.6 kB / 0.662 GB, free: 0.9258 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.434e-05/0.152, allocations: 23.75 kB / 0.662 GB, free: 0.9023 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001574/0.1522, allocations: 49.97 kB / 0.6621 GB, free: 0.8516 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.1522, allocations: 3.984 kB / 0.6621 GB, free: 0.8477 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1522, allocations: 0 / 0.6621 GB, free: 0.8477 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 5.259e-05/0.1522, allocations: 100.8 kB / 0.6622 GB, free: 0.7305 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.032e-05/0.1523, allocations: 27.91 kB / 0.6622 GB, free: 0.7031 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002917/0.1526, allocations: 28.34 kB / 0.6622 GB, free: 0.6758 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.487e-05/0.1527, allocations: 23.95 kB / 0.6623 GB, free: 0.6523 MB / 0.4983 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003587/0.1563, allocations: 1.09 MB / 0.6633 GB, free: 15.55 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001351/0.1576, allocations: 0.9626 MB / 0.6643 GB, free: 14.57 MB / 0.5139 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003728/0.158, allocations: 235.6 kB / 0.6645 GB, free: 14.34 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 4.655e-05/0.1581, allocations: 87.28 kB / 0.6646 GB, free: 14.26 MB / 0.5139 GB Notification: Performance of Backend: time 3.91e-07/0.1581, allocations: 0 / 0.6646 GB, free: 14.26 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.0007992/0.1589, allocations: 448.9 kB / 0.665 GB, free: 13.82 MB / 0.5139 GB Notification: Performance of SimCode: time 0.00327/0.1622, allocations: 3.082 MB / 0.668 GB, free: 10.68 MB / 0.5139 GB Notification: Performance of Templates: time 0.009186/0.1714, allocations: 5.359 MB / 0.6732 GB, free: 5.355 MB / 0.5139 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches