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.0008218/0.0008218, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001225/0.002046, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001118/0.001118, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001526/0.002644, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.03/1.03, allocations: 177.2 MB / 189.8 MB, free: 5.262 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08452/1.115, allocations: 53.66 MB / 243.4 MB, free: 15.52 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo): time 0.1378/0.1378, allocations: 29.45 MB / 273.6 MB, free: 1.406 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1431/0.2809, allocations: 9.532 MB / 283.1 MB, free: 12.83 MB / 282.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-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="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="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.283e-06/1.283e-06, allocations: 0 / 284.4 MB, free: 11.88 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.155e-05/1.284e-05, allocations: 3.297 kB / 284.5 MB, free: 11.88 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD): time 0.004458/0.004471, allocations: 4.395 MB / 288.8 MB, free: 8.398 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002148/0.006619, allocations: 1.59 MB / 290.4 MB, free: 7.168 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001804/0.006799, allocations: 19.78 kB / 290.5 MB, free: 7.156 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004834/0.007282, allocations: 298.3 kB / 290.7 MB, free: 6.93 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004063/0.007689, allocations: 278.5 kB / 291 MB, free: 6.707 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005216/0.00821, allocations: 272 kB / 291.3 MB, free: 6.512 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005333/0.008744, allocations: 0.6255 MB / 291.9 MB, free: 6.172 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002752/0.009019, allocations: 221.3 kB / 292.1 MB, free: 6.055 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005057/0.009524, allocations: 432.3 kB / 292.5 MB, free: 5.812 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003379/0.009862, allocations: 284.9 kB / 292.8 MB, free: 5.66 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.652e-05/0.009909, allocations: 36.34 kB / 292.9 MB, free: 5.656 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002843/0.01019, allocations: 154.2 kB / 293 MB, free: 5.594 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001689/0.01036, allocations: 211.4 kB / 293.2 MB, free: 5.5 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000133/0.0105, allocations: 138.9 kB / 293.4 MB, free: 5.48 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004214/0.01092, allocations: 433.6 kB / 293.8 MB, free: 5.277 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.266e-06/0.01092, allocations: 1.031 kB / 293.8 MB, free: 5.277 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.01093, allocations: 0 / 293.8 MB, free: 5.277 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.229e-05/0.01094, allocations: 0 / 293.8 MB, free: 5.277 MB / 282.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.0008531/0.01179, allocations: 0.7576 MB / 294.5 MB, free: 4.598 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.844e-05/0.01182, allocations: 8.031 kB / 294.5 MB, free: 4.59 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004805/0.0123, allocations: 221.8 kB / 294.8 MB, free: 4.355 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003589/0.01266, allocations: 328.2 kB / 295.1 MB, free: 4.008 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.097e-05/0.01268, allocations: 29.38 kB / 295.1 MB, free: 3.98 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.698e-05/0.01277, allocations: 48.72 kB / 295.2 MB, free: 3.934 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003914/0.01316, allocations: 450.7 kB / 295.6 MB, free: 3.43 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.616e-05/0.01317, allocations: 7.953 kB / 295.6 MB, free: 3.422 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.634e-05/0.0132, allocations: 16 kB / 295.6 MB, free: 3.406 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.193e-05/0.01328, allocations: 44.97 kB / 295.7 MB, free: 3.363 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002128/0.0135, allocations: 186.6 kB / 295.8 MB, free: 3.176 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001678/0.01517, allocations: 2.6 MB / 298.4 MB, free: 436 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002208/0.01539, allocations: 131.9 kB / 298.6 MB, free: 284 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.022e-05/0.01544, allocations: 41.77 kB / 298.6 MB, free: 236 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.018e-05/0.01546, allocations: 8 kB / 298.6 MB, free: 228 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.328e-05/0.01549, allocations: 38.56 kB / 298.7 MB, free: 180 kB / 282.7 MB Notification: Performance of pre-optimization done (n=23): time 1.453e-06/0.01549, allocations: 0 / 298.7 MB, free: 180 kB / 282.7 MB Notification: Performance of matching and sorting (n=24): time 0.0006264/0.01612, allocations: 441.2 kB / 299.1 MB, free: 15.71 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.399e-05/0.01615, allocations: 85.11 kB / 299.2 MB, free: 15.61 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002059/0.01636, allocations: 306.7 kB / 299.5 MB, free: 15.3 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.01637, allocations: 29.7 kB / 299.5 MB, free: 15.27 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001216/0.01649, allocations: 272.4 kB / 299.8 MB, free: 15 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.062e-05/0.01657, allocations: 99.33 kB / 299.9 MB, free: 14.9 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.44e-05/0.01665, allocations: 86.09 kB / 300 MB, free: 14.81 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.12e-05/0.01673, allocations: 342.8 kB / 300.3 MB, free: 14.46 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.555e-05/0.01678, allocations: 36.97 kB / 300.3 MB, free: 14.43 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001269/0.0169, allocations: 237.8 kB / 300.6 MB, free: 14.11 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002317/0.01713, allocations: 343.8 kB / 300.9 MB, free: 13.68 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.01714, allocations: 4 kB / 300.9 MB, free: 13.68 MB / 298.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.000462/0.0176, allocations: 336.8 kB / 301.2 MB, free: 13.33 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.01761, allocations: 8 kB / 301.2 MB, free: 13.32 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.01762, allocations: 11.98 kB / 301.2 MB, free: 13.31 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002538/0.01788, allocations: 102.1 kB / 301.3 MB, free: 13.2 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001659/0.01804, allocations: 104 kB / 301.4 MB, free: 13.1 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001301/0.01934, allocations: 2.533 MB / 304 MB, free: 10.37 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000123/0.01946, allocations: 16.19 kB / 304 MB, free: 10.36 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.016e-05/0.01949, allocations: 28.05 kB / 304 MB, free: 10.33 MB / 298.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 0.0001046/0.01959, allocations: 148.4 kB / 304.2 MB, free: 10.17 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.901e-05/0.01963, allocations: 27.97 kB / 304.2 MB, free: 10.14 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001887/0.01982, allocations: 168.9 kB / 304.4 MB, free: 9.973 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.01982, allocations: 0 / 304.4 MB, free: 9.973 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.51e-07/0.01982, allocations: 4 kB / 304.4 MB, free: 9.969 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.01982, allocations: 0 / 304.4 MB, free: 9.969 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005636/0.02039, allocations: 439.9 kB / 304.8 MB, free: 9.508 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.02039, allocations: 0 / 304.8 MB, free: 9.508 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002086/0.0206, allocations: 71.95 kB / 304.9 MB, free: 9.438 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.716e-05/0.02064, allocations: 31.8 kB / 304.9 MB, free: 9.406 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.02065, allocations: 4 kB / 304.9 MB, free: 9.402 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.426e-05/0.02066, allocations: 7.984 kB / 304.9 MB, free: 9.395 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.02066, allocations: 7.938 kB / 304.9 MB, free: 9.387 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.02067, allocations: 0 / 304.9 MB, free: 9.387 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002244/0.02089, allocations: 313.9 kB / 305.2 MB, free: 9.055 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.297e-05/0.02091, allocations: 4 kB / 305.2 MB, free: 9.051 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.22e-05/0.02099, allocations: 8 kB / 305.2 MB, free: 9.043 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.669e-05/0.02101, allocations: 23.91 kB / 305.3 MB, free: 9.02 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.077e-05/0.02102, allocations: 7.938 kB / 305.3 MB, free: 9.012 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.075e-05/0.02109, allocations: 104.6 kB / 305.4 MB, free: 8.906 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02109, allocations: 0 / 305.4 MB, free: 8.906 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002792/0.02137, allocations: 100 kB / 305.5 MB, free: 8.809 MB / 298.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.371e-05/0.02146, allocations: 92.41 kB / 305.6 MB, free: 8.707 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003817/0.02184, allocations: 441 kB / 306 MB, free: 8.25 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.137e-05/0.02185, allocations: 4 kB / 306 MB, free: 8.246 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.181e-05/0.02194, allocations: 91.62 kB / 306.1 MB, free: 8.156 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004505/0.02239, allocations: 0.5658 MB / 306.6 MB, free: 7.492 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005649/0.02804, allocations: 0.8758 MB / 307.5 MB, free: 6.574 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.542e-05/0.02814, allocations: 153 kB / 307.7 MB, free: 6.406 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001122/0.02825, allocations: 51.25 kB / 307.7 MB, free: 6.355 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001354/0.02838, allocations: 107.3 kB / 307.8 MB, free: 6.25 MB / 298.7 MB Notification: Performance of SimCode: time 6.11e-07/0.02838, allocations: 0 / 307.8 MB, free: 6.25 MB / 298.7 MB Notification: Performance of Templates: time 0.006086/0.03447, allocations: 4.113 MB / 311.9 MB, free: 2.215 MB / 298.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8910187100991607]