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.001005/0.001005, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001032/0.001032, allocations: 166.2 kB / 24.82 MB, free: 9.266 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 1.084/1.084, allocations: 177.1 MB / 205.3 MB, free: 5.48 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.32/0.32, allocations: 29.43 MB / 291.2 MB, free: 2.465 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.793e-06/1.793e-06, allocations: 0 / 370.1 MB, free: 10.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.561e-05/1.74e-05, allocations: 2.312 kB / 370.1 MB, free: 10.73 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.ImpedanceTest): time 0.003796/0.003814, allocations: 3.445 MB / 373.6 MB, free: 7.258 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001487/0.0053, allocations: 1.141 MB / 374.7 MB, free: 6.109 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001442/0.005445, allocations: 11.94 kB / 374.7 MB, free: 6.098 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005848/0.006029, allocations: 207.1 kB / 374.9 MB, free: 5.895 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004273/0.006457, allocations: 282.5 kB / 375.2 MB, free: 5.617 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001925/0.006649, allocations: 115.6 kB / 375.3 MB, free: 5.504 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003359/0.006985, allocations: 334.9 kB / 375.6 MB, free: 5.176 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000234/0.007219, allocations: 110.1 kB / 375.7 MB, free: 5.07 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002999/0.007519, allocations: 199.4 kB / 375.9 MB, free: 4.875 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002143/0.007733, allocations: 147.6 kB / 376.1 MB, free: 4.73 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.376e-05/0.007757, allocations: 12 kB / 376.1 MB, free: 4.719 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003129/0.00807, allocations: 271.1 kB / 376.4 MB, free: 4.453 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001027/0.008173, allocations: 103.7 kB / 376.5 MB, free: 4.352 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 7.004e-05/0.008243, allocations: 75.83 kB / 376.5 MB, free: 4.277 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003439/0.008587, allocations: 303.1 kB / 376.8 MB, free: 3.98 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.554e-06/0.008589, allocations: 3.938 kB / 376.8 MB, free: 3.977 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.00859, allocations: 0 / 376.8 MB, free: 3.977 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.97e-06/0.008595, allocations: 0 / 376.8 MB, free: 3.977 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.0005478/0.009143, allocations: 0.5461 MB / 377.4 MB, free: 3.395 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.00919, allocations: 11.98 kB / 377.4 MB, free: 3.383 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004766/0.009666, allocations: 116.6 kB / 377.5 MB, free: 3.27 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002584/0.009925, allocations: 200.8 kB / 377.7 MB, free: 3.047 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.719e-05/0.009942, allocations: 12.38 kB / 377.7 MB, free: 3.035 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.197e-05/0.009974, allocations: 16.38 kB / 377.7 MB, free: 3.02 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002584/0.01023, allocations: 224.2 kB / 377.9 MB, free: 2.773 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.592e-05/0.01025, allocations: 3.938 kB / 378 MB, free: 2.77 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.8e-05/0.01027, allocations: 8 kB / 378 MB, free: 2.762 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.6e-05/0.0103, allocations: 16 kB / 378 MB, free: 2.746 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001419/0.01044, allocations: 103.8 kB / 378.1 MB, free: 2.645 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001158/0.0116, allocations: 1.269 MB / 379.3 MB, free: 1.293 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003053/0.01191, allocations: 178.2 kB / 379.5 MB, free: 1.094 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.433e-05/0.01195, allocations: 31.42 kB / 379.6 MB, free: 1.055 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.253e-05/0.01198, allocations: 8 kB / 379.6 MB, free: 1.047 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.382e-05/0.01202, allocations: 37.39 kB / 379.6 MB, free: 1 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 1.443e-06/0.01202, allocations: 0 / 379.6 MB, free: 1 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005725/0.01259, allocations: 216.3 kB / 379.8 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.692e-05/0.01264, allocations: 77.33 kB / 379.9 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001393/0.01278, allocations: 246.5 kB / 380.1 MB, free: 436 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.46e-05/0.01279, allocations: 29.64 kB / 380.2 MB, free: 400 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/0.01289, allocations: 218.8 kB / 380.4 MB, free: 172 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.839e-05/0.01292, allocations: 51.75 kB / 380.4 MB, free: 120 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.46e-05/0.01298, allocations: 55.3 kB / 380.5 MB, free: 56 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001711/0.01315, allocations: 0.4962 MB / 381 MB, free: 15.55 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.668e-05/0.01318, allocations: 19.98 kB / 381 MB, free: 15.53 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001065/0.01328, allocations: 167.1 kB / 381.1 MB, free: 15.3 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001533/0.01344, allocations: 199.1 kB / 381.3 MB, free: 15.04 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.01344, allocations: 0 / 381.3 MB, free: 15.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002315/0.01367, allocations: 208.7 kB / 381.5 MB, free: 14.83 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.01369, allocations: 8 kB / 381.6 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.01369, allocations: 0 / 381.6 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001769/0.01387, allocations: 44.09 kB / 381.6 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.713e-05/0.01395, allocations: 43.92 kB / 381.6 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009668/0.01491, allocations: 1.717 MB / 383.4 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.046e-05/0.01497, allocations: 4 kB / 383.4 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.468e-05/0.01499, allocations: 12 kB / 383.4 MB, free: 12.89 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.0001256/0.01511, allocations: 176.5 kB / 383.5 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.104e-05/0.01515, allocations: 23.91 kB / 383.6 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001945/0.01534, allocations: 126.7 kB / 383.7 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.01534, allocations: 4 kB / 383.7 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/0.01535, allocations: 0 / 383.7 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.176e-06/0.01535, allocations: 7.922 kB / 383.7 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000481/0.01584, allocations: 440.5 kB / 384.1 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.556e-06/0.01584, allocations: 12.03 kB / 384.1 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.457e-05/0.01589, allocations: 24.05 kB / 384.2 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001054/0.01599, allocations: 31.59 kB / 384.2 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.016, allocations: 4 kB / 384.2 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008411/0.01684, allocations: 1.729 MB / 385.9 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.01685, allocations: 0 / 385.9 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002252/0.01707, allocations: 325 kB / 386.3 MB, free: 9.781 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.642e-05/0.01709, allocations: 15.91 kB / 386.3 MB, free: 9.766 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.438e-06/0.0171, allocations: 0 / 386.3 MB, free: 9.766 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.004e-05/0.01715, allocations: 11.98 kB / 386.3 MB, free: 9.754 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.41e-05/0.01717, allocations: 15.86 kB / 386.3 MB, free: 9.738 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.616e-06/0.01718, allocations: 4 kB / 386.3 MB, free: 9.734 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.848e-05/0.01725, allocations: 165.1 kB / 386.5 MB, free: 9.574 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.1e-08/0.01725, allocations: 0 / 386.5 MB, free: 9.574 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002133/0.01746, allocations: 48 kB / 386.5 MB, free: 9.527 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.118e-05/0.01755, allocations: 103.2 kB / 386.6 MB, free: 9.418 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002896/0.01784, allocations: 264.3 kB / 386.9 MB, free: 9.141 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.01784, allocations: 8.125 kB / 386.9 MB, free: 9.133 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001352/0.01798, allocations: 220.7 kB / 387.1 MB, free: 8.898 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002477/0.01823, allocations: 31.97 kB / 387.1 MB, free: 8.867 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008302/0.01906, allocations: 429.4 kB / 387.5 MB, free: 8.398 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.797e-05/0.01913, allocations: 95.95 kB / 387.6 MB, free: 8.285 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.215e-05/0.01918, allocations: 21.47 kB / 387.7 MB, free: 8.266 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.893e-05/0.01925, allocations: 90.2 kB / 387.7 MB, free: 8.176 MB / 362.7 MB Notification: Performance of SimCode: time 8.52e-07/0.01925, allocations: 0 / 387.7 MB, free: 8.176 MB / 362.7 MB Notification: Performance of Templates: time 0.003751/0.023, allocations: 1.748 MB / 389.5 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.376879323273897]