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.001003/0.001003, allocations: 83.58 kB / 21.18 MB, free: 3.383 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.001113/0.001113, allocations: 165 kB / 24.56 MB, free: 12 kB / 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.9633/0.9633, allocations: 177.1 MB / 205 MB, free: 5.23 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.2647/0.2647, allocations: 29.42 MB / 290.9 MB, free: 2.48 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.Generic.Test.ImpedanceTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|load.i.[0-9,]+.|load.p.[0-9,]+.|load.v.[0-9,]+.",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.[0-9,]+.|load.p.[0-9,]+.|load.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.163e-06/1.163e-06, allocations: 0 / 369.6 MB, free: 11.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.697e-05/1.814e-05, allocations: 5.125 kB / 369.6 MB, free: 11.01 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.ImpedanceTest): time 0.00306/0.003078, allocations: 3.476 MB / 373.1 MB, free: 7.508 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001195/0.004273, allocations: 1.149 MB / 374.3 MB, free: 6.352 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.017e-05/0.004363, allocations: 15.88 kB / 374.3 MB, free: 6.336 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003888/0.004752, allocations: 207.2 kB / 374.5 MB, free: 6.133 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004444/0.005196, allocations: 286.5 kB / 374.8 MB, free: 5.852 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002011/0.005398, allocations: 107.5 kB / 374.9 MB, free: 5.746 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002513/0.005649, allocations: 338.9 kB / 375.2 MB, free: 5.414 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001788/0.005828, allocations: 110.1 kB / 375.3 MB, free: 5.309 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002501/0.006078, allocations: 203.4 kB / 375.5 MB, free: 5.109 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001851/0.006263, allocations: 151.6 kB / 375.6 MB, free: 4.961 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.054e-05/0.006284, allocations: 16 kB / 375.7 MB, free: 4.945 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005405/0.006824, allocations: 267.1 kB / 375.9 MB, free: 4.684 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.866e-05/0.006913, allocations: 103.7 kB / 376 MB, free: 4.582 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.86e-05/0.006981, allocations: 75.83 kB / 376.1 MB, free: 4.508 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00034/0.007321, allocations: 303 kB / 376.4 MB, free: 4.211 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.007323, allocations: 0 / 376.4 MB, free: 4.211 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.007324, allocations: 0 / 376.4 MB, free: 4.211 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.007329, allocations: 0 / 376.4 MB, free: 4.211 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0005066/0.007836, allocations: 0.5462 MB / 376.9 MB, free: 3.629 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.007872, allocations: 15.98 kB / 377 MB, free: 3.613 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004909/0.008363, allocations: 124.6 kB / 377.1 MB, free: 3.492 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002325/0.008595, allocations: 208 kB / 377.3 MB, free: 3.266 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/0.008611, allocations: 20.3 kB / 377.3 MB, free: 3.246 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.044e-05/0.008642, allocations: 20.38 kB / 377.3 MB, free: 3.227 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002563/0.008898, allocations: 224.4 kB / 377.5 MB, free: 2.98 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.008912, allocations: 7.938 kB / 377.5 MB, free: 2.973 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.684e-05/0.008929, allocations: 7.984 kB / 377.6 MB, free: 2.965 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.842e-05/0.008957, allocations: 19.92 kB / 377.6 MB, free: 2.945 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001653/0.009123, allocations: 119.8 kB / 377.7 MB, free: 2.828 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009549/0.01008, allocations: 1.324 MB / 379 MB, free: 1.414 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003144/0.01039, allocations: 182.1 kB / 379.2 MB, free: 1.211 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.19e-05/0.01044, allocations: 39.42 kB / 379.2 MB, free: 1.164 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.745e-05/0.01046, allocations: 4 kB / 379.2 MB, free: 1.16 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.6e-05/0.01049, allocations: 41.33 kB / 379.3 MB, free: 1.109 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 1.252e-06/0.01049, allocations: 0 / 379.3 MB, free: 1.109 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005558/0.01104, allocations: 283.8 kB / 379.6 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.036e-05/0.01108, allocations: 89.11 kB / 379.6 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001374/0.01122, allocations: 234.6 kB / 379.9 MB, free: 484 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.336e-05/0.01124, allocations: 25.7 kB / 379.9 MB, free: 452 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.66e-05/0.01133, allocations: 222.9 kB / 380.1 MB, free: 220 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.264e-05/0.01136, allocations: 51.8 kB / 380.2 MB, free: 168 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.064e-05/0.01142, allocations: 51.36 kB / 380.2 MB, free: 108 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.01155, allocations: 0.4961 MB / 380.7 MB, free: 15.6 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.974e-05/0.01159, allocations: 23.98 kB / 380.7 MB, free: 15.57 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001056/0.0117, allocations: 171.1 kB / 380.9 MB, free: 15.34 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001692/0.01187, allocations: 219.1 kB / 381.1 MB, free: 15.07 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.01187, allocations: 0 / 381.1 MB, free: 15.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002578/0.01213, allocations: 212.8 kB / 381.3 MB, free: 14.85 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.01214, allocations: 8 kB / 381.3 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.01215, allocations: 4.438 kB / 381.3 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001677/0.01231, allocations: 43.59 kB / 381.4 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.338e-05/0.0124, allocations: 43.91 kB / 381.4 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001026/0.01342, allocations: 1.744 MB / 383.2 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.388e-05/0.01349, allocations: 12.05 kB / 383.2 MB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.467e-05/0.0135, allocations: 16 kB / 383.2 MB, free: 12.86 MB / 362.7 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 8.706e-05/0.01359, allocations: 172.5 kB / 383.4 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.816e-05/0.01362, allocations: 23.91 kB / 383.4 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002031/0.01382, allocations: 134.7 kB / 383.5 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.327e-06/0.01382, allocations: 7.938 kB / 383.5 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.474e-06/0.01383, allocations: 0 / 383.5 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.491e-06/0.01383, allocations: 8.016 kB / 383.5 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004578/0.01429, allocations: 499.3 kB / 384 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.01429, allocations: 4 kB / 384 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.449e-05/0.01434, allocations: 19.98 kB / 384 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.244e-05/0.01443, allocations: 31.66 kB / 384.1 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.01444, allocations: 8.031 kB / 384.1 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006559/0.0151, allocations: 1.748 MB / 385.8 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.0151, allocations: 0 / 385.8 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002065/0.0153, allocations: 330 kB / 386.1 MB, free: 9.652 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.45e-05/0.01532, allocations: 15.97 kB / 386.2 MB, free: 9.637 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.297e-05/0.01533, allocations: 11.98 kB / 386.2 MB, free: 9.625 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.152e-05/0.01538, allocations: 8 kB / 386.2 MB, free: 9.617 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.413e-05/0.01541, allocations: 7.984 kB / 386.2 MB, free: 9.609 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.448e-06/0.01542, allocations: 4 kB / 386.2 MB, free: 9.605 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.427e-05/0.01548, allocations: 173 kB / 386.4 MB, free: 9.438 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.01548, allocations: 0 / 386.4 MB, free: 9.438 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000219/0.0157, allocations: 48 kB / 386.4 MB, free: 9.391 MB / 362.7 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 7.565e-05/0.01578, allocations: 95.25 kB / 386.5 MB, free: 9.289 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003026/0.01608, allocations: 282.8 kB / 386.8 MB, free: 8.996 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.01608, allocations: 0 / 386.8 MB, free: 8.996 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001172/0.0162, allocations: 225.4 kB / 387 MB, free: 8.754 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002287/0.01643, allocations: 30.77 kB / 387 MB, free: 8.727 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00081/0.01724, allocations: 425.3 kB / 387.4 MB, free: 8.262 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.589e-05/0.01729, allocations: 99.89 kB / 387.5 MB, free: 8.145 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.564e-05/0.01736, allocations: 41.39 kB / 387.6 MB, free: 8.105 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.327e-05/0.01739, allocations: 20.5 kB / 387.6 MB, free: 8.082 MB / 362.7 MB Notification: Performance of SimCode: time 6.32e-07/0.01739, allocations: 0 / 387.6 MB, free: 8.082 MB / 362.7 MB Notification: Performance of Templates: time 0.003382/0.02077, allocations: 1.695 MB / 389.3 MB, free: 6.406 MB / 362.7 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=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.ImpedanceTest.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: 2.892668450716883]