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.001861/0.001861, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.002255/0.002255, allocations: 161.7 kB / 24.27 MB, free: 172 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 1.499/1.499, allocations: 177.1 MB / 204.6 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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.3127/0.3127, allocations: 29.42 MB / 290.5 MB, free: 2.434 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.Network.NetworkLoop_d,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|impedance3.i.1.|impedance3.p.1.|impedance3.v.1.",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.1.|impedance3.p.1.|impedance3.v.1.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 368.9 MB, free: 11.33 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.842e-05/3.006e-05, allocations: 2.312 kB / 368.9 MB, free: 11.33 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_d): time 0.01079/0.01082, allocations: 7.106 MB / 376 MB, free: 4.191 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.006949/0.01777, allocations: 3.867 MB / 379.9 MB, free: 316 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004467/0.01821, allocations: 19.88 kB / 379.9 MB, free: 296 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002983/0.0212, allocations: 1.019 MB / 380.9 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003048/0.02424, allocations: 1.131 MB / 382 MB, free: 14.13 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001026/0.02527, allocations: 314.8 kB / 382.3 MB, free: 13.82 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001926/0.0272, allocations: 1.394 MB / 383.7 MB, free: 12.42 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007607/0.02796, allocations: 396 kB / 384.1 MB, free: 12.04 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001133/0.02909, allocations: 0.7318 MB / 384.8 MB, free: 11.3 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000994/0.03008, allocations: 0.6036 MB / 385.5 MB, free: 10.7 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 8.26e-05/0.03017, allocations: 36 kB / 385.5 MB, free: 10.66 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001766/0.03193, allocations: 0.7939 MB / 386.3 MB, free: 9.863 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000436/0.03237, allocations: 307.1 kB / 386.6 MB, free: 9.562 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002927/0.03266, allocations: 179.6 kB / 386.8 MB, free: 9.387 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001943/0.0346, allocations: 0.8451 MB / 387.6 MB, free: 8.539 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.03461, allocations: 0 / 387.6 MB, free: 8.539 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.03461, allocations: 4 kB / 387.6 MB, free: 8.535 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.716e-06/0.03462, allocations: 0 / 387.6 MB, free: 8.535 MB / 362.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.001403/0.03602, allocations: 0.7313 MB / 388.3 MB, free: 7.77 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.717e-05/0.03608, allocations: 15.98 kB / 388.4 MB, free: 7.754 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001796/0.03788, allocations: 327 kB / 388.7 MB, free: 7.434 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006567/0.03853, allocations: 292.3 kB / 389 MB, free: 7.125 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.896e-05/0.03857, allocations: 25.38 kB / 389 MB, free: 7.102 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.401e-05/0.03864, allocations: 44.36 kB / 389 MB, free: 7.059 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009794/0.03962, allocations: 0.5832 MB / 389.6 MB, free: 6.406 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.213e-05/0.03965, allocations: 8.125 kB / 389.6 MB, free: 6.398 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.806e-05/0.03969, allocations: 16.36 kB / 389.6 MB, free: 6.383 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.418e-05/0.03977, allocations: 36.58 kB / 389.7 MB, free: 6.348 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007068/0.04048, allocations: 382.1 kB / 390 MB, free: 5.973 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003076/0.04355, allocations: 2.408 MB / 392.4 MB, free: 3.457 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007793/0.04433, allocations: 411.7 kB / 392.9 MB, free: 3.027 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003542/0.04469, allocations: 201.6 kB / 393 MB, free: 2.824 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.0447, allocations: 4 kB / 393.1 MB, free: 2.82 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.774e-05/0.04474, allocations: 38.56 kB / 393.1 MB, free: 2.773 MB / 362.7 MB Notification: Performance of pre-optimization done (n=33): time 1.953e-06/0.04474, allocations: 0 / 393.1 MB, free: 2.773 MB / 362.7 MB Notification: Performance of matching and sorting (n=33): time 0.001927/0.04667, allocations: 0.6781 MB / 393.8 MB, free: 2.086 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/0.04677, allocations: 114.7 kB / 393.9 MB, free: 1.949 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00054/0.04731, allocations: 316.4 kB / 394.2 MB, free: 1.633 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.435e-05/0.04736, allocations: 29.7 kB / 394.2 MB, free: 1.598 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002707/0.04763, allocations: 256.3 kB / 394.5 MB, free: 1.34 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001307/0.04776, allocations: 119 kB / 394.6 MB, free: 1.223 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001459/0.04791, allocations: 82.14 kB / 394.7 MB, free: 1.137 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002191/0.04812, allocations: 346.8 kB / 395 MB, free: 0.7891 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002219/0.04835, allocations: 129 kB / 395.1 MB, free: 0.6602 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000377/0.04872, allocations: 280.1 kB / 395.4 MB, free: 324 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000717/0.04944, allocations: 456.2 kB / 395.8 MB, free: 15.8 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.04945, allocations: 0 / 395.8 MB, free: 15.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001071/0.05052, allocations: 0.5778 MB / 396.4 MB, free: 15.21 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.447e-05/0.05054, allocations: 8 kB / 396.4 MB, free: 15.21 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.295e-05/0.05055, allocations: 7.938 kB / 396.4 MB, free: 15.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004674/0.05102, allocations: 129 kB / 396.6 MB, free: 15.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002721/0.05129, allocations: 71.91 kB / 396.6 MB, free: 15 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003372/0.05467, allocations: 2.367 MB / 399 MB, free: 12.54 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002581/0.05492, allocations: 43.69 kB / 399 MB, free: 12.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.225e-05/0.05496, allocations: 16 kB / 399.1 MB, free: 12.48 MB / 378.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.0002795/0.05524, allocations: 201.6 kB / 399.3 MB, free: 12.27 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001017/0.05534, allocations: 47.81 kB / 399.3 MB, free: 12.23 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001051/0.05544, allocations: 47.14 kB / 399.4 MB, free: 12.18 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.05545, allocations: 4 kB / 399.4 MB, free: 12.17 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.209e-05/0.05546, allocations: 4 kB / 399.4 MB, free: 12.17 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/0.05547, allocations: 7.984 kB / 399.4 MB, free: 12.16 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001421/0.05689, allocations: 0.8165 MB / 400.2 MB, free: 11.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.257e-06/0.0569, allocations: 3.984 kB / 400.2 MB, free: 11.29 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001604/0.05706, allocations: 35.92 kB / 400.2 MB, free: 11.26 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003177/0.05738, allocations: 120.7 kB / 400.3 MB, free: 11.14 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.682e-05/0.0574, allocations: 15.92 kB / 400.4 MB, free: 11.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003247/0.06065, allocations: 2.352 MB / 402.7 MB, free: 8.668 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/0.06066, allocations: 7.969 kB / 402.7 MB, free: 8.66 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009221/0.06158, allocations: 0.6268 MB / 403.3 MB, free: 8.004 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.75e-05/0.06167, allocations: 47.77 kB / 403.4 MB, free: 7.957 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.715e-05/0.0617, allocations: 7.938 kB / 403.4 MB, free: 7.949 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001781/0.06188, allocations: 11.98 kB / 403.4 MB, free: 7.938 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.012e-05/0.06195, allocations: 23.95 kB / 403.4 MB, free: 7.914 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-05/0.06197, allocations: 8 kB / 403.4 MB, free: 7.906 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002648/0.06224, allocations: 203.1 kB / 403.6 MB, free: 7.711 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.06224, allocations: 0 / 403.6 MB, free: 7.711 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007639/0.063, allocations: 167.7 kB / 403.8 MB, free: 7.547 MB / 378.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.0001687/0.06317, allocations: 103.2 kB / 403.9 MB, free: 7.434 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001016/0.06419, allocations: 0.5031 MB / 404.4 MB, free: 6.918 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.06419, allocations: 0 / 404.4 MB, free: 6.918 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005286/0.06472, allocations: 326.3 kB / 404.7 MB, free: 6.586 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005526/0.06527, allocations: 60.62 kB / 404.8 MB, free: 6.531 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001536/0.06681, allocations: 0.8171 MB / 405.6 MB, free: 5.672 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003447/0.06715, allocations: 284.1 kB / 405.9 MB, free: 5.375 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001714/0.06732, allocations: 66.91 kB / 405.9 MB, free: 5.309 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.472e-05/0.06739, allocations: 24.5 kB / 406 MB, free: 5.285 MB / 378.7 MB Notification: Performance of SimCode: time 9.31e-07/0.06739, allocations: 4 kB / 406 MB, free: 5.281 MB / 378.7 MB Notification: Performance of Templates: time 0.009016/0.0764, allocations: 3.658 MB / 409.6 MB, free: 1.66 MB / 378.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=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.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.840108984033577]