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: translateModel(PowerSystems.Examples.Introductory.Tables,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|table.u|table.y.1.|table.y.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.Tables") translateModel(PowerSystems.Examples.Introductory.Tables,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|table.u|table.y.1.|table.y.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.Tables") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001699/0.001699, allocations: 110.5 kB / 16.62 MB, free: 6.961 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.001596/0.001596, allocations: 190 kB / 17.54 MB, free: 6.066 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.34/1.34, allocations: 222.9 MB / 241.2 MB, free: 13.69 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1702/0.1702, allocations: 38.04 MB / 329.4 MB, free: 8.797 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 66.53 kB / 398.3 MB, free: 34.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1188, allocations: 58.06 MB / 456.3 MB, free: 8.402 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Tables): time 0.003746/0.1226, allocations: 1.428 MB / 457.8 MB, free: 6.965 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009108/0.1236, allocations: 367.3 kB / 458.1 MB, free: 6.602 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.099e-05/0.1237, allocations: 0 / 458.1 MB, free: 6.602 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004119/0.1241, allocations: 19.92 kB / 458.1 MB, free: 6.582 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002706/0.1244, allocations: 23.92 kB / 458.2 MB, free: 6.559 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002614/0.1247, allocations: 78.84 kB / 458.2 MB, free: 6.484 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001484/0.1248, allocations: 55.84 kB / 458.3 MB, free: 6.43 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.344e-05/0.1249, allocations: 7.984 kB / 458.3 MB, free: 6.422 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001725/0.125, allocations: 27.86 kB / 458.3 MB, free: 6.395 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.708e-05/0.1251, allocations: 19.92 kB / 458.4 MB, free: 6.375 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.873e-05/0.1252, allocations: 4 kB / 458.4 MB, free: 6.371 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001312/0.1253, allocations: 55.95 kB / 458.4 MB, free: 6.316 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.048e-05/0.1254, allocations: 15.92 kB / 458.4 MB, free: 6.301 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.999e-05/0.1254, allocations: 19.88 kB / 458.5 MB, free: 6.281 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001927/0.1256, allocations: 91.7 kB / 458.5 MB, free: 6.191 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1256, allocations: 4 kB / 458.5 MB, free: 6.188 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1256, allocations: 0 / 458.5 MB, free: 6.188 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.104e-06/0.1256, allocations: 4 kB / 458.5 MB, free: 6.184 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.0004871/0.1261, allocations: 379.4 kB / 458.9 MB, free: 5.766 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.1262, allocations: 11.89 kB / 458.9 MB, free: 5.754 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.42e-05/0.1262, allocations: 8.844 kB / 458.9 MB, free: 5.746 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002183/0.1265, allocations: 188.2 kB / 459.1 MB, free: 5.523 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.1265, allocations: 4.375 kB / 459.1 MB, free: 5.52 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.255e-05/0.1265, allocations: 384 / 459.1 MB, free: 5.52 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001329/0.1266, allocations: 71.52 kB / 459.2 MB, free: 5.438 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.1266, allocations: 0 / 459.2 MB, free: 5.438 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.1267, allocations: 0 / 459.2 MB, free: 5.438 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.1267, allocations: 0 / 459.2 MB, free: 5.438 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.33e-05/0.1267, allocations: 31.92 kB / 459.2 MB, free: 5.406 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003871/0.1271, allocations: 276.9 kB / 459.5 MB, free: 5.086 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.592e-05/0.1272, allocations: 42.56 kB / 459.5 MB, free: 5.035 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.551e-05/0.1273, allocations: 8.922 kB / 459.5 MB, free: 5.023 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.199e-05/0.1273, allocations: 3.938 kB / 459.6 MB, free: 5.02 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/0.1273, allocations: 30.56 kB / 459.6 MB, free: 4.98 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.1273, allocations: 0 / 459.6 MB, free: 4.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001847/0.1275, allocations: 61.59 kB / 459.6 MB, free: 4.914 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.811e-05/0.1276, allocations: 81.05 kB / 459.7 MB, free: 4.816 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001649/0.1278, allocations: 145 kB / 459.9 MB, free: 4.668 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/0.1278, allocations: 29.7 kB / 459.9 MB, free: 4.633 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.857e-05/0.1278, allocations: 99.98 kB / 460 MB, free: 4.531 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.344e-05/0.1279, allocations: 11.83 kB / 460 MB, free: 4.52 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.551e-05/0.1279, allocations: 17.72 kB / 460 MB, free: 4.496 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.128, allocations: 322.8 kB / 460.3 MB, free: 4.172 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.787e-05/0.1281, allocations: 7.922 kB / 460.3 MB, free: 4.164 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.813e-05/0.1281, allocations: 21.89 kB / 460.4 MB, free: 4.137 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.572e-05/0.1281, allocations: 24.89 kB / 460.4 MB, free: 4.109 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/0.1281, allocations: 0 / 460.4 MB, free: 4.109 MB / 334.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.937e-05/0.1282, allocations: 53.59 kB / 460.4 MB, free: 4.051 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.1283, allocations: 6.031 kB / 460.4 MB, free: 4.047 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.483e-06/0.1283, allocations: 3.984 kB / 460.4 MB, free: 4.043 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.1283, allocations: 0 / 460.4 MB, free: 4.043 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.691e-05/0.1283, allocations: 4 kB / 460.5 MB, free: 4.039 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.1284, allocations: 3.938 kB / 460.5 MB, free: 4.035 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.113e-05/0.1284, allocations: 4 kB / 460.5 MB, free: 4.031 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-06/0.1284, allocations: 0 / 460.5 MB, free: 4.031 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 0.0001004/0.1285, allocations: 117.8 kB / 460.6 MB, free: 3.906 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.284e-05/0.1285, allocations: 11.91 kB / 460.6 MB, free: 3.895 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001313/0.1287, allocations: 57.56 kB / 460.6 MB, free: 3.824 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.1287, allocations: 4 kB / 460.6 MB, free: 3.82 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.1287, allocations: 0 / 460.6 MB, free: 3.82 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.1287, allocations: 0 / 460.6 MB, free: 3.82 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001743/0.1289, allocations: 173.6 kB / 460.8 MB, free: 3.602 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.1289, allocations: 3.984 kB / 460.8 MB, free: 3.598 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.368e-05/0.1289, allocations: 4 kB / 460.8 MB, free: 3.594 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.1289, allocations: 4 kB / 460.8 MB, free: 3.59 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.387e-06/0.1289, allocations: 4 kB / 460.8 MB, free: 3.586 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.1289, allocations: 3.938 kB / 460.8 MB, free: 3.582 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.129, allocations: 0 / 460.8 MB, free: 3.582 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000148/0.1291, allocations: 147.4 kB / 461 MB, free: 3.422 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.635e-05/0.1292, allocations: 81.11 kB / 461.1 MB, free: 3.324 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.785e-05/0.1292, allocations: 0 / 461.1 MB, free: 3.324 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.904e-05/0.1292, allocations: 0 / 461.1 MB, free: 3.324 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.524e-05/0.1293, allocations: 15.92 kB / 461.1 MB, free: 3.309 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-06/0.1293, allocations: 8 kB / 461.1 MB, free: 3.301 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.944e-05/0.1294, allocations: 107.3 kB / 461.2 MB, free: 3.195 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1294, allocations: 0 / 461.2 MB, free: 3.195 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002476/0.1296, allocations: 23.98 kB / 461.2 MB, free: 3.172 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.0009123/0.1306, allocations: 386.7 kB / 461.6 MB, free: 2.934 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001024/0.1307, allocations: 19.94 kB / 461.6 MB, free: 2.914 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1307, allocations: 0 / 461.6 MB, free: 2.914 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.153e-05/0.1307, allocations: 15.98 kB / 461.6 MB, free: 2.898 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003548/0.1311, allocations: 12 kB / 461.6 MB, free: 2.887 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003151/0.1314, allocations: 160.9 kB / 461.8 MB, free: 2.703 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002302/0.1316, allocations: 0.6885 MB / 462.5 MB, free: 1.988 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.405e-05/0.1317, allocations: 15.98 kB / 462.5 MB, free: 1.973 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.324e-05/0.1317, allocations: 11.44 kB / 462.5 MB, free: 1.961 MB / 334.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1317, allocations: 3.938 kB / 462.5 MB, free: 1.957 MB / 334.1 MB Notification: Performance of Templates: time 0.003475/0.1352, allocations: 1.191 MB / 463.7 MB, free: 0.7734 MB / 334.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.makefile (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 & ./PowerSystems_latest_PowerSystems.Examples.Introductory.Tables -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Introductory.Tables_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.Tables.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches