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.00111/0.00111, allocations: 114.2 kB / 17.75 MB, free: 5.355 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.00104/0.00104, allocations: 185.4 kB / 18.68 MB, free: 4.434 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.322/1.322, allocations: 222.9 MB / 242.4 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.1682/0.1682, allocations: 38.04 MB / 330.6 MB, free: 8.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 55.91 kB / 458.8 MB, free: 6.871 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.319/0.3204, allocations: 58.05 MB / 0.5047 GB, free: 7.801 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Tables): time 0.002384/0.3228, allocations: 1.393 MB / 0.5061 GB, free: 6.895 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005655/0.3234, allocations: 359.1 kB / 0.5064 GB, free: 6.664 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.826e-05/0.3235, allocations: 0 / 0.5064 GB, free: 6.664 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001831/0.3237, allocations: 28.05 kB / 0.5065 GB, free: 6.645 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001588/0.3238, allocations: 35.77 kB / 0.5065 GB, free: 6.625 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002073/0.324, allocations: 84.33 kB / 0.5066 GB, free: 6.582 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001188/0.3242, allocations: 53.05 kB / 0.5066 GB, free: 6.562 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.065e-05/0.3242, allocations: 4.672 kB / 0.5066 GB, free: 6.562 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001384/0.3244, allocations: 41.02 kB / 0.5067 GB, free: 6.539 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.398e-05/0.3244, allocations: 17.31 kB / 0.5067 GB, free: 6.531 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.605e-05/0.3245, allocations: 2.375 kB / 0.5067 GB, free: 6.531 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.993e-05/0.3246, allocations: 50.08 kB / 0.5067 GB, free: 6.516 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.214e-05/0.3246, allocations: 17.66 kB / 0.5068 GB, free: 6.508 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.256e-05/0.3247, allocations: 26.55 kB / 0.5068 GB, free: 6.488 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001718/0.3248, allocations: 94.53 kB / 0.5069 GB, free: 6.445 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3248, allocations: 0 / 0.5069 GB, free: 6.445 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.3248, allocations: 1.125 kB / 0.5069 GB, free: 6.445 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.3249, allocations: 0 / 0.5069 GB, free: 6.445 MB / 382.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.0003524/0.3252, allocations: 376 kB / 0.5072 GB, free: 6.062 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.3253, allocations: 12.77 kB / 0.5073 GB, free: 6.059 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.158e-05/0.3253, allocations: 8.75 kB / 0.5073 GB, free: 6.055 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001646/0.3255, allocations: 186.6 kB / 0.5074 GB, free: 5.852 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.307e-06/0.3255, allocations: 5.5 kB / 0.5074 GB, free: 5.848 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.22e-05/0.3255, allocations: 10.25 kB / 0.5075 GB, free: 5.844 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000104/0.3256, allocations: 64 kB / 0.5075 GB, free: 5.785 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.3256, allocations: 1 kB / 0.5075 GB, free: 5.785 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.3256, allocations: 4 kB / 0.5075 GB, free: 5.781 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.3257, allocations: 1.734 kB / 0.5075 GB, free: 5.781 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.163e-05/0.3257, allocations: 17.28 kB / 0.5075 GB, free: 5.777 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003027/0.326, allocations: 288.4 kB / 0.5078 GB, free: 5.484 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.903e-05/0.3261, allocations: 38.47 kB / 0.5078 GB, free: 5.453 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.232e-05/0.3261, allocations: 10.69 kB / 0.5079 GB, free: 5.445 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.199e-05/0.3262, allocations: 1.125 kB / 0.5079 GB, free: 5.445 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.992e-05/0.3262, allocations: 36.17 kB / 0.5079 GB, free: 5.402 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.093e-06/0.3262, allocations: 0 / 0.5079 GB, free: 5.402 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001562/0.3264, allocations: 59.77 kB / 0.508 GB, free: 5.359 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.416e-05/0.3264, allocations: 77.67 kB / 0.508 GB, free: 5.266 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001318/0.3265, allocations: 145.6 kB / 0.5082 GB, free: 5.152 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.416e-06/0.3265, allocations: 26.86 kB / 0.5082 GB, free: 5.121 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.475e-05/0.3266, allocations: 98.27 kB / 0.5083 GB, free: 5.027 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.098e-05/0.3266, allocations: 10.06 kB / 0.5083 GB, free: 5.02 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.709e-05/0.3267, allocations: 13.22 kB / 0.5083 GB, free: 5.004 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.374e-05/0.3267, allocations: 323.7 kB / 0.5086 GB, free: 4.684 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.713e-05/0.3267, allocations: 7.656 kB / 0.5086 GB, free: 4.68 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.339e-05/0.3268, allocations: 20.83 kB / 0.5086 GB, free: 4.66 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.482e-05/0.3268, allocations: 24.97 kB / 0.5087 GB, free: 4.645 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.3268, allocations: 1.031 kB / 0.5087 GB, free: 4.645 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.638e-05/0.3269, allocations: 59.2 kB / 0.5087 GB, free: 4.598 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.3269, allocations: 5.062 kB / 0.5087 GB, free: 4.598 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.3269, allocations: 0.6094 kB / 0.5087 GB, free: 4.598 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.3269, allocations: 0.8438 kB / 0.5087 GB, free: 4.598 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.079e-05/0.327, allocations: 4.953 kB / 0.5087 GB, free: 4.598 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/0.327, allocations: 5.891 kB / 0.5087 GB, free: 4.594 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.075e-05/0.327, allocations: 0 / 0.5087 GB, free: 4.594 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.578e-06/0.327, allocations: 2.094 kB / 0.5087 GB, free: 4.594 MB / 382.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 5.477e-05/0.3271, allocations: 119.9 kB / 0.5089 GB, free: 4.473 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.202e-05/0.3271, allocations: 7.812 kB / 0.5089 GB, free: 4.469 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001091/0.3273, allocations: 61.8 kB / 0.5089 GB, free: 4.418 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.3273, allocations: 0.8906 kB / 0.5089 GB, free: 4.418 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.3273, allocations: 1.828 kB / 0.5089 GB, free: 4.418 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.242e-05/0.3273, allocations: 83.09 kB / 0.509 GB, free: 4.32 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.476e-05/0.3273, allocations: 5.25 kB / 0.509 GB, free: 4.316 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.283e-05/0.3274, allocations: 5.656 kB / 0.509 GB, free: 4.312 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.369e-05/0.3274, allocations: 1.828 kB / 0.509 GB, free: 4.312 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 7.485e-05/0.3275, allocations: 123.4 kB / 0.5091 GB, free: 4.203 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001057/0.3276, allocations: 230.9 kB / 0.5094 GB, free: 3.98 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.557e-05/0.3276, allocations: 7.016 kB / 0.5094 GB, free: 3.98 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.454e-05/0.3277, allocations: 116.7 kB / 0.5095 GB, free: 3.891 MB / 382.1 MB Notification: Performance of Backend: time 2.41e-07/0.3277, allocations: 0 / 0.5095 GB, free: 3.891 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001234/0.329, allocations: 430.2 kB / 0.5099 GB, free: 3.719 MB / 382.1 MB Notification: Performance of SimCode: time 0.0004334/0.3294, allocations: 0.6131 MB / 0.5105 GB, free: 3.102 MB / 382.1 MB Notification: Performance of Templates: time 0.003833/0.3332, allocations: 1.334 MB / 0.5118 GB, free: 2.926 MB / 382.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/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