Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.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.001962/0.001962, allocations: 99.66 kB / 21.18 MB, free: 0.5273 MB / 14.72 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.002194/0.002194, allocations: 213.2 kB / 24.48 MB, free: 3.84 MB / 14.72 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.47/1.47, allocations: 230.6 MB / 258.2 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] 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.1892/0.1892, allocations: 38.55 MB / 353.2 MB, free: 12.33 MB / 286.1 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.Generic.Test.ImpedanceTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|load.i.1.|load.i.2.|load.p.1.|load.p.2.|load.v.1.|load.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest") translateModel(PowerSystems.Examples.Generic.Test.ImpedanceTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|load.i.1.|load.i.2.|load.p.1.|load.p.2.|load.v.1.|load.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest") [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002042/0.002042, allocations: 67.89 kB / 493.7 MB, free: 4.234 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2875/0.2895, allocations: 62.47 MB / 0.5432 GB, free: 448 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.ImpedanceTest): time 0.004994/0.2945, allocations: 3.425 MB / 0.5465 GB, free: 13.79 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002239/0.2968, allocations: 1.365 MB / 0.5478 GB, free: 12.74 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001257/0.2969, allocations: 9.406 kB / 0.5478 GB, free: 12.73 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008313/0.2977, allocations: 257.2 kB / 0.5481 GB, free: 12.54 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006409/0.2984, allocations: 282.4 kB / 0.5484 GB, free: 12.33 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003168/0.2987, allocations: 109.6 kB / 0.5485 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004458/0.2991, allocations: 337 kB / 0.5488 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000295/0.2994, allocations: 118.5 kB / 0.5489 GB, free: 11.99 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003079/0.2997, allocations: 171.7 kB / 0.5491 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002526/0.3, allocations: 149.3 kB / 0.5492 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.793e-05/0.3, allocations: 14.03 kB / 0.5492 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000477/0.3005, allocations: 269 kB / 0.5495 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000121/0.3006, allocations: 97.36 kB / 0.5496 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001103/0.3007, allocations: 89.81 kB / 0.5497 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004881/0.3012, allocations: 339.2 kB / 0.55 GB, free: 11.36 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.3012, allocations: 3.984 kB / 0.55 GB, free: 11.36 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3012, allocations: 0 / 0.55 GB, free: 11.36 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.095e-05/0.3012, allocations: 4 kB / 0.55 GB, free: 11.35 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0007214/0.3019, allocations: 447.9 kB / 0.5504 GB, free: 10.96 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.302, allocations: 16.41 kB / 0.5504 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008368/0.3028, allocations: 92.48 kB / 0.5505 GB, free: 10.91 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004001/0.3032, allocations: 205.8 kB / 0.5507 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.46e-05/0.3032, allocations: 19.14 kB / 0.5507 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.071e-05/0.3033, allocations: 23.62 kB / 0.5508 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000518/0.3038, allocations: 314.1 kB / 0.5511 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.3038, allocations: 1.719 kB / 0.5511 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.991e-05/0.3039, allocations: 13.64 kB / 0.5511 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.251e-05/0.3039, allocations: 16.95 kB / 0.5511 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004468/0.3043, allocations: 285.3 kB / 0.5514 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001774/0.3061, allocations: 1.169 MB / 0.5525 GB, free: 9.324 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006015/0.3067, allocations: 203.6 kB / 0.5527 GB, free: 9.207 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001011/0.3068, allocations: 52.86 kB / 0.5527 GB, free: 9.172 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.626e-05/0.3068, allocations: 1.688 kB / 0.5527 GB, free: 9.172 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.628e-05/0.3069, allocations: 41.38 kB / 0.5528 GB, free: 9.125 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 2.445e-06/0.3069, allocations: 0 / 0.5528 GB, free: 9.125 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009798/0.3079, allocations: 365.6 kB / 0.5531 GB, free: 8.906 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.046e-05/0.3079, allocations: 79.36 kB / 0.5532 GB, free: 8.812 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002042/0.3081, allocations: 194.8 kB / 0.5534 GB, free: 8.656 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.32e-05/0.3081, allocations: 30.83 kB / 0.5534 GB, free: 8.621 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00012/0.3083, allocations: 161 kB / 0.5536 GB, free: 8.473 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.014e-05/0.3083, allocations: 53.7 kB / 0.5536 GB, free: 8.426 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.37e-05/0.3084, allocations: 45.95 kB / 0.5537 GB, free: 8.391 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.3085, allocations: 323.5 kB / 0.554 GB, free: 8.07 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.033e-05/0.3086, allocations: 52.22 kB / 0.554 GB, free: 8.047 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001732/0.3088, allocations: 149.3 kB / 0.5542 GB, free: 7.895 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002938/0.3091, allocations: 238.4 kB / 0.5544 GB, free: 7.691 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.3091, allocations: 5.25 kB / 0.5544 GB, free: 7.688 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004545/0.3095, allocations: 256.3 kB / 0.5547 GB, free: 7.543 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.3096, allocations: 6.562 kB / 0.5547 GB, free: 7.543 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.3096, allocations: 7.438 kB / 0.5547 GB, free: 7.539 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002356/0.3098, allocations: 41.92 kB / 0.5547 GB, free: 7.516 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001471/0.31, allocations: 40.45 kB / 0.5547 GB, free: 7.508 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001245/0.3112, allocations: 1.312 MB / 0.556 GB, free: 6.203 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001231/0.3113, allocations: 8.969 kB / 0.556 GB, free: 6.199 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.926e-05/0.3113, allocations: 13.31 kB / 0.556 GB, free: 6.195 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001665/0.3115, allocations: 157.3 kB / 0.5562 GB, free: 6.051 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.294e-05/0.3116, allocations: 15.44 kB / 0.5562 GB, free: 6.043 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004093/0.312, allocations: 200 kB / 0.5564 GB, free: 5.914 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-06/0.312, allocations: 2.469 kB / 0.5564 GB, free: 5.914 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.312, allocations: 0 / 0.5564 GB, free: 5.914 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.312, allocations: 1.25 kB / 0.5564 GB, free: 5.914 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008622/0.3128, allocations: 493.5 kB / 0.5569 GB, free: 5.512 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.3128, allocations: 1.281 kB / 0.5569 GB, free: 5.512 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.083e-05/0.3129, allocations: 23.95 kB / 0.5569 GB, free: 5.504 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001421/0.3131, allocations: 28 kB / 0.5569 GB, free: 5.488 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.694e-05/0.3131, allocations: 6.203 kB / 0.5569 GB, free: 5.484 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001159/0.3143, allocations: 1.311 MB / 0.5582 GB, free: 4.18 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.3143, allocations: 2.406 kB / 0.5582 GB, free: 4.18 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004171/0.3147, allocations: 295.2 kB / 0.5585 GB, free: 3.891 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.468e-05/0.3147, allocations: 23.89 kB / 0.5585 GB, free: 3.867 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.666e-05/0.3147, allocations: 4 kB / 0.5585 GB, free: 3.863 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.3148, allocations: 4 kB / 0.5585 GB, free: 3.859 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.363e-05/0.3149, allocations: 16.11 kB / 0.5585 GB, free: 3.844 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.805e-05/0.3149, allocations: 11.92 kB / 0.5586 GB, free: 3.832 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001211/0.315, allocations: 129.2 kB / 0.5587 GB, free: 3.707 MB / 398.1 MB Notification: Performance of sort global known variables: time 5e-08/0.315, allocations: 0 / 0.5587 GB, free: 3.707 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003886/0.3154, allocations: 48 kB / 0.5587 GB, free: 3.66 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001722/0.3156, allocations: 113.5 kB / 0.5588 GB, free: 3.539 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004947/0.3161, allocations: 259.1 kB / 0.5591 GB, free: 3.273 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.3161, allocations: 0 / 0.5591 GB, free: 3.273 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002398/0.3163, allocations: 174.5 kB / 0.5592 GB, free: 3.09 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003723/0.3167, allocations: 32.86 kB / 0.5593 GB, free: 3.062 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008426/0.3175, allocations: 497.7 kB / 0.5597 GB, free: 2.531 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001686/0.3177, allocations: 143.9 kB / 0.5599 GB, free: 2.367 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.15e-05/0.3178, allocations: 23.42 kB / 0.5599 GB, free: 2.344 MB / 398.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3178, allocations: 0 / 0.5599 GB, free: 2.344 MB / 398.1 MB Notification: Performance of Templates: time 0.005674/0.3234, allocations: 3.254 MB / 0.5631 GB, free: 15.09 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.ImpedanceTest.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.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: 7.778067777864635]