Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.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/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.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(PowerSystems.Examples.Introductory.Tables,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Introductory_Tables",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Introductory.Tables,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Introductory_Tables",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.001517/0.001516, allocations: 111 kB / 16.92 MB, free: 5.664 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.002158/0.002158, allocations: 189.6 kB / 17.85 MB, free: 5.176 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.438/1.438, allocations: 222.9 MB / 241.5 MB, free: 15.31 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1793/0.1793, allocations: 38.03 MB / 329.7 MB, free: 8.859 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 63.22 kB / 398.9 MB, free: 33.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1263/0.1276, allocations: 58.06 MB / 457 MB, free: 7.969 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Tables): time 0.003447/0.1311, allocations: 1.377 MB / 458.3 MB, free: 6.586 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007021/0.1318, allocations: 363.3 kB / 458.7 MB, free: 6.227 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.586e-05/0.1319, allocations: 4 kB / 458.7 MB, free: 6.223 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000231/0.1321, allocations: 27.84 kB / 458.7 MB, free: 6.195 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002106/0.1324, allocations: 27.86 kB / 458.8 MB, free: 6.168 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002608/0.1326, allocations: 94.75 kB / 458.9 MB, free: 6.078 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001261/0.1328, allocations: 51.84 kB / 458.9 MB, free: 6.027 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.011e-05/0.1328, allocations: 4 kB / 458.9 MB, free: 6.023 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001734/0.133, allocations: 31.91 kB / 458.9 MB, free: 5.992 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.031e-05/0.1331, allocations: 27.84 kB / 459 MB, free: 5.965 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.774e-05/0.1331, allocations: 4 kB / 459 MB, free: 5.961 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001162/0.1332, allocations: 51.92 kB / 459 MB, free: 5.91 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.639e-05/0.1333, allocations: 11.98 kB / 459 MB, free: 5.898 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.464e-05/0.1333, allocations: 27.86 kB / 459.1 MB, free: 5.871 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002657/0.1336, allocations: 83.72 kB / 459.1 MB, free: 5.789 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1336, allocations: 4 kB / 459.1 MB, free: 5.785 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1336, allocations: 0 / 459.1 MB, free: 5.785 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.01e-06/0.1337, allocations: 0 / 459.1 MB, free: 5.785 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004187/0.1341, allocations: 379.5 kB / 459.5 MB, free: 5.367 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.1341, allocations: 11.89 kB / 459.5 MB, free: 5.355 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.818e-05/0.1342, allocations: 42.69 kB / 459.6 MB, free: 5.305 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.382e-05/0.1342, allocations: 8.844 kB / 459.6 MB, free: 5.297 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002975/0.1345, allocations: 196.2 kB / 459.8 MB, free: 5.066 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.364e-06/0.1345, allocations: 384 / 459.8 MB, free: 5.066 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.214e-06/0.1345, allocations: 384 / 459.8 MB, free: 5.066 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001125/0.1347, allocations: 63.34 kB / 459.8 MB, free: 4.992 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.58e-06/0.1347, allocations: 3.938 kB / 459.8 MB, free: 4.988 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.915e-06/0.1347, allocations: 4 kB / 459.8 MB, free: 4.984 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.1347, allocations: 0 / 459.8 MB, free: 4.984 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.091e-05/0.1348, allocations: 23.92 kB / 459.9 MB, free: 4.961 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003453/0.1351, allocations: 280.9 kB / 460.1 MB, free: 4.637 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.27e-05/0.1352, allocations: 30.58 kB / 460.2 MB, free: 4.598 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.672e-05/0.1352, allocations: 16.91 kB / 460.2 MB, free: 4.578 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.337e-05/0.1353, allocations: 4 kB / 460.2 MB, free: 4.574 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.343e-05/0.1353, allocations: 42.44 kB / 460.2 MB, free: 4.523 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.1353, allocations: 0 / 460.2 MB, free: 4.523 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.000162/0.1355, allocations: 57.59 kB / 460.3 MB, free: 4.461 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.644e-05/0.1355, allocations: 77.11 kB / 460.4 MB, free: 4.367 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001415/0.1357, allocations: 144.9 kB / 460.5 MB, free: 4.219 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.404e-05/0.1357, allocations: 25.7 kB / 460.5 MB, free: 4.188 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.746e-05/0.1358, allocations: 96.05 kB / 460.6 MB, free: 4.09 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.014e-05/0.1358, allocations: 11.84 kB / 460.6 MB, free: 4.078 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.371e-05/0.1358, allocations: 21.72 kB / 460.7 MB, free: 4.051 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.1359, allocations: 318.8 kB / 461 MB, free: 3.73 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.957e-05/0.136, allocations: 8 kB / 461 MB, free: 3.723 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.898e-05/0.136, allocations: 21.64 kB / 461 MB, free: 3.695 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.607e-05/0.136, allocations: 17.14 kB / 461 MB, free: 3.676 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.136, allocations: 0 / 461 MB, free: 3.676 MB / 334.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.605e-05/0.1361, allocations: 57.58 kB / 461.1 MB, free: 3.613 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.1361, allocations: 10.06 kB / 461.1 MB, free: 3.605 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.1362, allocations: 0 / 461.1 MB, free: 3.605 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.1362, allocations: 4 kB / 461.1 MB, free: 3.602 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.988e-05/0.1362, allocations: 7.984 kB / 461.1 MB, free: 3.594 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.1362, allocations: 4 kB / 461.1 MB, free: 3.59 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.053e-05/0.1363, allocations: 4 kB / 461.1 MB, free: 3.586 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.068e-06/0.1363, allocations: 3.938 kB / 461.1 MB, free: 3.582 MB / 334.1 MB 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 (3): * Single equations (assignments): 3 * 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 7.621e-05/0.1364, allocations: 113.8 kB / 461.2 MB, free: 3.461 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.118e-05/0.1364, allocations: 7.906 kB / 461.2 MB, free: 3.453 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000122/0.1365, allocations: 69.56 kB / 461.3 MB, free: 3.371 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.1365, allocations: 0 / 461.3 MB, free: 3.371 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.277e-06/0.1366, allocations: 0 / 461.3 MB, free: 3.371 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.1366, allocations: 0 / 461.3 MB, free: 3.371 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001718/0.1367, allocations: 173.6 kB / 461.5 MB, free: 3.152 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.1367, allocations: 0 / 461.5 MB, free: 3.152 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.674e-05/0.1368, allocations: 4 kB / 461.5 MB, free: 3.148 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.329e-06/0.1368, allocations: 3.984 kB / 461.5 MB, free: 3.145 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.203e-06/0.1368, allocations: 4 kB / 461.5 MB, free: 3.141 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1368, allocations: 0 / 461.5 MB, free: 3.141 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/0.1368, allocations: 7.875 kB / 461.5 MB, free: 3.133 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001372/0.137, allocations: 155.4 kB / 461.6 MB, free: 2.965 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.067e-05/0.137, allocations: 81.05 kB / 461.7 MB, free: 2.867 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.685e-05/0.137, allocations: 0 / 461.7 MB, free: 2.867 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.733e-05/0.1371, allocations: 4 kB / 461.7 MB, free: 2.863 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.939e-06/0.1371, allocations: 0 / 461.7 MB, free: 2.863 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.1371, allocations: 3.984 kB / 461.7 MB, free: 2.859 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.591e-05/0.1372, allocations: 111.3 kB / 461.8 MB, free: 2.75 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1372, allocations: 4 kB / 461.8 MB, free: 2.746 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000255/0.1375, allocations: 19.94 kB / 461.8 MB, free: 2.727 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (3): * Single equations (assignments): 3 * 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.001188/0.1387, allocations: 0.9804 MB / 462.8 MB, free: 1.871 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 9.043e-05/0.1388, allocations: 12 kB / 462.8 MB, free: 1.859 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.1388, allocations: 0 / 462.8 MB, free: 1.859 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.339e-05/0.1388, allocations: 15.98 kB / 462.9 MB, free: 1.844 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003365/0.1392, allocations: 23.86 kB / 462.9 MB, free: 1.82 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001141/0.1403, allocations: 1.314 MB / 464.2 MB, free: 440 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000265/0.1406, allocations: 0.6885 MB / 464.9 MB, free: 15.71 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.577e-05/0.1407, allocations: 11.98 kB / 464.9 MB, free: 15.7 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.915e-05/0.1407, allocations: 31.42 kB / 464.9 MB, free: 15.67 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1407, allocations: 0 / 464.9 MB, free: 15.67 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02575/0.1665, allocations: 2.471 MB / 467.4 MB, free: 13.27 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.729/7.896, allocations: 11.91 kB / 467.4 MB, free: 13.26 MB / 350.1 MB (rm -f PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.sim & python3 -m fmpy simulate --output-file PowerSystems_latest_PowerSystems.Examples.Introductory.Tables_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 PowerSystems_latest_PowerSystems_Examples_Introductory_Tables.fmu > PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Introductory.Tables_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.Tables.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches