Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.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: "" <> buildModelFMU(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_TransmissionLine_ScaledExperiments_TransmissionLineEquations_N_10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_TransmissionLine_ScaledExperiments_TransmissionLineEquations_N_10",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 108.4 kB / 17.06 MB, free: 5.973 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.0009571/0.0009572, allocations: 198.8 kB / 18.01 MB, free: 5.051 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.27/1.27, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9648/0.9648, allocations: 119.3 MB / 411.2 MB, free: 9.465 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00178/0.00178, allocations: 62.03 kB / 0.5719 GB, free: 39.21 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.147/0.1488, allocations: 80.7 MB / 0.6507 GB, free: 12.07 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10): time 0.002592/0.1514, allocations: 1.331 MB / 0.652 GB, free: 10.73 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0002753/0.1517, allocations: 63.78 kB / 0.652 GB, free: 10.67 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.943e-05/0.1518, allocations: 0 / 0.652 GB, free: 10.67 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001105/0.1519, allocations: 7.922 kB / 0.6521 GB, free: 10.66 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0001007/0.152, allocations: 15.86 kB / 0.6521 GB, free: 10.64 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001718/0.1522, allocations: 19.95 kB / 0.6521 GB, free: 10.62 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0002386/0.1525, allocations: 203.5 kB / 0.6523 GB, free: 10.43 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.412e-05/0.1525, allocations: 4 kB / 0.6523 GB, free: 10.42 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 9.833e-05/0.1526, allocations: 71.88 kB / 0.6524 GB, free: 10.35 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002092/0.1528, allocations: 99.78 kB / 0.6525 GB, free: 10.25 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 3.912e-05/0.1529, allocations: 8 kB / 0.6525 GB, free: 10.25 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 2.873e-05/0.1529, allocations: 12 kB / 0.6525 GB, free: 10.23 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001077/0.153, allocations: 75.77 kB / 0.6525 GB, free: 10.16 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0001158/0.1532, allocations: 79.64 kB / 0.6526 GB, free: 10.08 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0001724/0.1533, allocations: 131.5 kB / 0.6527 GB, free: 9.953 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.1534, allocations: 0 / 0.6527 GB, free: 9.953 MB / 0.4983 GB Notification: Performance of FrontEnd: time 2.004e-06/0.1534, allocations: 0 / 0.6527 GB, free: 9.953 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 1.154e-05/0.1534, allocations: 0 / 0.6527 GB, free: 9.953 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.001117/0.1545, allocations: 0.5378 MB / 0.6533 GB, free: 9.363 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 5.675e-05/0.1546, allocations: 12.03 kB / 0.6533 GB, free: 9.352 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.127e-05/0.1546, allocations: 42.75 kB / 0.6533 GB, free: 9.301 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.964e-05/0.1547, allocations: 20.84 kB / 0.6533 GB, free: 9.281 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002753/0.155, allocations: 216.1 kB / 0.6535 GB, free: 9.031 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.328e-05/0.155, allocations: 12.38 kB / 0.6536 GB, free: 9.02 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.907e-05/0.1551, allocations: 40.3 kB / 0.6536 GB, free: 8.98 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003435/0.1554, allocations: 182.6 kB / 0.6538 GB, free: 8.797 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.1554, allocations: 7.938 kB / 0.6538 GB, free: 8.789 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.104e-05/0.1555, allocations: 4 kB / 0.6538 GB, free: 8.785 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.615e-06/0.1555, allocations: 8 kB / 0.6538 GB, free: 8.777 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002251/0.1557, allocations: 115.8 kB / 0.6539 GB, free: 8.664 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001149/0.1569, allocations: 0.5979 MB / 0.6545 GB, free: 8.016 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001787/0.1587, allocations: 0.5723 MB / 0.655 GB, free: 7.434 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001598/0.1588, allocations: 104.8 kB / 0.6551 GB, free: 7.328 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 2.067e-05/0.1589, allocations: 0 / 0.6551 GB, free: 7.328 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.95e-05/0.1589, allocations: 34.94 kB / 0.6552 GB, free: 7.285 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=22): time 1.212e-06/0.1589, allocations: 0 / 0.6552 GB, free: 7.285 MB / 0.4983 GB Notification: Performance of matching and sorting (n=22): time 0.000595/0.1595, allocations: 312.4 kB / 0.6555 GB, free: 6.977 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.071e-05/0.1596, allocations: 59.34 kB / 0.6555 GB, free: 6.906 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.945e-05/0.1597, allocations: 129.8 kB / 0.6557 GB, free: 6.77 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 2.442e-05/0.1597, allocations: 29.7 kB / 0.6557 GB, free: 6.734 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 5.743e-05/0.1598, allocations: 100.7 kB / 0.6558 GB, free: 6.633 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 8.443e-05/0.1599, allocations: 107.1 kB / 0.6559 GB, free: 6.527 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.947e-05/0.16, allocations: 69.7 kB / 0.656 GB, free: 6.453 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001188/0.1601, allocations: 326.8 kB / 0.6563 GB, free: 6.125 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001789/0.1603, allocations: 111.9 kB / 0.6564 GB, free: 6.016 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001751/0.1605, allocations: 115.7 kB / 0.6565 GB, free: 5.902 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003548/0.1608, allocations: 261.6 kB / 0.6567 GB, free: 5.645 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.1608, allocations: 0 / 0.6567 GB, free: 5.645 MB / 0.4983 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004639/0.1613, allocations: 341.6 kB / 0.6571 GB, free: 5.305 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.1613, allocations: 11.28 kB / 0.6571 GB, free: 5.297 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.1613, allocations: 0 / 0.6571 GB, free: 5.297 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.1614, allocations: 3.938 kB / 0.6571 GB, free: 5.293 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004494/0.1618, allocations: 107.9 kB / 0.6572 GB, free: 5.188 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.283e-05/0.1618, allocations: 4 kB / 0.6572 GB, free: 5.184 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001403/0.162, allocations: 27.88 kB / 0.6572 GB, free: 5.156 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.028e-05/0.162, allocations: 16 kB / 0.6572 GB, free: 5.141 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 (42): * Single equations (assignments): 42 * 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.0001223/0.1621, allocations: 142.5 kB / 0.6574 GB, free: 4.992 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.752e-05/0.1622, allocations: 19.89 kB / 0.6574 GB, free: 4.973 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.82e-05/0.1623, allocations: 24.84 kB / 0.6574 GB, free: 4.945 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.623e-06/0.1623, allocations: 7.984 kB / 0.6574 GB, free: 4.938 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.1623, allocations: 0 / 0.6574 GB, free: 4.938 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.1623, allocations: 0 / 0.6574 GB, free: 4.938 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003101/0.1626, allocations: 273.4 kB / 0.6577 GB, free: 4.621 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.1626, allocations: 0 / 0.6577 GB, free: 4.621 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006173/0.1632, allocations: 123.9 kB / 0.6578 GB, free: 4.5 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.1633, allocations: 0 / 0.6578 GB, free: 4.5 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.315e-05/0.1633, allocations: 11.98 kB / 0.6578 GB, free: 4.488 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.1633, allocations: 3.984 kB / 0.6578 GB, free: 4.484 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1633, allocations: 0 / 0.6578 GB, free: 4.484 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005664/0.1639, allocations: 431.4 kB / 0.6582 GB, free: 4.051 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 5.509e-05/0.1639, allocations: 89.17 kB / 0.6583 GB, free: 3.945 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.26e-05/0.164, allocations: 15.98 kB / 0.6583 GB, free: 3.93 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001601/0.1642, allocations: 15.98 kB / 0.6583 GB, free: 3.914 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.856e-05/0.1642, allocations: 15.92 kB / 0.6583 GB, free: 3.898 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-05/0.1642, allocations: 7.984 kB / 0.6583 GB, free: 3.891 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 6.253e-05/0.1643, allocations: 95.22 kB / 0.6584 GB, free: 3.797 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1643, allocations: 0 / 0.6584 GB, free: 3.797 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0002883/0.1646, allocations: 63.89 kB / 0.6585 GB, free: 3.734 MB / 0.4983 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 20 (cur_x[1],cur_x[2],cur_x[3],cur_x[4],cur_x[5],cur_x[6],cur_x[7],cur_x[8],cur_x[9],vol[1],vol[2],vol[3],vol[4],vol[5],vol[6],vol[7],vol[8],vol[9],vol[10],vvol) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 22 * 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 Backend phase and start with SimCode phase: time 0.0009047/0.1655, allocations: 0.9695 MB / 0.6594 GB, free: 2.742 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0004624/0.166, allocations: 247.7 kB / 0.6597 GB, free: 2.5 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.166, allocations: 0 / 0.6597 GB, free: 2.5 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 0.0001853/0.1662, allocations: 114.7 kB / 0.6598 GB, free: 2.391 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002985/0.1665, allocations: 12 kB / 0.6598 GB, free: 2.379 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004339/0.1708, allocations: 3.62 MB / 0.6633 GB, free: 14.67 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003859/0.1712, allocations: 0.7398 MB / 0.6641 GB, free: 13.9 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 0.0001896/0.1714, allocations: 77.41 kB / 0.6641 GB, free: 13.82 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001359/0.1716, allocations: 51.42 kB / 0.6642 GB, free: 13.77 MB / 0.5139 GB Notification: Performance of SimCode: time 1.142e-06/0.1716, allocations: 0 / 0.6642 GB, free: 13.77 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02594/0.1975, allocations: 4.188 MB / 0.6683 GB, free: 9.777 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.371/7.569, allocations: 6.875 kB / 0.6683 GB, free: 9.77 MB / 0.5139 GB (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.sim & python3 -m fmpy simulate --output-file ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10_res.csv --start-time 0 --stop-time 4e-06 --timeout 300 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 2.001e-09 ScalableTestSuite_ScalableTestSuite_Electrical_TransmissionLine_ScaledExperiments_TransmissionLineEquations_N_10.fmu > ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches