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.001148/0.001148, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001344/0.001344, allocations: 163.6 kB / 24.99 MB, free: 8.793 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 0.9997/0.9997, allocations: 177.1 MB / 205.3 MB, free: 5.645 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.223/0.223, allocations: 29.41 MB / 291.2 MB, free: 2.402 MB / 266.7 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.[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.453e-06/1.453e-06, allocations: 0 / 369.6 MB, free: 11.32 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.47e-05/1.615e-05, allocations: 2.312 kB / 369.6 MB, free: 11.31 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.ImpedanceTest): time 0.00326/0.003276, allocations: 3.582 MB / 373.2 MB, free: 7.707 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001474/0.00475, allocations: 1.438 MB / 374.6 MB, free: 6.262 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001244/0.004875, allocations: 11.94 kB / 374.6 MB, free: 6.25 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005823/0.005457, allocations: 254.9 kB / 374.9 MB, free: 6 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004709/0.005928, allocations: 282.6 kB / 375.2 MB, free: 5.723 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002021/0.00613, allocations: 115.5 kB / 375.3 MB, free: 5.609 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003183/0.006448, allocations: 342.8 kB / 375.6 MB, free: 5.273 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002438/0.006692, allocations: 118.1 kB / 375.7 MB, free: 5.16 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002643/0.006956, allocations: 203.3 kB / 375.9 MB, free: 4.961 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001945/0.007151, allocations: 151.5 kB / 376.1 MB, free: 4.812 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.164e-05/0.007172, allocations: 19.94 kB / 376.1 MB, free: 4.793 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002873/0.00746, allocations: 263.2 kB / 376.3 MB, free: 4.535 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.052e-05/0.00755, allocations: 111.7 kB / 376.5 MB, free: 4.426 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 7.631e-05/0.007627, allocations: 71.83 kB / 376.5 MB, free: 4.355 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003249/0.007951, allocations: 303.1 kB / 376.8 MB, free: 4.059 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.007954, allocations: 0 / 376.8 MB, free: 4.059 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.007954, allocations: 0 / 376.8 MB, free: 4.059 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.098e-06/0.007958, allocations: 0 / 376.8 MB, free: 4.059 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.0005247/0.008483, allocations: 0.5461 MB / 377.4 MB, free: 3.477 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.008518, allocations: 15.98 kB / 377.4 MB, free: 3.461 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005393/0.009057, allocations: 128.6 kB / 377.5 MB, free: 3.336 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000231/0.009288, allocations: 211.9 kB / 377.7 MB, free: 3.105 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.746e-05/0.009306, allocations: 20.36 kB / 377.7 MB, free: 3.086 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.075e-05/0.009336, allocations: 16.38 kB / 377.8 MB, free: 3.07 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002628/0.009599, allocations: 232.3 kB / 378 MB, free: 2.816 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.009612, allocations: 3.938 kB / 378 MB, free: 2.812 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.893e-05/0.009631, allocations: 12 kB / 378 MB, free: 2.801 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.822e-05/0.009659, allocations: 15.98 kB / 378 MB, free: 2.785 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001748/0.009834, allocations: 127.8 kB / 378.1 MB, free: 2.66 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001002/0.01084, allocations: 1.312 MB / 379.4 MB, free: 1.258 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003157/0.01115, allocations: 186.2 kB / 379.6 MB, free: 1.051 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.887e-05/0.0112, allocations: 35.42 kB / 379.7 MB, free: 1.008 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.944e-05/0.01122, allocations: 8 kB / 379.7 MB, free: 1 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.376e-05/0.01124, allocations: 37.39 kB / 379.7 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 1.543e-06/0.01125, allocations: 0 / 379.7 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.000539/0.01178, allocations: 276.6 kB / 380 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.439e-05/0.01182, allocations: 85.05 kB / 380.1 MB, free: 0.5703 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001277/0.01195, allocations: 242.7 kB / 380.3 MB, free: 320 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.221e-05/0.01196, allocations: 29.7 kB / 380.3 MB, free: 284 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.313e-05/0.01204, allocations: 214.9 kB / 380.5 MB, free: 60 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.825e-05/0.01207, allocations: 51.55 kB / 380.6 MB, free: 8 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.867e-05/0.01214, allocations: 51.44 kB / 380.6 MB, free: 15.95 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.01226, allocations: 0.5001 MB / 381.1 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.974e-05/0.0123, allocations: 19.98 kB / 381.2 MB, free: 15.41 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.718e-05/0.0124, allocations: 175.1 kB / 381.3 MB, free: 15.18 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000158/0.01256, allocations: 206.6 kB / 381.5 MB, free: 14.92 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.01256, allocations: 4 kB / 381.5 MB, free: 14.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002419/0.0128, allocations: 216.8 kB / 381.7 MB, free: 14.69 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.01281, allocations: 4 kB / 381.8 MB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.01282, allocations: 4 kB / 381.8 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001795/0.013, allocations: 44.03 kB / 381.8 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.292e-05/0.01308, allocations: 47.92 kB / 381.8 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008655/0.01395, allocations: 1.748 MB / 383.6 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.401e-05/0.01401, allocations: 8.125 kB / 383.6 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.41e-05/0.01403, allocations: 19.98 kB / 383.6 MB, free: 12.7 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 9.048e-05/0.01412, allocations: 168.5 kB / 383.8 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.818e-05/0.01415, allocations: 19.91 kB / 383.8 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001949/0.01434, allocations: 134.8 kB / 383.9 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.01434, allocations: 7.875 kB / 383.9 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.01435, allocations: 4 kB / 383.9 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.01435, allocations: 0 / 383.9 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004303/0.01478, allocations: 0.4997 MB / 384.4 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.01478, allocations: 3.938 kB / 384.5 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.635e-05/0.01483, allocations: 23.98 kB / 384.5 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.686e-05/0.0149, allocations: 23.67 kB / 384.5 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.01491, allocations: 7.984 kB / 384.5 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007105/0.01562, allocations: 1.748 MB / 386.3 MB, free: 9.859 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.01563, allocations: 4 kB / 386.3 MB, free: 9.855 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002178/0.01584, allocations: 317.4 kB / 386.6 MB, free: 9.508 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.481e-05/0.01586, allocations: 19.84 kB / 386.6 MB, free: 9.488 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.343e-05/0.01587, allocations: 8 kB / 386.6 MB, free: 9.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.126e-05/0.01592, allocations: 8.109 kB / 386.6 MB, free: 9.473 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.049e-05/0.01595, allocations: 15.92 kB / 386.6 MB, free: 9.457 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.307e-05/0.01597, allocations: 8 kB / 386.6 MB, free: 9.449 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.11e-05/0.01606, allocations: 161.1 kB / 386.8 MB, free: 9.293 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.01606, allocations: 4 kB / 386.8 MB, free: 9.289 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002324/0.01629, allocations: 51.98 kB / 386.8 MB, free: 9.238 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 8.608e-05/0.01638, allocations: 103.2 kB / 386.9 MB, free: 9.129 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003388/0.01672, allocations: 279.6 kB / 387.2 MB, free: 8.836 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.01672, allocations: 0 / 387.2 MB, free: 8.836 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001313/0.01685, allocations: 221.5 kB / 387.4 MB, free: 8.598 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002467/0.0171, allocations: 38.3 kB / 387.5 MB, free: 8.566 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008295/0.01793, allocations: 430.3 kB / 387.9 MB, free: 8.098 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.242e-05/0.018, allocations: 103.9 kB / 388 MB, free: 7.977 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.928e-05/0.01807, allocations: 33.45 kB / 388 MB, free: 7.945 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.41e-05/0.0181, allocations: 16.5 kB / 388 MB, free: 7.926 MB / 362.7 MB Notification: Performance of SimCode: time 8.52e-07/0.0181, allocations: 0 / 388 MB, free: 7.926 MB / 362.7 MB Notification: Performance of Templates: time 0.00344/0.02154, allocations: 1.645 MB / 389.7 MB, free: 6.297 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: 3.069658133899793]