Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007953/0.0007953, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003664/0.003664, allocations: 161.5 kB / 24.7 MB, free: 9.418 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8538/0.8538, allocations: 177.1 MB / 205 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.2189/0.2189, allocations: 29.42 MB / 290.8 MB, free: 2.422 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Elementary.Source,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source") translateModel(PowerSystems.Examples.AC3ph.Elementary.Source,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 431.5 MB, free: 13.09 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.464e-05/2.609e-05, allocations: 8.531 kB / 431.5 MB, free: 13.09 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Source): time 0.004024/0.00405, allocations: 4.3 MB / 435.8 MB, free: 8.758 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0015/0.00555, allocations: 1.472 MB / 437.2 MB, free: 7.281 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001396/0.00569, allocations: 19.81 kB / 437.3 MB, free: 7.262 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005659/0.006256, allocations: 286.6 kB / 437.5 MB, free: 6.98 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003391/0.006595, allocations: 298.3 kB / 437.8 MB, free: 6.688 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000389/0.006984, allocations: 255.2 kB / 438.1 MB, free: 6.438 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004034/0.007387, allocations: 0.6272 MB / 438.7 MB, free: 5.809 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002615/0.007649, allocations: 196 kB / 438.9 MB, free: 5.613 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000326/0.007975, allocations: 370.9 kB / 439.3 MB, free: 5.25 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003008/0.008276, allocations: 355.1 kB / 439.6 MB, free: 4.902 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.907e-05/0.008315, allocations: 36 kB / 439.7 MB, free: 4.867 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003186/0.008633, allocations: 231.6 kB / 439.9 MB, free: 4.641 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001506/0.008784, allocations: 243.4 kB / 440.1 MB, free: 4.402 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001252/0.008909, allocations: 179.6 kB / 440.3 MB, free: 4.227 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005098/0.009419, allocations: 0.7049 MB / 441 MB, free: 3.52 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.009421, allocations: 0 / 441 MB, free: 3.52 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.009422, allocations: 4 kB / 441 MB, free: 3.516 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.151e-06/0.009428, allocations: 0 / 441 MB, free: 3.516 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.0008482/0.01028, allocations: 0.7094 MB / 441.7 MB, free: 2.773 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.01031, allocations: 15.98 kB / 441.7 MB, free: 2.758 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004156/0.01073, allocations: 124.5 kB / 441.8 MB, free: 2.637 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004118/0.01114, allocations: 355.9 kB / 442.2 MB, free: 2.262 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.008e-05/0.01116, allocations: 33.3 kB / 442.2 MB, free: 2.227 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.607e-05/0.01126, allocations: 48.69 kB / 442.3 MB, free: 2.18 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006442/0.0119, allocations: 0.6994 MB / 443 MB, free: 1.445 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.01192, allocations: 0 / 443 MB, free: 1.445 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.894e-05/0.01194, allocations: 15.98 kB / 443 MB, free: 1.43 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000111/0.01206, allocations: 72.94 kB / 443.1 MB, free: 1.355 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006233/0.01268, allocations: 0.6596 MB / 443.7 MB, free: 0.6992 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1562/0.1689, allocations: 2.416 MB / 446.1 MB, free: 53.2 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002914/0.1691, allocations: 294.5 kB / 446.4 MB, free: 53.15 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001424/0.1693, allocations: 194.7 kB / 446.6 MB, free: 53.12 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.002e-05/0.1693, allocations: 3.219 kB / 446.6 MB, free: 53.12 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.914e-05/0.1693, allocations: 45.14 kB / 446.7 MB, free: 53.08 MB / 410.7 MB Notification: Performance of pre-optimization done (n=39): time 2.605e-06/0.1693, allocations: 2.688 kB / 446.7 MB, free: 53.08 MB / 410.7 MB Notification: Performance of matching and sorting (n=40): time 0.001191/0.1705, allocations: 1.224 MB / 447.9 MB, free: 52.55 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.425e-05/0.1706, allocations: 87.53 kB / 448 MB, free: 52.45 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001534/0.1707, allocations: 278.3 kB / 448.2 MB, free: 52.3 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.1707, allocations: 29.7 kB / 448.3 MB, free: 52.26 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.713e-05/0.1708, allocations: 262.9 kB / 448.5 MB, free: 52.06 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.275e-05/0.1709, allocations: 140.6 kB / 448.7 MB, free: 51.96 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.087e-05/0.1709, allocations: 90.62 kB / 448.8 MB, free: 51.91 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.76e-05/0.171, allocations: 343.8 kB / 449.1 MB, free: 51.59 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001436/0.1711, allocations: 191.7 kB / 449.3 MB, free: 51.53 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001629/0.1713, allocations: 321.8 kB / 449.6 MB, free: 51.31 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000345/0.1716, allocations: 0.5521 MB / 450.1 MB, free: 51.01 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1716, allocations: 0 / 450.1 MB, free: 51.01 MB / 410.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0006108/0.1722, allocations: 0.6801 MB / 450.8 MB, free: 50.76 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.1722, allocations: 7.562 kB / 450.8 MB, free: 50.76 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004037/0.1726, allocations: 491.4 kB / 451.3 MB, free: 50.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002373/0.1729, allocations: 124.5 kB / 451.4 MB, free: 50.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001622/0.173, allocations: 80.38 kB / 451.5 MB, free: 50.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001176/0.1742, allocations: 3.002 MB / 454.5 MB, free: 47.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001106/0.1743, allocations: 17.03 kB / 454.5 MB, free: 47.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.59e-05/0.1744, allocations: 26.94 kB / 454.6 MB, free: 47.88 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001275/0.1745, allocations: 211.9 kB / 454.8 MB, free: 47.72 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.129e-05/0.1745, allocations: 36.48 kB / 454.8 MB, free: 47.7 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003661/0.1749, allocations: 470.5 kB / 455.3 MB, free: 47.52 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.224e-05/0.1749, allocations: 15.94 kB / 455.3 MB, free: 47.52 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.1749, allocations: 3.281 kB / 455.3 MB, free: 47.52 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.1749, allocations: 3.469 kB / 455.3 MB, free: 47.52 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006666/0.1756, allocations: 0.897 MB / 456.2 MB, free: 47.06 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.1756, allocations: 3.125 kB / 456.2 MB, free: 47.06 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001593/0.1757, allocations: 69.8 kB / 456.2 MB, free: 47.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.1757, allocations: 4.078 kB / 456.3 MB, free: 47.05 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.398e-05/0.1758, allocations: 7 kB / 456.3 MB, free: 47.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.1758, allocations: 7.156 kB / 456.3 MB, free: 47.05 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1758, allocations: 0 / 456.3 MB, free: 47.05 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004557/0.1762, allocations: 0.742 MB / 457 MB, free: 46.69 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.555e-05/0.1763, allocations: 63.58 kB / 457.1 MB, free: 46.66 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.138e-05/0.1763, allocations: 10.84 kB / 457.1 MB, free: 46.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.763e-05/0.1764, allocations: 17.14 kB / 457.1 MB, free: 46.65 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.779e-05/0.1764, allocations: 20.27 kB / 457.1 MB, free: 46.65 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.92e-05/0.1764, allocations: 16.98 kB / 457.1 MB, free: 46.64 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.683e-05/0.1765, allocations: 189.8 kB / 457.3 MB, free: 46.54 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1765, allocations: 0 / 457.3 MB, free: 46.54 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002944/0.1768, allocations: 114.7 kB / 457.4 MB, free: 46.52 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 27 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001693/0.177, allocations: 139.1 kB / 457.6 MB, free: 46.43 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005413/0.1775, allocations: 0.6836 MB / 458.3 MB, free: 46.07 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1775, allocations: 0 / 458.3 MB, free: 46.07 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001371/0.1777, allocations: 195.9 kB / 458.4 MB, free: 46.01 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003047/0.178, allocations: 72.09 kB / 458.5 MB, free: 45.98 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000897/0.1789, allocations: 1.08 MB / 459.6 MB, free: 45.4 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001347/0.179, allocations: 269.2 kB / 459.9 MB, free: 45.3 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.588e-05/0.1791, allocations: 37.62 kB / 459.9 MB, free: 45.29 MB / 410.7 MB Notification: Performance of SimCode: time 6.92e-07/0.1791, allocations: 0 / 459.9 MB, free: 45.29 MB / 410.7 MB Notification: Performance of Templates: time 0.005213/0.1843, allocations: 7.242 MB / 467.1 MB, free: 44.73 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Source.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.319255024194717]