Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.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.001131/0.001131, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001237/0.001237, allocations: 167.9 kB / 25.61 MB, free: 8.582 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.015/1.015, allocations: 177.1 MB / 206.1 MB, free: 4.48 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.1202/0.1202, allocations: 29.44 MB / 292 MB, free: 2.617 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.ImpedanceYD,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.ImpedanceYD") translateModel(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD,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.ImpedanceYD") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 370.9 MB, free: 32.3 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.405e-05/2.582e-05, allocations: 4.938 kB / 370.9 MB, free: 32.3 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD): time 0.005463/0.005488, allocations: 4.28 MB / 375.2 MB, free: 28 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00259/0.008078, allocations: 1.535 MB / 376.7 MB, free: 26.46 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000219/0.008297, allocations: 19.81 kB / 376.7 MB, free: 26.44 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005615/0.008859, allocations: 242.7 kB / 377 MB, free: 26.2 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003829/0.009242, allocations: 278.4 kB / 377.2 MB, free: 25.93 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005317/0.009773, allocations: 271.1 kB / 377.5 MB, free: 25.66 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000414/0.01019, allocations: 0.6155 MB / 378.1 MB, free: 25.05 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002519/0.01044, allocations: 216.4 kB / 378.3 MB, free: 24.83 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003898/0.01083, allocations: 411 kB / 378.7 MB, free: 24.43 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002465/0.01108, allocations: 291.2 kB / 379 MB, free: 24.14 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.296e-05/0.01111, allocations: 32 kB / 379 MB, free: 24.11 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000198/0.01131, allocations: 151.7 kB / 379.2 MB, free: 23.96 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001274/0.01143, allocations: 231.4 kB / 379.4 MB, free: 23.73 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001038/0.01154, allocations: 167.6 kB / 379.6 MB, free: 23.57 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003639/0.0119, allocations: 466.4 kB / 380 MB, free: 23.11 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.01191, allocations: 3.984 kB / 380 MB, free: 23.11 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.01191, allocations: 0 / 380 MB, free: 23.11 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.261e-06/0.01191, allocations: 7.938 kB / 380.1 MB, free: 23.1 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.0007457/0.01266, allocations: 0.7894 MB / 380.8 MB, free: 22.27 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.01269, allocations: 8.031 kB / 380.8 MB, free: 22.27 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004621/0.01315, allocations: 144.5 kB / 381 MB, free: 22.12 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000341/0.0135, allocations: 337.7 kB / 381.3 MB, free: 21.77 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.01351, allocations: 33.36 kB / 381.4 MB, free: 21.74 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.4e-05/0.0136, allocations: 56.69 kB / 381.4 MB, free: 21.68 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003383/0.01394, allocations: 489.7 kB / 381.9 MB, free: 21.11 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.01396, allocations: 3.938 kB / 381.9 MB, free: 21.11 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.782e-05/0.01398, allocations: 27.97 kB / 381.9 MB, free: 21.08 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.041e-05/0.01407, allocations: 44.97 kB / 382 MB, free: 21.04 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002217/0.01429, allocations: 198.6 kB / 382.2 MB, free: 20.85 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001485/0.01578, allocations: 3.539 MB / 385.7 MB, free: 17.13 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002244/0.016, allocations: 158.3 kB / 385.8 MB, free: 16.95 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.781e-05/0.01606, allocations: 55.41 kB / 385.9 MB, free: 16.89 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.21e-05/0.01608, allocations: 4 kB / 385.9 MB, free: 16.88 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.98e-05/0.0161, allocations: 45.33 kB / 386 MB, free: 16.83 MB / 314.7 MB Notification: Performance of pre-optimization done (n=23): time 1.472e-06/0.01611, allocations: 0 / 386 MB, free: 16.83 MB / 314.7 MB Notification: Performance of matching and sorting (n=24): time 0.0006136/0.01672, allocations: 476.2 kB / 386.4 MB, free: 16.33 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.472e-05/0.01674, allocations: 85.23 kB / 386.5 MB, free: 16.23 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001421/0.01689, allocations: 373.9 kB / 386.9 MB, free: 15.84 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.307e-05/0.0169, allocations: 33.69 kB / 386.9 MB, free: 15.8 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.574e-05/0.01699, allocations: 346.6 kB / 387.2 MB, free: 15.46 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.381e-05/0.01702, allocations: 95.25 kB / 387.3 MB, free: 15.36 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.83e-05/0.01709, allocations: 91.77 kB / 387.4 MB, free: 15.27 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.264e-05/0.01714, allocations: 0.5273 MB / 387.9 MB, free: 14.73 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.798e-05/0.01719, allocations: 44.89 kB / 388 MB, free: 14.68 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001084/0.0173, allocations: 319.8 kB / 388.3 MB, free: 14.25 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001982/0.01749, allocations: 424.5 kB / 388.7 MB, free: 13.71 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.0175, allocations: 4 kB / 388.7 MB, free: 13.71 MB / 314.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004326/0.01793, allocations: 416.7 kB / 389.1 MB, free: 13.29 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.01794, allocations: 11.94 kB / 389.1 MB, free: 13.27 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002004/0.01814, allocations: 181.9 kB / 389.3 MB, free: 13.09 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002377/0.01838, allocations: 99.91 kB / 389.4 MB, free: 12.98 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001394/0.01852, allocations: 83.84 kB / 389.5 MB, free: 12.9 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001084/0.01961, allocations: 3.599 MB / 393.1 MB, free: 9.082 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001231/0.01973, allocations: 12 kB / 393.1 MB, free: 9.07 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.616e-05/0.01974, allocations: 16 kB / 393.1 MB, free: 9.055 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (48): * Single equations (assignments): 46 * Array equations: 0 * 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 8.838e-05/0.01983, allocations: 192.4 kB / 393.3 MB, free: 8.855 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.071e-05/0.01987, allocations: 47.7 kB / 393.4 MB, free: 8.809 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001938/0.02007, allocations: 205.1 kB / 393.6 MB, free: 8.602 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.02007, allocations: 4 kB / 393.6 MB, free: 8.598 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-06/0.02007, allocations: 0 / 393.6 MB, free: 8.598 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.02007, allocations: 0 / 393.6 MB, free: 8.598 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004079/0.02048, allocations: 0.5453 MB / 394.1 MB, free: 8.012 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.02048, allocations: 3.938 kB / 394.1 MB, free: 8.008 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001429/0.02063, allocations: 51.92 kB / 394.2 MB, free: 7.957 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.02063, allocations: 8.062 kB / 394.2 MB, free: 7.949 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.02064, allocations: 7.984 kB / 394.2 MB, free: 7.941 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.02064, allocations: 4 kB / 394.2 MB, free: 7.938 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.02065, allocations: 0 / 394.2 MB, free: 7.938 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002166/0.02086, allocations: 399.8 kB / 394.6 MB, free: 7.516 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.119e-05/0.02091, allocations: 55.66 kB / 394.6 MB, free: 7.461 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.332e-05/0.02094, allocations: 8 kB / 394.6 MB, free: 7.453 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.385e-05/0.02101, allocations: 4 kB / 394.6 MB, free: 7.449 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.405e-05/0.02103, allocations: 23.95 kB / 394.7 MB, free: 7.426 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.207e-06/0.02104, allocations: 4 kB / 394.7 MB, free: 7.422 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.606e-05/0.02111, allocations: 226.9 kB / 394.9 MB, free: 7.199 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.02111, allocations: 0 / 394.9 MB, free: 7.199 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003209/0.02143, allocations: 100 kB / 395 MB, free: 7.102 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (indYD.i[1],indYD.i[2],indYD.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 (27): * Single equations (assignments): 26 * Array equations: 0 * 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 8.019e-05/0.02151, allocations: 103.3 kB / 395.1 MB, free: 6.992 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003644/0.02188, allocations: 0.5665 MB / 395.7 MB, free: 6.391 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.02188, allocations: 0 / 395.7 MB, free: 6.391 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 6.328e-05/0.02194, allocations: 79.38 kB / 395.7 MB, free: 6.309 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003114/0.02225, allocations: 85.7 kB / 395.8 MB, free: 6.234 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001046/0.0233, allocations: 0.8905 MB / 396.7 MB, free: 5.301 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.831e-05/0.02337, allocations: 145.2 kB / 396.8 MB, free: 5.137 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001054/0.02347, allocations: 47.25 kB / 396.9 MB, free: 5.094 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001143/0.02359, allocations: 134.2 kB / 397 MB, free: 4.961 MB / 314.7 MB Notification: Performance of SimCode: time 7.31e-07/0.02359, allocations: 0 / 397 MB, free: 4.961 MB / 314.7 MB Notification: Performance of Templates: time 0.005666/0.02925, allocations: 4.225 MB / 401.2 MB, free: 0.8164 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.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.255894070956856]