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.001205/0.001205, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.003337/0.003337, allocations: 165.8 kB / 24.82 MB, free: 9.266 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 1.107/1.107, allocations: 177.1 MB / 205.3 MB, free: 5.469 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.2339/0.2339, allocations: 29.42 MB / 291.2 MB, free: 2.383 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.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.[0-9,]+.|meter.p.[0-9,]+.|meter.v.[0-9,]+.",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.[0-9,]+.|meter.p.[0-9,]+.|meter.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 370.1 MB, free: 10.69 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.223e-05/2.362e-05, allocations: 6.312 kB / 370.1 MB, free: 10.68 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Source): time 0.005504/0.005528, allocations: 4.123 MB / 374.2 MB, free: 6.527 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001745/0.007272, allocations: 1.512 MB / 375.8 MB, free: 5.012 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001553/0.007428, allocations: 15.88 kB / 375.8 MB, free: 4.996 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005357/0.007963, allocations: 242.7 kB / 376 MB, free: 4.758 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003888/0.008352, allocations: 286.3 kB / 376.3 MB, free: 4.477 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004345/0.008787, allocations: 255.2 kB / 376.5 MB, free: 4.227 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004318/0.009218, allocations: 0.6195 MB / 377.2 MB, free: 3.605 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002293/0.009448, allocations: 199.9 kB / 377.4 MB, free: 3.41 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000391/0.009839, allocations: 406.9 kB / 377.8 MB, free: 3.012 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003224/0.01016, allocations: 335.1 kB / 378.1 MB, free: 2.684 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.277e-05/0.0102, allocations: 36 kB / 378.1 MB, free: 2.648 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002949/0.0105, allocations: 235.5 kB / 378.3 MB, free: 2.418 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001575/0.01066, allocations: 243.4 kB / 378.6 MB, free: 2.18 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001205/0.01078, allocations: 175.6 kB / 378.8 MB, free: 2.008 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004655/0.01124, allocations: 0.545 MB / 379.3 MB, free: 1.461 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.01125, allocations: 4 kB / 379.3 MB, free: 1.457 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.61e-07/0.01125, allocations: 0 / 379.3 MB, free: 1.457 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.01125, allocations: 0 / 379.3 MB, free: 1.457 MB / 346.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.0007593/0.01201, allocations: 0.7703 MB / 380.1 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.01205, allocations: 15.98 kB / 380.1 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004517/0.0125, allocations: 140.5 kB / 380.2 MB, free: 0.5 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003304/0.01283, allocations: 349.6 kB / 380.6 MB, free: 140 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.071e-05/0.01285, allocations: 29.36 kB / 380.6 MB, free: 112 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.148e-05/0.01294, allocations: 56.66 kB / 380.7 MB, free: 56 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004104/0.01335, allocations: 432.5 kB / 381.1 MB, free: 15.58 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.01337, allocations: 4 kB / 381.1 MB, free: 15.57 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.723e-05/0.01339, allocations: 15.98 kB / 381.1 MB, free: 15.56 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001126/0.01351, allocations: 64.95 kB / 381.2 MB, free: 15.5 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002674/0.01377, allocations: 234.7 kB / 381.4 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001817/0.01559, allocations: 2.534 MB / 383.9 MB, free: 12.59 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001999/0.01579, allocations: 162.8 kB / 384.1 MB, free: 12.41 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.744e-05/0.01587, allocations: 71.64 kB / 384.1 MB, free: 12.33 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.715e-05/0.01591, allocations: 8.234 kB / 384.2 MB, free: 12.32 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.95e-05/0.01595, allocations: 49.31 kB / 384.2 MB, free: 12.27 MB / 362.7 MB Notification: Performance of pre-optimization done (n=39): time 1.643e-06/0.01595, allocations: 0 / 384.2 MB, free: 12.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=40): time 0.001021/0.01697, allocations: 0.6393 MB / 384.8 MB, free: 11.59 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.836e-05/0.01702, allocations: 77.23 kB / 384.9 MB, free: 11.5 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002036/0.01722, allocations: 322.1 kB / 385.2 MB, free: 11.17 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.543e-05/0.01725, allocations: 37.69 kB / 385.3 MB, free: 11.12 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000169/0.01741, allocations: 310.9 kB / 385.6 MB, free: 10.82 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.349e-05/0.0175, allocations: 146.8 kB / 385.7 MB, free: 10.67 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001029/0.0176, allocations: 91.75 kB / 385.8 MB, free: 10.57 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001725/0.01777, allocations: 0.5235 MB / 386.3 MB, free: 10.04 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.236e-05/0.01785, allocations: 60.95 kB / 386.4 MB, free: 9.98 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001857/0.01803, allocations: 250.9 kB / 386.6 MB, free: 9.652 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002889/0.01832, allocations: 349.7 kB / 387 MB, free: 9.23 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.01832, allocations: 0 / 387 MB, free: 9.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0005783/0.0189, allocations: 436.2 kB / 387.4 MB, free: 8.789 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.01892, allocations: 8 kB / 387.4 MB, free: 8.781 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000275/0.0192, allocations: 225.3 kB / 387.6 MB, free: 8.551 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002832/0.01948, allocations: 111.4 kB / 387.7 MB, free: 8.434 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001564/0.01963, allocations: 67.91 kB / 387.8 MB, free: 8.367 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001938/0.02157, allocations: 3.599 MB / 391.4 MB, free: 4.535 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001161/0.02169, allocations: 16 kB / 391.4 MB, free: 4.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.796e-05/0.02172, allocations: 15.94 kB / 391.4 MB, free: 4.504 MB / 362.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.0001585/0.02188, allocations: 184.4 kB / 391.6 MB, free: 4.312 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.753e-05/0.02195, allocations: 51.8 kB / 391.7 MB, free: 4.262 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002747/0.02223, allocations: 260.5 kB / 391.9 MB, free: 4 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-05/0.02224, allocations: 12.03 kB / 391.9 MB, free: 3.988 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-06/0.02224, allocations: 0 / 391.9 MB, free: 3.988 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.02225, allocations: 7.984 kB / 391.9 MB, free: 3.98 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006113/0.02286, allocations: 0.6354 MB / 392.6 MB, free: 3.305 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.02286, allocations: 0 / 392.6 MB, free: 3.305 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001644/0.02303, allocations: 55.86 kB / 392.6 MB, free: 3.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.02303, allocations: 4 kB / 392.6 MB, free: 3.246 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.599e-05/0.02305, allocations: 11.98 kB / 392.6 MB, free: 3.234 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.02305, allocations: 0 / 392.6 MB, free: 3.234 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.02305, allocations: 4.062 kB / 392.6 MB, free: 3.23 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004104/0.02346, allocations: 482.4 kB / 393.1 MB, free: 2.727 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.973e-05/0.02353, allocations: 59.61 kB / 393.2 MB, free: 2.668 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.715e-05/0.02356, allocations: 8 kB / 393.2 MB, free: 2.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.671e-05/0.02364, allocations: 8 kB / 393.2 MB, free: 2.652 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.997e-05/0.02367, allocations: 27.94 kB / 393.2 MB, free: 2.625 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.385e-05/0.02368, allocations: 4 kB / 393.2 MB, free: 2.621 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001062/0.02379, allocations: 206.9 kB / 393.4 MB, free: 2.418 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02379, allocations: 0 / 393.4 MB, free: 2.418 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003293/0.02412, allocations: 111.9 kB / 393.5 MB, free: 2.309 MB / 362.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.0002013/0.02432, allocations: 139.2 kB / 393.7 MB, free: 2.16 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005107/0.02483, allocations: 0.5858 MB / 394.3 MB, free: 1.539 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.02483, allocations: 4.062 kB / 394.3 MB, free: 1.535 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.711e-05/0.02493, allocations: 99.56 kB / 394.4 MB, free: 1.434 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003145/0.02524, allocations: 83.47 kB / 394.4 MB, free: 1.359 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001277/0.02652, allocations: 0.9128 MB / 395.4 MB, free: 412 kB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001026/0.02662, allocations: 149 kB / 395.5 MB, free: 244 kB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001196/0.02674, allocations: 43.25 kB / 395.5 MB, free: 200 kB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000139/0.02688, allocations: 126.2 kB / 395.7 MB, free: 72 kB / 362.7 MB Notification: Performance of SimCode: time 7.61e-07/0.02688, allocations: 0 / 395.7 MB, free: 72 kB / 362.7 MB Notification: Performance of Templates: time 0.007388/0.03427, allocations: 4.612 MB / 400.3 MB, free: 11.52 MB / 378.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=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Source.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.3887700708582997]