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.001549/0.001549, allocations: 110 kB / 17.68 MB, free: 5.332 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.001808/0.001808, allocations: 190.9 kB / 18.62 MB, free: 4.41 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.339/1.339, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1775/0.1775, allocations: 38.03 MB / 330.5 MB, free: 8.777 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001416, allocations: 66.61 kB / 400.2 MB, free: 33.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1098, allocations: 58.07 MB / 458.3 MB, free: 7.344 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Tables): time 0.003509/0.1133, allocations: 1.383 MB / 459.7 MB, free: 5.957 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007276/0.1141, allocations: 363.3 kB / 460 MB, free: 5.598 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.489e-05/0.1142, allocations: 4 kB / 460 MB, free: 5.594 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002398/0.1144, allocations: 23.84 kB / 460.1 MB, free: 5.57 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002266/0.1147, allocations: 39.78 kB / 460.1 MB, free: 5.531 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002848/0.115, allocations: 85.2 kB / 460.2 MB, free: 5.449 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001682/0.1152, allocations: 51.84 kB / 460.2 MB, free: 5.398 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.832e-05/0.1152, allocations: 8 kB / 460.2 MB, free: 5.391 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001772/0.1154, allocations: 31.84 kB / 460.3 MB, free: 5.359 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.62e-05/0.1155, allocations: 19.92 kB / 460.3 MB, free: 5.34 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.491e-05/0.1155, allocations: 0 / 460.3 MB, free: 5.34 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001444/0.1157, allocations: 59.95 kB / 460.4 MB, free: 5.281 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.989e-05/0.1157, allocations: 23.86 kB / 460.4 MB, free: 5.258 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.535e-05/0.1158, allocations: 15.88 kB / 460.4 MB, free: 5.242 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002191/0.116, allocations: 95.7 kB / 460.5 MB, free: 5.148 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.116, allocations: 0 / 460.5 MB, free: 5.148 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.116, allocations: 0 / 460.5 MB, free: 5.148 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.116, allocations: 4 kB / 460.5 MB, free: 5.145 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.0004423/0.1165, allocations: 371.2 kB / 460.9 MB, free: 4.734 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.1165, allocations: 15.89 kB / 460.9 MB, free: 4.719 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.503e-05/0.1166, allocations: 8.844 kB / 460.9 MB, free: 4.711 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002279/0.1168, allocations: 192.2 kB / 461.1 MB, free: 4.484 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.1168, allocations: 4.312 kB / 461.1 MB, free: 4.48 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.432e-05/0.1169, allocations: 4.375 kB / 461.1 MB, free: 4.477 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001229/0.117, allocations: 67.52 kB / 461.1 MB, free: 4.398 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.916e-06/0.117, allocations: 0 / 461.1 MB, free: 4.398 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.117, allocations: 0 / 461.1 MB, free: 4.398 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.117, allocations: 0 / 461.1 MB, free: 4.398 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.812e-05/0.1171, allocations: 23.98 kB / 461.2 MB, free: 4.375 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003659/0.1175, allocations: 276.8 kB / 461.4 MB, free: 4.055 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.515e-05/0.1176, allocations: 42.56 kB / 461.5 MB, free: 4.004 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.63e-05/0.1176, allocations: 8.922 kB / 461.5 MB, free: 3.992 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.224e-05/0.1176, allocations: 3.938 kB / 461.5 MB, free: 3.988 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.187e-05/0.1177, allocations: 30.56 kB / 461.5 MB, free: 3.949 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 1.183e-06/0.1177, allocations: 4 kB / 461.5 MB, free: 3.945 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001736/0.1179, allocations: 61.53 kB / 461.6 MB, free: 3.879 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.74e-05/0.1179, allocations: 81.11 kB / 461.7 MB, free: 3.781 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001418/0.1181, allocations: 144.9 kB / 461.8 MB, free: 3.633 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.328e-05/0.1181, allocations: 25.7 kB / 461.8 MB, free: 3.602 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.467e-05/0.1181, allocations: 100 kB / 461.9 MB, free: 3.5 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.734e-05/0.1182, allocations: 7.844 kB / 461.9 MB, free: 3.492 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.463e-05/0.1182, allocations: 21.7 kB / 462 MB, free: 3.465 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.1183, allocations: 322.8 kB / 462.3 MB, free: 3.141 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.918e-05/0.1184, allocations: 7.984 kB / 462.3 MB, free: 3.133 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.522e-05/0.1184, allocations: 17.72 kB / 462.3 MB, free: 3.109 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.515e-05/0.1184, allocations: 16.86 kB / 462.3 MB, free: 3.09 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.741e-05/0.1185, allocations: 3.938 kB / 462.3 MB, free: 3.086 MB / 334.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.728e-05/0.1186, allocations: 57.86 kB / 462.4 MB, free: 3.023 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.1186, allocations: 8 kB / 462.4 MB, free: 3.016 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.1186, allocations: 0 / 462.4 MB, free: 3.016 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.1186, allocations: 4.016 kB / 462.4 MB, free: 3.012 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.994e-05/0.1187, allocations: 8 kB / 462.4 MB, free: 3.004 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.1187, allocations: 4 kB / 462.4 MB, free: 3 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.287e-05/0.1187, allocations: 0 / 462.4 MB, free: 3 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.1187, allocations: 7.984 kB / 462.4 MB, free: 2.992 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 8.76e-05/0.1188, allocations: 113.8 kB / 462.5 MB, free: 2.871 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.67e-05/0.1189, allocations: 11.91 kB / 462.5 MB, free: 2.859 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001386/0.119, allocations: 57.52 kB / 462.6 MB, free: 2.789 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.119, allocations: 0 / 462.6 MB, free: 2.789 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.119, allocations: 8 kB / 462.6 MB, free: 2.781 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.1191, allocations: 0 / 462.6 MB, free: 2.781 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001814/0.1192, allocations: 169.6 kB / 462.8 MB, free: 2.566 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.1193, allocations: 7.984 kB / 462.8 MB, free: 2.559 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.79e-05/0.1193, allocations: 4 kB / 462.8 MB, free: 2.555 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.1193, allocations: 0 / 462.8 MB, free: 2.555 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.317e-06/0.1193, allocations: 4 kB / 462.8 MB, free: 2.551 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.1193, allocations: 0 / 462.8 MB, free: 2.551 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.1193, allocations: 0 / 462.8 MB, free: 2.551 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001318/0.1195, allocations: 159.3 kB / 462.9 MB, free: 2.379 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.02e-05/0.1195, allocations: 81.11 kB / 463 MB, free: 2.281 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.613e-05/0.1195, allocations: 0 / 463 MB, free: 2.281 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.825e-05/0.1196, allocations: 0 / 463 MB, free: 2.281 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.442e-05/0.1196, allocations: 3.984 kB / 463 MB, free: 2.277 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.82e-06/0.1196, allocations: 8 kB / 463 MB, free: 2.27 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.661e-05/0.1197, allocations: 103.3 kB / 463.1 MB, free: 2.168 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1197, allocations: 0 / 463.1 MB, free: 2.168 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002721/0.12, allocations: 23.98 kB / 463.1 MB, free: 2.145 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.0008978/0.1209, allocations: 408.3 kB / 463.5 MB, free: 1.887 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001033/0.121, allocations: 16 kB / 463.6 MB, free: 1.871 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.121, allocations: 0 / 463.6 MB, free: 1.871 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.205e-05/0.121, allocations: 15.92 kB / 463.6 MB, free: 1.855 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003457/0.1214, allocations: 19.05 kB / 463.6 MB, free: 1.844 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000345/0.1218, allocations: 145.2 kB / 463.7 MB, free: 1.676 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002683/0.122, allocations: 0.6924 MB / 464.4 MB, free: 0.957 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.205e-05/0.1221, allocations: 15.92 kB / 464.4 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.986e-05/0.1222, allocations: 11.44 kB / 464.5 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1222, allocations: 0 / 464.5 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of Templates: time 0.003832/0.126, allocations: 1.162 MB / 465.6 MB, free: 15.77 MB / 350.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 -s gbode -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/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