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.001925/0.001925, allocations: 109.9 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.002373/0.002373, 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.698/1.698, 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.2569/0.2569, allocations: 38.04 MB / 330.5 MB, free: 8.781 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001614/0.001614, allocations: 64.08 kB / 400.2 MB, free: 33.37 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2015/0.2031, allocations: 58.06 MB / 458.3 MB, free: 7.34 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Tables): time 0.004394/0.2076, allocations: 1.38 MB / 459.7 MB, free: 5.957 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009146/0.2086, allocations: 371.3 kB / 460 MB, free: 5.59 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.87e-05/0.2086, allocations: 0 / 460 MB, free: 5.59 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003369/0.209, allocations: 19.86 kB / 460.1 MB, free: 5.57 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002729/0.2093, allocations: 39.83 kB / 460.1 MB, free: 5.531 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003214/0.2096, allocations: 79.78 kB / 460.2 MB, free: 5.453 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002325/0.2099, allocations: 59.83 kB / 460.2 MB, free: 5.395 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.55e-05/0.21, allocations: 4 kB / 460.2 MB, free: 5.391 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002452/0.2102, allocations: 27.86 kB / 460.3 MB, free: 5.363 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.806e-05/0.2103, allocations: 23.91 kB / 460.3 MB, free: 5.34 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.253e-05/0.2104, allocations: 4 kB / 460.3 MB, free: 5.336 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001491/0.2105, allocations: 51.97 kB / 460.3 MB, free: 5.285 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001066/0.2106, allocations: 19.86 kB / 460.4 MB, free: 5.266 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.268e-05/0.2107, allocations: 19.86 kB / 460.4 MB, free: 5.246 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002701/0.211, allocations: 99.66 kB / 460.5 MB, free: 5.148 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.426e-06/0.211, allocations: 4 kB / 460.5 MB, free: 5.145 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.498e-06/0.211, allocations: 0 / 460.5 MB, free: 5.145 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.142e-05/0.211, allocations: 0 / 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.000705/0.2118, allocations: 378.1 kB / 460.9 MB, free: 4.73 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.277e-05/0.2118, allocations: 11.89 kB / 460.9 MB, free: 4.719 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.47e-05/0.2119, allocations: 8.844 kB / 460.9 MB, free: 4.711 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003192/0.2122, allocations: 192.2 kB / 461.1 MB, free: 4.484 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.2122, allocations: 384 / 461.1 MB, free: 4.484 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.158e-05/0.2123, allocations: 12.3 kB / 461.1 MB, free: 4.473 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001946/0.2125, allocations: 71.52 kB / 461.1 MB, free: 4.391 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.2125, allocations: 0 / 461.1 MB, free: 4.391 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.524e-05/0.2125, allocations: 0 / 461.1 MB, free: 4.391 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.2125, allocations: 0 / 461.1 MB, free: 4.391 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.736e-05/0.2126, allocations: 19.98 kB / 461.2 MB, free: 4.371 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005197/0.2131, allocations: 276.8 kB / 461.4 MB, free: 4.051 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001294/0.2133, allocations: 46.56 kB / 461.5 MB, free: 3.996 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.477e-05/0.2133, allocations: 8.922 kB / 461.5 MB, free: 3.984 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.046e-05/0.2134, allocations: 0 / 461.5 MB, free: 3.984 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.742e-05/0.2134, allocations: 34.5 kB / 461.5 MB, free: 3.941 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.2134, allocations: 0 / 461.5 MB, free: 3.941 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002636/0.2137, allocations: 65.53 kB / 461.6 MB, free: 3.871 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.396e-05/0.2138, allocations: 77.11 kB / 461.7 MB, free: 3.777 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002654/0.214, allocations: 148.9 kB / 461.8 MB, free: 3.625 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.95e-05/0.2141, allocations: 25.7 kB / 461.8 MB, free: 3.594 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.733e-05/0.2142, allocations: 96.05 kB / 461.9 MB, free: 3.496 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.86e-05/0.2142, allocations: 11.83 kB / 461.9 MB, free: 3.484 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.809e-05/0.2143, allocations: 17.72 kB / 462 MB, free: 3.461 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001932/0.2145, allocations: 318.8 kB / 462.3 MB, free: 3.141 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.658e-05/0.2145, allocations: 7.984 kB / 462.3 MB, free: 3.133 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.913e-05/0.2145, allocations: 21.72 kB / 462.3 MB, free: 3.105 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.603e-05/0.2146, allocations: 20.86 kB / 462.3 MB, free: 3.082 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2146, allocations: 0 / 462.3 MB, free: 3.082 MB / 334.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.679e-05/0.2147, allocations: 57.53 kB / 462.4 MB, free: 3.02 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.2147, allocations: 4 kB / 462.4 MB, free: 3.016 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/0.2147, allocations: 3.984 kB / 462.4 MB, free: 3.012 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.277e-05/0.2148, allocations: 0 / 462.4 MB, free: 3.012 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.065e-05/0.2149, allocations: 4 kB / 462.4 MB, free: 3.008 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.2149, allocations: 0 / 462.4 MB, free: 3.008 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.991e-05/0.2149, allocations: 8 kB / 462.4 MB, free: 3 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/0.2149, allocations: 4.031 kB / 462.4 MB, free: 2.996 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.0001221/0.2151, allocations: 113.8 kB / 462.5 MB, free: 2.875 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.467e-05/0.2151, allocations: 11.84 kB / 462.5 MB, free: 2.863 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001671/0.2153, allocations: 61.84 kB / 462.6 MB, free: 2.789 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.2153, allocations: 4 kB / 462.6 MB, free: 2.785 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.2153, allocations: 0 / 462.6 MB, free: 2.785 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.2153, allocations: 48 / 462.6 MB, free: 2.785 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002367/0.2155, allocations: 177.6 kB / 462.8 MB, free: 2.562 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.2156, allocations: 3.984 kB / 462.8 MB, free: 2.559 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.45e-05/0.2156, allocations: 8 kB / 462.8 MB, free: 2.551 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.2156, allocations: 0 / 462.8 MB, free: 2.551 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.2156, allocations: 0 / 462.8 MB, free: 2.551 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.2156, allocations: 0 / 462.8 MB, free: 2.551 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.2156, allocations: 0 / 462.8 MB, free: 2.551 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001739/0.2158, allocations: 155.3 kB / 462.9 MB, free: 2.383 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.111e-05/0.2159, allocations: 85.05 kB / 463 MB, free: 2.281 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.691e-05/0.2159, allocations: 0 / 463 MB, free: 2.281 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.404e-05/0.216, allocations: 4 kB / 463 MB, free: 2.277 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.744e-05/0.216, allocations: 3.984 kB / 463 MB, free: 2.273 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.999e-06/0.216, allocations: 4 kB / 463 MB, free: 2.27 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000119/0.2161, allocations: 107.3 kB / 463.1 MB, free: 2.164 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.2161, allocations: 4 kB / 463.1 MB, free: 2.16 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002942/0.2164, allocations: 23.98 kB / 463.1 MB, free: 2.137 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.001195/0.2176, allocations: 407.5 kB / 463.5 MB, free: 1.883 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001301/0.2178, allocations: 16 kB / 463.6 MB, free: 1.867 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.2178, allocations: 4 kB / 463.6 MB, free: 1.863 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.454e-05/0.2178, allocations: 15.92 kB / 463.6 MB, free: 1.848 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004249/0.2183, allocations: 15.28 kB / 463.6 MB, free: 1.836 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004552/0.2187, allocations: 141.2 kB / 463.7 MB, free: 1.672 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004866/0.2192, allocations: 0.6885 MB / 464.4 MB, free: 0.957 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.748e-05/0.2193, allocations: 15.97 kB / 464.4 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.718e-05/0.2194, allocations: 23.38 kB / 464.5 MB, free: 0.918 MB / 334.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2194, allocations: 0 / 464.5 MB, free: 0.918 MB / 334.1 MB Notification: Performance of Templates: time 0.005199/0.2246, allocations: 1.147 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 cvode -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