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.0007644/0.0007645, allocations: 92.78 kB / 16.31 MB, free: 5.602 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.0009502/0.0009503, allocations: 181.6 kB / 17.21 MB, free: 5.52 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.201/1.201, allocations: 223.2 MB / 241.2 MB, free: 324 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1583/0.1583, allocations: 38.07 MB / 330.4 MB, free: 8.977 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002656/0.0002657, allocations: 12 kB / 400.1 MB, free: 34.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08085/0.08113, allocations: 59.16 MB / 459.2 MB, free: 7.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Tables): time 0.001489/0.08265, allocations: 1.065 MB / 460.3 MB, free: 6.414 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004996/0.08318, allocations: 327.8 kB / 460.6 MB, free: 6.09 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.994e-05/0.08323, allocations: 0 / 460.6 MB, free: 6.09 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001568/0.0834, allocations: 27.91 kB / 460.6 MB, free: 6.062 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001176/0.08353, allocations: 23.92 kB / 460.7 MB, free: 6.039 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002015/0.08374, allocations: 67.84 kB / 460.7 MB, free: 5.973 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.589e-05/0.08384, allocations: 51.84 kB / 460.8 MB, free: 5.922 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.357e-05/0.08388, allocations: 7.984 kB / 460.8 MB, free: 5.914 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001226/0.08401, allocations: 27.16 kB / 460.8 MB, free: 5.891 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.254e-05/0.08406, allocations: 23.81 kB / 460.8 MB, free: 5.867 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.088e-05/0.08408, allocations: 3.938 kB / 460.8 MB, free: 5.863 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.695e-05/0.08417, allocations: 47.97 kB / 460.9 MB, free: 5.816 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.94e-05/0.08422, allocations: 15.91 kB / 460.9 MB, free: 5.801 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.3e-05/0.08425, allocations: 33.7 kB / 460.9 MB, free: 5.762 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001109/0.08436, allocations: 63.91 kB / 461 MB, free: 5.699 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.08437, allocations: 4 kB / 461 MB, free: 5.695 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.08438, allocations: 0 / 461 MB, free: 5.695 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.196e-06/0.08439, allocations: 0 / 461 MB, free: 5.695 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.0003014/0.08469, allocations: 367.4 kB / 461.4 MB, free: 5.289 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.164e-05/0.08473, allocations: 8.031 kB / 461.4 MB, free: 5.281 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.14e-05/0.08477, allocations: 7.906 kB / 461.4 MB, free: 5.273 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001644/0.08494, allocations: 194.8 kB / 461.6 MB, free: 5.043 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.406e-06/0.08495, allocations: 0 / 461.6 MB, free: 5.043 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.305e-06/0.08497, allocations: 7.953 kB / 461.6 MB, free: 5.035 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.633e-05/0.08507, allocations: 63.41 kB / 461.6 MB, free: 4.961 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.941e-06/0.08508, allocations: 0 / 461.6 MB, free: 4.961 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.165e-06/0.0851, allocations: 0 / 461.6 MB, free: 4.961 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.0851, allocations: 0 / 461.6 MB, free: 4.961 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.513e-05/0.08515, allocations: 19.98 kB / 461.7 MB, free: 4.941 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00029/0.08545, allocations: 284.8 kB / 461.9 MB, free: 4.613 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.483e-05/0.08554, allocations: 42.56 kB / 462 MB, free: 4.562 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.267e-05/0.08557, allocations: 16.91 kB / 462 MB, free: 4.543 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.781e-05/0.08559, allocations: 0 / 462 MB, free: 4.543 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.196e-05/0.08562, allocations: 34.55 kB / 462 MB, free: 4.5 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.08562, allocations: 3.938 kB / 462 MB, free: 4.496 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001353/0.08576, allocations: 53.59 kB / 462.1 MB, free: 4.438 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.842e-05/0.08581, allocations: 85.11 kB / 462.2 MB, free: 4.336 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001187/0.08593, allocations: 141.1 kB / 462.3 MB, free: 4.191 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.098e-05/0.08595, allocations: 29.7 kB / 462.3 MB, free: 4.156 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.152e-05/0.086, allocations: 92.12 kB / 462.4 MB, free: 4.062 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.47e-05/0.08602, allocations: 15.75 kB / 462.4 MB, free: 4.047 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.134e-06/0.08603, allocations: 0 / 462.4 MB, free: 4.047 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.002e-05/0.08612, allocations: 318.8 kB / 462.8 MB, free: 3.727 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.493e-05/0.08614, allocations: 7.984 kB / 462.8 MB, free: 3.719 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.097e-05/0.08617, allocations: 21.72 kB / 462.8 MB, free: 3.691 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.982e-05/0.08619, allocations: 11.94 kB / 462.8 MB, free: 3.68 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.0862, allocations: 0 / 462.8 MB, free: 3.68 MB / 334.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.301e-05/0.08628, allocations: 49.59 kB / 462.8 MB, free: 3.625 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/0.0863, allocations: 4 kB / 462.8 MB, free: 3.621 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.426e-06/0.08631, allocations: 4 kB / 462.9 MB, free: 3.617 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.088e-06/0.08632, allocations: 3.984 kB / 462.9 MB, free: 3.613 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.211e-05/0.08637, allocations: 4 kB / 462.9 MB, free: 3.609 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.038e-06/0.08638, allocations: 3.938 kB / 462.9 MB, free: 3.605 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.873e-05/0.0864, allocations: 0 / 462.9 MB, free: 3.605 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.616e-06/0.08641, allocations: 4.031 kB / 462.9 MB, free: 3.602 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.478e-05/0.08649, allocations: 121.8 kB / 463 MB, free: 3.473 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.468e-05/0.08651, allocations: 3.938 kB / 463 MB, free: 3.469 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001149/0.08663, allocations: 73.41 kB / 463.1 MB, free: 3.383 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.08665, allocations: 0 / 463.1 MB, free: 3.383 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.08666, allocations: 0 / 463.1 MB, free: 3.383 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.993e-06/0.08666, allocations: 0 / 463.1 MB, free: 3.383 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001453/0.08681, allocations: 173.6 kB / 463.2 MB, free: 3.164 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.08682, allocations: 0 / 463.2 MB, free: 3.164 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.77e-05/0.08685, allocations: 11.98 kB / 463.2 MB, free: 3.152 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.267e-06/0.08686, allocations: 4 kB / 463.2 MB, free: 3.148 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.39e-06/0.08687, allocations: 0 / 463.2 MB, free: 3.148 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.08688, allocations: 0 / 463.2 MB, free: 3.148 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.08688, allocations: 0 / 463.2 MB, free: 3.148 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.208e-05/0.08698, allocations: 147.5 kB / 463.4 MB, free: 2.988 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.022e-05/0.08703, allocations: 88.95 kB / 463.5 MB, free: 2.883 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.542e-05/0.08705, allocations: 4.422 kB / 463.5 MB, free: 2.879 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.117e-05/0.0871, allocations: 4 kB / 463.5 MB, free: 2.875 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.024e-05/0.08712, allocations: 4 kB / 463.5 MB, free: 2.871 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.545e-06/0.08713, allocations: 0 / 463.5 MB, free: 2.871 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.846e-05/0.08721, allocations: 111.2 kB / 463.6 MB, free: 2.762 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.08722, allocations: 0 / 463.6 MB, free: 2.762 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002322/0.08745, allocations: 16 kB / 463.6 MB, free: 2.746 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007382/0.0882, allocations: 395.3 kB / 464 MB, free: 2.5 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 7.111e-05/0.08828, allocations: 15.98 kB / 464 MB, free: 2.484 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.08829, allocations: 8 kB / 464 MB, free: 2.477 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.476e-05/0.08831, allocations: 7.938 kB / 464 MB, free: 2.469 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002758/0.08859, allocations: 15.98 kB / 464 MB, free: 2.453 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002404/0.08884, allocations: 154.8 kB / 464.2 MB, free: 2.273 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000194/0.08904, allocations: 0.6926 MB / 464.9 MB, free: 1.555 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.819e-05/0.0891, allocations: 12.17 kB / 464.9 MB, free: 1.543 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.672e-05/0.08913, allocations: 11.44 kB / 464.9 MB, free: 1.531 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.08914, allocations: 0 / 464.9 MB, free: 1.531 MB / 334.1 MB Notification: Performance of Templates: time 0.002913/0.09205, allocations: 1.129 MB / 466 MB, free: 416 kB / 334.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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