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.0008396/0.0008396, allocations: 79.59 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.0009156/0.0009156, 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.9391/0.9391, allocations: 177.1 MB / 205 MB, free: 5.617 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.2203/0.2203, allocations: 29.41 MB / 290.9 MB, free: 2.5 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.183e-06/1.183e-06, allocations: 0 / 369.6 MB, free: 11.01 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.284e-05/2.403e-05, allocations: 2.312 kB / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.ImpedanceTest): time 0.004128/0.004152, allocations: 3.472 MB / 373.1 MB, free: 7.508 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001566/0.005717, allocations: 1.161 MB / 374.3 MB, free: 6.34 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001423/0.005859, allocations: 7.938 kB / 374.3 MB, free: 6.332 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006026/0.006462, allocations: 211.1 kB / 374.5 MB, free: 6.125 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005757/0.007038, allocations: 282.5 kB / 374.8 MB, free: 5.848 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002679/0.007306, allocations: 107.6 kB / 374.9 MB, free: 5.742 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003997/0.007705, allocations: 342.9 kB / 375.2 MB, free: 5.406 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002525/0.007958, allocations: 110.1 kB / 375.3 MB, free: 5.301 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003445/0.008302, allocations: 199.4 kB / 375.5 MB, free: 5.105 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002414/0.008544, allocations: 147.5 kB / 375.6 MB, free: 4.961 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.648e-05/0.00857, allocations: 20 kB / 375.7 MB, free: 4.941 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003863/0.008956, allocations: 263.1 kB / 375.9 MB, free: 4.684 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001158/0.009072, allocations: 103.8 kB / 376 MB, free: 4.582 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 9.079e-05/0.009163, allocations: 79.81 kB / 376.1 MB, free: 4.504 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004358/0.009599, allocations: 307 kB / 376.4 MB, free: 4.203 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.009603, allocations: 0 / 376.4 MB, free: 4.203 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.009604, allocations: 0 / 376.4 MB, free: 4.203 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.009609, allocations: 0 / 376.4 MB, free: 4.203 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.000588/0.0102, allocations: 0.5384 MB / 376.9 MB, free: 3.629 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.01023, allocations: 11.98 kB / 376.9 MB, free: 3.617 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006747/0.01091, allocations: 132.6 kB / 377.1 MB, free: 3.488 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002848/0.01119, allocations: 208.8 kB / 377.3 MB, free: 3.258 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.84e-05/0.01121, allocations: 12.38 kB / 377.3 MB, free: 3.246 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.046e-05/0.01125, allocations: 20.36 kB / 377.3 MB, free: 3.227 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003116/0.01156, allocations: 228.3 kB / 377.5 MB, free: 2.977 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.01158, allocations: 3.938 kB / 377.5 MB, free: 2.973 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.415e-05/0.0116, allocations: 8 kB / 377.5 MB, free: 2.965 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.663e-05/0.01164, allocations: 23.98 kB / 377.6 MB, free: 2.941 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002178/0.01186, allocations: 119.8 kB / 377.7 MB, free: 2.824 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001242/0.0131, allocations: 1.32 MB / 379 MB, free: 1.414 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004059/0.01351, allocations: 190.2 kB / 379.2 MB, free: 1.203 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.569e-05/0.01356, allocations: 35.42 kB / 379.2 MB, free: 1.16 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.562e-05/0.01359, allocations: 4 kB / 379.2 MB, free: 1.156 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.923e-05/0.01362, allocations: 37.61 kB / 379.3 MB, free: 1.109 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 1.342e-06/0.01362, allocations: 3.938 kB / 379.3 MB, free: 1.105 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.0006683/0.01429, allocations: 283.9 kB / 379.5 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.304e-05/0.01433, allocations: 77.11 kB / 379.6 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000158/0.01449, allocations: 238.6 kB / 379.9 MB, free: 484 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/0.0145, allocations: 33.83 kB / 379.9 MB, free: 444 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001078/0.01461, allocations: 218.9 kB / 380.1 MB, free: 216 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.685e-05/0.01465, allocations: 51.59 kB / 380.2 MB, free: 164 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.015e-05/0.01471, allocations: 43.36 kB / 380.2 MB, free: 112 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.01485, allocations: 0.5001 MB / 380.7 MB, free: 15.6 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.769e-05/0.0149, allocations: 23.98 kB / 380.7 MB, free: 15.57 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001171/0.01501, allocations: 171.1 kB / 380.9 MB, free: 15.34 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001948/0.01521, allocations: 215 kB / 381.1 MB, free: 15.07 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.01521, allocations: 0 / 381.1 MB, free: 15.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003147/0.01552, allocations: 212.8 kB / 381.3 MB, free: 14.85 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.01554, allocations: 10.34 kB / 381.3 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.01555, allocations: 4 kB / 381.3 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002064/0.01575, allocations: 44.09 kB / 381.4 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001122/0.01587, allocations: 43.91 kB / 381.4 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009485/0.01682, allocations: 1.748 MB / 383.1 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.401e-05/0.01691, allocations: 16.05 kB / 383.2 MB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.715e-05/0.01693, allocations: 8.125 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 0.0001001/0.01703, allocations: 176.5 kB / 383.3 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.955e-05/0.01707, allocations: 19.91 kB / 383.4 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002383/0.0173, allocations: 146.6 kB / 383.5 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.01731, allocations: 7.875 kB / 383.5 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.01731, allocations: 0 / 383.5 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.01732, allocations: 7.984 kB / 383.5 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005493/0.01787, allocations: 495.9 kB / 384 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.01787, allocations: 4 kB / 384 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.914e-05/0.01793, allocations: 19.98 kB / 384 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.944e-05/0.01803, allocations: 31.66 kB / 384.1 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.01804, allocations: 4 kB / 384.1 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007994/0.01884, allocations: 1.744 MB / 385.8 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.01884, allocations: 3.938 kB / 385.8 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002634/0.0191, allocations: 322.2 kB / 386.1 MB, free: 9.66 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.214e-05/0.01913, allocations: 23.84 kB / 386.2 MB, free: 9.637 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.627e-05/0.01914, allocations: 3.984 kB / 386.2 MB, free: 9.633 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.928e-05/0.01922, allocations: 8 kB / 386.2 MB, free: 9.625 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.811e-05/0.01925, allocations: 16.02 kB / 386.2 MB, free: 9.609 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.094e-05/0.01926, allocations: 4 kB / 386.2 MB, free: 9.605 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.325e-05/0.01934, allocations: 177 kB / 386.4 MB, free: 9.434 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01934, allocations: 0 / 386.4 MB, free: 9.434 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003355/0.01968, allocations: 48 kB / 386.4 MB, free: 9.387 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 9.168e-05/0.01977, allocations: 99.25 kB / 386.5 MB, free: 9.281 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003483/0.02012, allocations: 276.1 kB / 386.8 MB, free: 8.992 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.02012, allocations: 4 kB / 386.8 MB, free: 8.988 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000152/0.02027, allocations: 224.8 kB / 387 MB, free: 8.75 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000321/0.0206, allocations: 27.92 kB / 387 MB, free: 8.723 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001031/0.02163, allocations: 426 kB / 387.4 MB, free: 8.258 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.025e-05/0.0217, allocations: 99.89 kB / 387.5 MB, free: 8.141 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.706e-05/0.02178, allocations: 41.45 kB / 387.6 MB, free: 8.102 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.734e-05/0.02182, allocations: 16.5 kB / 387.6 MB, free: 8.082 MB / 362.7 MB Notification: Performance of SimCode: time 9.51e-07/0.02182, allocations: 0 / 387.6 MB, free: 8.082 MB / 362.7 MB Notification: Performance of Templates: time 0.004119/0.02594, allocations: 1.656 MB / 389.2 MB, free: 6.449 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.218504436314106]