Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009515/0.0009516, allocations: 178.8 kB / 16.71 MB, free: 5.09 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.197/1.197, allocations: 225.7 MB / 243.2 MB, free: 10.19 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007599/0.0007599, allocations: 95.91 kB / 294.4 MB, free: 9.734 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2736/0.2736, allocations: 38.18 MB / 383.7 MB, free: 40.65 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002671/0.0002672, allocations: 11.98 kB / 453.5 MB, free: 8.852 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2522/0.2524, allocations: 59.15 MB / 0.5007 GB, free: 39.03 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Tables): time 0.001467/0.2539, allocations: 1.147 MB / 0.5018 GB, free: 38.91 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005572/0.2545, allocations: 426 kB / 0.5022 GB, free: 38.75 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.902e-05/0.2546, allocations: 6.875 kB / 0.5022 GB, free: 38.75 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001813/0.2548, allocations: 18.44 kB / 0.5022 GB, free: 38.75 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001325/0.2549, allocations: 27.88 kB / 0.5023 GB, free: 38.74 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002048/0.2551, allocations: 75.2 kB / 0.5023 GB, free: 38.73 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001133/0.2553, allocations: 51.16 kB / 0.5024 GB, free: 38.72 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.784e-05/0.2553, allocations: 8.125 kB / 0.5024 GB, free: 38.72 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001362/0.2554, allocations: 24.72 kB / 0.5024 GB, free: 38.72 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.731e-05/0.2555, allocations: 21.16 kB / 0.5024 GB, free: 38.71 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.328e-05/0.2555, allocations: 2.562 kB / 0.5024 GB, free: 38.71 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.85e-05/0.2556, allocations: 44.47 kB / 0.5025 GB, free: 38.71 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.986e-05/0.2557, allocations: 16.95 kB / 0.5025 GB, free: 38.7 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.761e-05/0.2557, allocations: 42.58 kB / 0.5025 GB, free: 38.66 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001629/0.2559, allocations: 91.38 kB / 0.5026 GB, free: 38.65 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.2559, allocations: 0.8438 kB / 0.5026 GB, free: 38.65 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.2559, allocations: 0 / 0.5026 GB, free: 38.65 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.617e-06/0.2559, allocations: 1.938 kB / 0.5026 GB, free: 38.65 MB / 378.7 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.0002766/0.2562, allocations: 371.8 kB / 0.503 GB, free: 38.27 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.083e-05/0.2562, allocations: 12.56 kB / 0.503 GB, free: 38.27 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.203e-05/0.2563, allocations: 10.06 kB / 0.503 GB, free: 38.26 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001438/0.2564, allocations: 189.2 kB / 0.5032 GB, free: 38.06 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.679e-06/0.2564, allocations: 5.672 kB / 0.5032 GB, free: 38.05 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.766e-06/0.2565, allocations: 9.719 kB / 0.5032 GB, free: 38.05 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.497e-05/0.2566, allocations: 68.23 kB / 0.5033 GB, free: 38 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.242e-06/0.2566, allocations: 0 / 0.5033 GB, free: 38 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.396e-06/0.2566, allocations: 0 / 0.5033 GB, free: 38 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.2566, allocations: 5.375 kB / 0.5033 GB, free: 37.99 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.814e-05/0.2567, allocations: 27.78 kB / 0.5033 GB, free: 37.99 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002539/0.2569, allocations: 276.7 kB / 0.5036 GB, free: 37.72 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.408e-05/0.257, allocations: 37.31 kB / 0.5036 GB, free: 37.7 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.093e-05/0.257, allocations: 14.7 kB / 0.5036 GB, free: 37.69 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.897e-05/0.2571, allocations: 4.672 kB / 0.5036 GB, free: 37.69 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.426e-05/0.2571, allocations: 38.16 kB / 0.5036 GB, free: 37.64 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.2571, allocations: 0 / 0.5036 GB, free: 37.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001356/0.2572, allocations: 54.61 kB / 0.5037 GB, free: 37.61 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.27e-05/0.2572, allocations: 81.34 kB / 0.5038 GB, free: 37.52 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001104/0.2574, allocations: 141.3 kB / 0.5039 GB, free: 37.41 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.984e-06/0.2574, allocations: 31.61 kB / 0.5039 GB, free: 37.38 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.989e-05/0.2574, allocations: 90.97 kB / 0.504 GB, free: 37.3 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.187e-05/0.2574, allocations: 14.39 kB / 0.504 GB, free: 37.29 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.184e-06/0.2574, allocations: 0 / 0.504 GB, free: 37.29 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 3.611e-05/0.2575, allocations: 320.4 kB / 0.5043 GB, free: 36.98 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.404e-05/0.2575, allocations: 6.656 kB / 0.5044 GB, free: 36.98 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.82e-05/0.2575, allocations: 24.81 kB / 0.5044 GB, free: 36.96 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.976e-05/0.2576, allocations: 21.19 kB / 0.5044 GB, free: 36.95 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.2576, allocations: 0 / 0.5044 GB, free: 36.95 MB / 378.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.497e-05/0.2576, allocations: 49.55 kB / 0.5044 GB, free: 36.91 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.2577, allocations: 5.219 kB / 0.5044 GB, free: 36.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.2577, allocations: 0 / 0.5044 GB, free: 36.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.2577, allocations: 1.125 kB / 0.5044 GB, free: 36.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.735e-05/0.2577, allocations: 10.25 kB / 0.5045 GB, free: 36.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.2577, allocations: 0 / 0.5045 GB, free: 36.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.05e-05/0.2578, allocations: 2.562 kB / 0.5045 GB, free: 36.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.688e-06/0.2578, allocations: 1.125 kB / 0.5045 GB, free: 36.91 MB / 378.7 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.262e-05/0.2578, allocations: 123.7 kB / 0.5046 GB, free: 36.79 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.768e-05/0.2579, allocations: 7.562 kB / 0.5046 GB, free: 36.79 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.527e-05/0.258, allocations: 59.16 kB / 0.5046 GB, free: 36.75 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.258, allocations: 1.188 kB / 0.5046 GB, free: 36.75 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.258, allocations: 0 / 0.5046 GB, free: 36.75 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.258, allocations: 4.625 kB / 0.5046 GB, free: 36.75 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001192/0.2581, allocations: 180.7 kB / 0.5048 GB, free: 36.55 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.2581, allocations: 0 / 0.5048 GB, free: 36.55 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.492e-05/0.2582, allocations: 4.688 kB / 0.5048 GB, free: 36.55 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.2582, allocations: 0.7969 kB / 0.5048 GB, free: 36.55 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.52e-06/0.2582, allocations: 5.281 kB / 0.5048 GB, free: 36.55 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.2582, allocations: 0 / 0.5048 GB, free: 36.55 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.2582, allocations: 1.281 kB / 0.5048 GB, free: 36.55 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.015e-05/0.2583, allocations: 154.6 kB / 0.505 GB, free: 36.41 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.332e-05/0.2583, allocations: 91.78 kB / 0.5051 GB, free: 36.31 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.472e-05/0.2583, allocations: 1.281 kB / 0.5051 GB, free: 36.31 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.081e-05/0.2584, allocations: 0 / 0.5051 GB, free: 36.31 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.482e-05/0.2584, allocations: 3.109 kB / 0.5051 GB, free: 36.31 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-06/0.2584, allocations: 3.75 kB / 0.5051 GB, free: 36.31 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.228e-05/0.2585, allocations: 115 kB / 0.5052 GB, free: 36.23 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.21e-07/0.2585, allocations: 0 / 0.5052 GB, free: 36.23 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002222/0.2587, allocations: 24.31 kB / 0.5052 GB, free: 36.23 MB / 378.7 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.0007317/0.2595, allocations: 457.9 kB / 0.5056 GB, free: 35.98 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 7.221e-05/0.2596, allocations: 20.38 kB / 0.5057 GB, free: 35.98 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.2596, allocations: 1.344 kB / 0.5057 GB, free: 35.98 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.482e-05/0.2596, allocations: 8.688 kB / 0.5057 GB, free: 35.98 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000263/0.2599, allocations: 23.84 kB / 0.5057 GB, free: 35.98 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002418/0.2601, allocations: 160.7 kB / 0.5058 GB, free: 35.84 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.176e-05/0.2602, allocations: 0.6867 MB / 0.5065 GB, free: 35.14 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.311e-05/0.2603, allocations: 17.02 kB / 0.5065 GB, free: 35.14 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.719e-05/0.2603, allocations: 13.22 kB / 0.5065 GB, free: 35.14 MB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.2603, allocations: 0 / 0.5065 GB, free: 35.14 MB / 378.7 MB Notification: Performance of Templates: time 0.003118/0.2634, allocations: 1.132 MB / 0.5077 GB, free: 35.01 MB / 378.7 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","../files/PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches