Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.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.000853/0.000853, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.004479/0.004479, allocations: 160.2 kB / 24.7 MB, free: 9.418 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.8628/0.8628, allocations: 177.1 MB / 205 MB, free: 5.727 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.2249/0.2249, allocations: 29.41 MB / 290.8 MB, free: 2.418 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.AC1ph_DC.Elementary.Impedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=740,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=740,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 431.5 MB, free: 13.11 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.452e-05/2.63e-05, allocations: 4.812 kB / 431.5 MB, free: 13.11 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance): time 0.003916/0.003943, allocations: 4.238 MB / 435.7 MB, free: 8.84 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001001/0.004943, allocations: 0.9194 MB / 436.6 MB, free: 7.918 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001376/0.005081, allocations: 19.81 kB / 436.7 MB, free: 7.898 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001559/0.005237, allocations: 51.48 kB / 436.7 MB, free: 7.848 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004321/0.005669, allocations: 258.5 kB / 437 MB, free: 7.594 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001595/0.005828, allocations: 103.7 kB / 437.1 MB, free: 7.492 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003499/0.006178, allocations: 0.506 MB / 437.6 MB, free: 6.984 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001787/0.006357, allocations: 96.27 kB / 437.7 MB, free: 6.887 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002956/0.006653, allocations: 295.1 kB / 437.9 MB, free: 6.598 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000264/0.006917, allocations: 255.3 kB / 438.2 MB, free: 6.348 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.915e-05/0.006946, allocations: 31.94 kB / 438.2 MB, free: 6.316 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.468e-05/0.00698, allocations: 24 kB / 438.3 MB, free: 6.293 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001074/0.007088, allocations: 163.6 kB / 438.4 MB, free: 6.133 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.815e-05/0.007176, allocations: 115.8 kB / 438.5 MB, free: 6.02 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002878/0.007464, allocations: 366.7 kB / 438.9 MB, free: 5.66 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.593e-06/0.007465, allocations: 0 / 438.9 MB, free: 5.66 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.007466, allocations: 0 / 438.9 MB, free: 5.66 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.079e-06/0.007471, allocations: 0 / 438.9 MB, free: 5.66 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0006952/0.008167, allocations: 0.5877 MB / 439.5 MB, free: 5.043 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.208e-05/0.008199, allocations: 11.98 kB / 439.5 MB, free: 5.031 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.745e-05/0.008256, allocations: 48.59 kB / 439.5 MB, free: 4.984 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003512/0.008607, allocations: 315.5 kB / 439.8 MB, free: 4.648 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.739e-05/0.008625, allocations: 20.88 kB / 439.9 MB, free: 4.629 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.701e-05/0.008662, allocations: 28.36 kB / 439.9 MB, free: 4.602 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003266/0.008988, allocations: 357 kB / 440.2 MB, free: 4.223 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.948e-06/0.008998, allocations: 0 / 440.2 MB, free: 4.223 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.925e-05/0.009018, allocations: 12 kB / 440.2 MB, free: 4.211 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.198e-05/0.00908, allocations: 24.47 kB / 440.3 MB, free: 4.188 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002479/0.009327, allocations: 241.7 kB / 440.5 MB, free: 3.953 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009532/0.01028, allocations: 1.223 MB / 441.7 MB, free: 2.668 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002401/0.01052, allocations: 161 kB / 441.9 MB, free: 2.492 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001208/0.01064, allocations: 93.73 kB / 442 MB, free: 2.395 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.598e-05/0.01066, allocations: 0 / 442 MB, free: 2.395 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.934e-05/0.01068, allocations: 38.56 kB / 442 MB, free: 2.348 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 9.21e-07/0.01068, allocations: 0 / 442 MB, free: 2.348 MB / 410.7 MB Notification: Performance of matching and sorting (n=15): time 0.0008348/0.01151, allocations: 0.618 MB / 442.6 MB, free: 1.691 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.833e-05/0.01155, allocations: 81.05 kB / 442.7 MB, free: 1.594 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001892/0.01174, allocations: 304.5 kB / 443 MB, free: 1.285 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.427e-05/0.01175, allocations: 29.7 kB / 443 MB, free: 1.25 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.741e-05/0.01185, allocations: 224 kB / 443.3 MB, free: 1.027 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.946e-05/0.01188, allocations: 59.66 kB / 443.3 MB, free: 0.9688 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.896e-05/0.01193, allocations: 49.66 kB / 443.4 MB, free: 0.9141 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.432e-05/0.01201, allocations: 338.8 kB / 443.7 MB, free: 0.5742 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.053e-05/0.01208, allocations: 67.95 kB / 443.8 MB, free: 0.5078 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000113/0.0122, allocations: 172.8 kB / 443.9 MB, free: 300 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1616/0.1738, allocations: 257.2 kB / 444.2 MB, free: 54.46 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.166e-06/0.1738, allocations: 2.156 kB / 444.2 MB, free: 54.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004759/0.1743, allocations: 314.4 kB / 444.5 MB, free: 54.42 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.1743, allocations: 8.531 kB / 444.5 MB, free: 54.42 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.1743, allocations: 3.156 kB / 444.5 MB, free: 54.42 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001677/0.1745, allocations: 55.94 kB / 444.6 MB, free: 54.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001196/0.1746, allocations: 49.67 kB / 444.6 MB, free: 54.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007202/0.1753, allocations: 1.476 MB / 446.1 MB, free: 53.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001088/0.1754, allocations: 9.703 kB / 446.1 MB, free: 53.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.279e-05/0.1754, allocations: 14.5 kB / 446.1 MB, free: 53.23 MB / 410.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 (28): * Single equations (assignments): 27 * 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.0001314/0.1756, allocations: 175.2 kB / 446.3 MB, free: 53.12 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.928e-05/0.1756, allocations: 35.48 kB / 446.3 MB, free: 53.11 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002622/0.1759, allocations: 227.9 kB / 446.5 MB, free: 53.06 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.1759, allocations: 7 kB / 446.5 MB, free: 53.06 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.1759, allocations: 0 / 446.5 MB, free: 53.06 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.1759, allocations: 0 / 446.5 MB, free: 53.06 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004942/0.1764, allocations: 0.5499 MB / 447.1 MB, free: 52.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.1764, allocations: 0 / 447.1 MB, free: 52.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.737e-05/0.1764, allocations: 25.89 kB / 447.1 MB, free: 52.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001074/0.1765, allocations: 62.75 kB / 447.2 MB, free: 52.77 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.1765, allocations: 10.91 kB / 447.2 MB, free: 52.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005755/0.1771, allocations: 1.473 MB / 448.7 MB, free: 51.48 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.1771, allocations: 3.375 kB / 448.7 MB, free: 51.48 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002882/0.1774, allocations: 397.2 kB / 449.1 MB, free: 51.26 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.648e-05/0.1774, allocations: 31.67 kB / 449.1 MB, free: 51.25 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.787e-05/0.1775, allocations: 11.67 kB / 449.1 MB, free: 51.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.835e-05/0.1775, allocations: 4 kB / 449.1 MB, free: 51.25 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.661e-05/0.1775, allocations: 16.89 kB / 449.1 MB, free: 51.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.717e-06/0.1776, allocations: 7.062 kB / 449.1 MB, free: 51.24 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001064/0.1777, allocations: 209.9 kB / 449.3 MB, free: 51.13 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1777, allocations: 0 / 449.3 MB, free: 51.13 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002394/0.1779, allocations: 66.56 kB / 449.4 MB, free: 51.13 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (ind.i[1],ind.i[2]) * 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 (16): * Single equations (assignments): 14 * 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.669e-05/0.178, allocations: 101.3 kB / 449.5 MB, free: 51.04 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003337/0.1783, allocations: 300.1 kB / 449.8 MB, free: 50.88 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1783, allocations: 0 / 449.8 MB, free: 50.88 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001537/0.1785, allocations: 206.5 kB / 450 MB, free: 50.75 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003266/0.1788, allocations: 74.2 kB / 450.1 MB, free: 50.73 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007188/0.1795, allocations: 0.721 MB / 450.8 MB, free: 50.31 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001059/0.1796, allocations: 197.5 kB / 451 MB, free: 50.22 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.432e-05/0.1797, allocations: 27.61 kB / 451 MB, free: 50.22 MB / 410.7 MB Notification: Performance of SimCode: time 7.51e-07/0.1797, allocations: 0 / 451 MB, free: 50.22 MB / 410.7 MB Notification: Performance of Templates: time 0.004322/0.184, allocations: 5.083 MB / 456.1 MB, free: 49.86 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.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: 4.911425364203751]