Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.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.001142/0.001142, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001333/0.001333, allocations: 169.9 kB / 24.91 MB, free: 8.723 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.033/1.033, allocations: 177.1 MB / 205.3 MB, free: 5.098 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.2614/0.2614, allocations: 29.42 MB / 291.2 MB, free: 2.43 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.Network.NetworkLoop_d,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|impedance3.i.[0-9,]+.|impedance3.p.[0-9,]+.|impedance3.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_d,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|impedance3.i.[0-9,]+.|impedance3.p.[0-9,]+.|impedance3.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 316.9 MB, free: 16 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.201e-05/2.361e-05, allocations: 2.312 kB / 316.9 MB, free: 12 kB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_d): time 0.005132/0.005155, allocations: 6.809 MB / 323.7 MB, free: 9.172 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002743/0.007898, allocations: 2.975 MB / 326.6 MB, free: 6.184 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002017/0.0081, allocations: 15.94 kB / 326.7 MB, free: 6.168 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009382/0.009038, allocations: 0.7157 MB / 327.4 MB, free: 5.449 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001285/0.01032, allocations: 1.104 MB / 328.5 MB, free: 4.34 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004296/0.01075, allocations: 306.9 kB / 328.8 MB, free: 4.039 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009371/0.01169, allocations: 1.379 MB / 330.2 MB, free: 2.656 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003759/0.01207, allocations: 408.6 kB / 330.6 MB, free: 2.25 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005778/0.01264, allocations: 0.7046 MB / 331.3 MB, free: 1.543 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004577/0.0131, allocations: 0.5413 MB / 331.8 MB, free: 1 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.775e-05/0.01314, allocations: 36 kB / 331.8 MB, free: 0.9648 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007083/0.01385, allocations: 0.7513 MB / 332.6 MB, free: 212 kB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001989/0.01405, allocations: 315.2 kB / 332.9 MB, free: 15.9 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001293/0.01418, allocations: 175.6 kB / 333.1 MB, free: 15.73 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007541/0.01493, allocations: 0.7281 MB / 333.8 MB, free: 15 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.01493, allocations: 4 kB / 333.8 MB, free: 14.99 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.01493, allocations: 0 / 333.8 MB, free: 14.99 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.199e-06/0.01494, allocations: 0 / 333.8 MB, free: 14.99 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.0006671/0.0156, allocations: 0.706 MB / 334.5 MB, free: 14.26 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.24e-05/0.01564, allocations: 15.98 kB / 334.5 MB, free: 14.24 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009076/0.01654, allocations: 335.3 kB / 334.8 MB, free: 13.91 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002571/0.0168, allocations: 260.5 kB / 335.1 MB, free: 13.63 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.03e-05/0.01682, allocations: 29.38 kB / 335.1 MB, free: 13.61 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.509e-05/0.01686, allocations: 40.36 kB / 335.2 MB, free: 13.57 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003161/0.01717, allocations: 412.1 kB / 335.6 MB, free: 13.09 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.01718, allocations: 4.125 kB / 335.6 MB, free: 13.09 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.363e-05/0.01721, allocations: 20.36 kB / 335.6 MB, free: 13.07 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.084e-05/0.01725, allocations: 44.56 kB / 335.6 MB, free: 13.03 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001485/0.0174, allocations: 132.3 kB / 335.8 MB, free: 12.89 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001226/0.01862, allocations: 2.155 MB / 337.9 MB, free: 10.65 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002835/0.01891, allocations: 274.4 kB / 338.2 MB, free: 10.35 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.926e-05/0.01899, allocations: 82.09 kB / 338.3 MB, free: 10.26 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.274e-05/0.019, allocations: 15.92 kB / 338.3 MB, free: 10.25 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.327e-05/0.01902, allocations: 42.55 kB / 338.3 MB, free: 10.2 MB / 314.7 MB Notification: Performance of pre-optimization done (n=33): time 1.533e-06/0.01902, allocations: 0 / 338.3 MB, free: 10.2 MB / 314.7 MB Notification: Performance of matching and sorting (n=33): time 0.0006811/0.01971, allocations: 389.5 kB / 338.7 MB, free: 9.805 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.838e-05/0.01974, allocations: 106.8 kB / 338.8 MB, free: 9.676 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001729/0.01992, allocations: 274.8 kB / 339.1 MB, free: 9.395 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.703e-05/0.01993, allocations: 33.7 kB / 339.1 MB, free: 9.355 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.211e-05/0.02002, allocations: 236.7 kB / 339.3 MB, free: 9.121 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.928e-05/0.02008, allocations: 122.9 kB / 339.5 MB, free: 9 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.466e-05/0.02014, allocations: 74.12 kB / 339.5 MB, free: 8.922 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.783e-05/0.02022, allocations: 354.7 kB / 339.9 MB, free: 8.566 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.229e-05/0.02026, allocations: 36.92 kB / 339.9 MB, free: 8.531 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001098/0.02037, allocations: 188.1 kB / 340.1 MB, free: 8.273 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001884/0.02056, allocations: 287 kB / 340.4 MB, free: 7.926 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.02056, allocations: 4 kB / 340.4 MB, free: 7.922 MB / 314.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0003634/0.02093, allocations: 319 kB / 340.7 MB, free: 7.602 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.02094, allocations: 12.03 kB / 340.7 MB, free: 7.59 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.717e-06/0.02095, allocations: 11.98 kB / 340.7 MB, free: 7.578 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000187/0.02113, allocations: 81.12 kB / 340.8 MB, free: 7.496 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001276/0.02126, allocations: 83.84 kB / 340.9 MB, free: 7.414 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001158/0.02242, allocations: 1.84 MB / 342.7 MB, free: 5.48 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001107/0.02253, allocations: 43.7 kB / 342.8 MB, free: 5.438 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.528e-05/0.02254, allocations: 20 kB / 342.8 MB, free: 5.418 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (41): * Single equations (assignments): 40 * 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,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001099/0.02265, allocations: 140.5 kB / 342.9 MB, free: 5.27 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.477e-05/0.0227, allocations: 27.97 kB / 342.9 MB, free: 5.242 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.041e-05/0.02274, allocations: 51.08 kB / 343 MB, free: 5.195 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.02274, allocations: 4 kB / 343 MB, free: 5.191 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.258e-06/0.02275, allocations: 4 kB / 343 MB, free: 5.188 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.02276, allocations: 3.984 kB / 343 MB, free: 5.184 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005917/0.02335, allocations: 0.574 MB / 343.6 MB, free: 4.57 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.02335, allocations: 0 / 343.6 MB, free: 4.57 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001115/0.02346, allocations: 39.91 kB / 343.6 MB, free: 4.531 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000196/0.02366, allocations: 81.56 kB / 343.7 MB, free: 4.449 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.666e-05/0.02368, allocations: 8 kB / 343.7 MB, free: 4.441 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001642/0.02532, allocations: 1.837 MB / 345.5 MB, free: 2.512 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.02532, allocations: 7.938 kB / 345.6 MB, free: 2.504 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004059/0.02573, allocations: 0.4986 MB / 346.1 MB, free: 1.969 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.82e-05/0.02578, allocations: 43.64 kB / 346.1 MB, free: 1.926 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.981e-05/0.0258, allocations: 4 kB / 346.1 MB, free: 1.922 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001412/0.02595, allocations: 19.95 kB / 346.1 MB, free: 1.902 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.349e-05/0.02599, allocations: 23.95 kB / 346.1 MB, free: 1.879 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.319e-05/0.026, allocations: 4 kB / 346.1 MB, free: 1.875 MB / 314.7 MB Notification: Performance of sorting global known variables: time 9.798e-05/0.0261, allocations: 96.62 kB / 346.2 MB, free: 1.777 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0261, allocations: 3.938 kB / 346.2 MB, free: 1.773 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006254/0.02673, allocations: 159.8 kB / 346.4 MB, free: 1.617 MB / 314.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 (20): * Single equations (assignments): 18 * 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,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001187/0.02685, allocations: 80.42 kB / 346.5 MB, free: 1.531 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005568/0.0274, allocations: 360.1 kB / 346.8 MB, free: 1.164 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.077e-05/0.02741, allocations: 4 kB / 346.8 MB, free: 1.16 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002899/0.0277, allocations: 272.4 kB / 347.1 MB, free: 0.8789 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004387/0.02814, allocations: 63.8 kB / 347.2 MB, free: 0.8203 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001679/0.02982, allocations: 0.7178 MB / 347.9 MB, free: 56 kB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001444/0.02996, allocations: 161.5 kB / 348 MB, free: 15.88 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 8.23e-05/0.03005, allocations: 22.98 kB / 348.1 MB, free: 15.86 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001029/0.03015, allocations: 83.36 kB / 348.1 MB, free: 15.77 MB / 330.7 MB Notification: Performance of SimCode: time 1.303e-06/0.03015, allocations: 0 / 348.1 MB, free: 15.77 MB / 330.7 MB Notification: Performance of Templates: time 0.006287/0.03644, allocations: 3.879 MB / 352 MB, free: 11.93 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkLoop_d.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.098854979965836]