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.001862/0.001862, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.001897/0.001897, allocations: 161.3 kB / 24.27 MB, free: 156 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.555/1.555, allocations: 177.1 MB / 204.6 MB, free: 5.602 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.3287/0.3287, allocations: 29.41 MB / 290.5 MB, free: 2.438 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.603e-06/1.603e-06, allocations: 0 / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.963e-05/3.123e-05, allocations: 5.547 kB / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_d): time 0.01039/0.01042, allocations: 7.524 MB / 376.4 MB, free: 3.758 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.007053/0.01748, allocations: 4.148 MB / 380.6 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005278/0.01801, allocations: 19.94 kB / 380.6 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002924/0.02093, allocations: 1.054 MB / 381.6 MB, free: 14.52 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003186/0.02412, allocations: 1.131 MB / 382.8 MB, free: 13.38 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001085/0.0252, allocations: 314.8 kB / 383.1 MB, free: 13.07 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.00214/0.02734, allocations: 1.386 MB / 384.5 MB, free: 11.68 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008651/0.02821, allocations: 396 kB / 384.9 MB, free: 11.29 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001403/0.02961, allocations: 0.7318 MB / 385.6 MB, free: 10.56 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001073/0.03068, allocations: 0.6036 MB / 386.2 MB, free: 9.953 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 7.436e-05/0.03076, allocations: 36 kB / 386.2 MB, free: 9.918 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001974/0.03273, allocations: 0.8017 MB / 387 MB, free: 9.113 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004223/0.03315, allocations: 307.2 kB / 387.3 MB, free: 8.812 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002937/0.03345, allocations: 179.6 kB / 387.5 MB, free: 8.637 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001645/0.03509, allocations: 0.8451 MB / 388.3 MB, free: 7.789 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.0351, allocations: 0 / 388.3 MB, free: 7.789 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.0351, allocations: 3.938 kB / 388.3 MB, free: 7.785 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.769e-06/0.03511, allocations: 0 / 388.3 MB, free: 7.785 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.001457/0.03656, allocations: 0.866 MB / 389.2 MB, free: 6.879 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.03661, allocations: 11.98 kB / 389.2 MB, free: 6.867 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001746/0.03836, allocations: 327 kB / 389.5 MB, free: 6.547 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005946/0.03895, allocations: 287.2 kB / 389.8 MB, free: 6.242 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.832e-05/0.03899, allocations: 33.36 kB / 389.9 MB, free: 6.211 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.485e-05/0.03906, allocations: 40.36 kB / 389.9 MB, free: 6.172 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009946/0.04005, allocations: 0.498 MB / 390.4 MB, free: 5.582 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.103e-05/0.04007, allocations: 4.125 kB / 390.4 MB, free: 5.578 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.653e-05/0.04012, allocations: 24.36 kB / 390.4 MB, free: 5.555 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.044e-05/0.0402, allocations: 44.55 kB / 390.5 MB, free: 5.512 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004193/0.04062, allocations: 190.3 kB / 390.7 MB, free: 5.324 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00351/0.04413, allocations: 3.244 MB / 393.9 MB, free: 1.945 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006163/0.04474, allocations: 293.3 kB / 394.2 MB, free: 1.621 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002188/0.04496, allocations: 118.2 kB / 394.3 MB, free: 1.496 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.435e-05/0.045, allocations: 4 kB / 394.3 MB, free: 1.492 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.669e-05/0.04505, allocations: 41.39 kB / 394.3 MB, free: 1.441 MB / 362.7 MB Notification: Performance of pre-optimization done (n=33): time 2.675e-06/0.04506, allocations: 0 / 394.3 MB, free: 1.441 MB / 362.7 MB Notification: Performance of matching and sorting (n=33): time 0.00168/0.04674, allocations: 497.3 kB / 394.8 MB, free: 0.9453 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001058/0.04684, allocations: 118.7 kB / 394.9 MB, free: 0.8047 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004258/0.04727, allocations: 382.3 kB / 395.3 MB, free: 428 kB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.207e-05/0.0473, allocations: 33.7 kB / 395.4 MB, free: 388 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002807/0.04758, allocations: 315 kB / 395.7 MB, free: 68 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001729/0.04775, allocations: 131.1 kB / 395.8 MB, free: 15.93 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001506/0.0479, allocations: 95.81 kB / 395.9 MB, free: 15.83 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003104/0.04821, allocations: 0.5352 MB / 396.4 MB, free: 15.29 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001442/0.04836, allocations: 60.97 kB / 396.5 MB, free: 15.22 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003643/0.04872, allocations: 282.3 kB / 396.8 MB, free: 14.85 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007086/0.04943, allocations: 398.5 kB / 397.1 MB, free: 14.37 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.04943, allocations: 4 kB / 397.1 MB, free: 14.37 MB / 378.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0008218/0.05026, allocations: 442.7 kB / 397.6 MB, free: 13.93 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.346e-05/0.05028, allocations: 12.12 kB / 397.6 MB, free: 13.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.05029, allocations: 4 kB / 397.6 MB, free: 13.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004075/0.0507, allocations: 95.62 kB / 397.7 MB, free: 13.81 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002666/0.05097, allocations: 79.91 kB / 397.8 MB, free: 13.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003083/0.05405, allocations: 2.551 MB / 400.3 MB, free: 11.06 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000275/0.05432, allocations: 43.67 kB / 400.4 MB, free: 11.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.282e-05/0.05436, allocations: 24.03 kB / 400.4 MB, free: 11 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.0002692/0.05463, allocations: 196.4 kB / 400.6 MB, free: 10.79 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001011/0.05473, allocations: 47.77 kB / 400.6 MB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001059/0.05483, allocations: 47.08 kB / 400.7 MB, free: 10.7 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.05484, allocations: 4 kB / 400.7 MB, free: 10.7 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/0.05485, allocations: 4 kB / 400.7 MB, free: 10.69 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.05485, allocations: 3.984 kB / 400.7 MB, free: 10.69 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001311/0.05616, allocations: 0.7343 MB / 401.4 MB, free: 9.898 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.126e-06/0.05617, allocations: 4 kB / 401.4 MB, free: 9.895 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001461/0.05632, allocations: 31.92 kB / 401.4 MB, free: 9.863 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003034/0.05662, allocations: 99.69 kB / 401.5 MB, free: 9.766 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.263e-05/0.05664, allocations: 7.938 kB / 401.6 MB, free: 9.758 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002994/0.05964, allocations: 2.54 MB / 404.1 MB, free: 7.094 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.05964, allocations: 4 kB / 404.1 MB, free: 7.09 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008327/0.06048, allocations: 0.5991 MB / 404.7 MB, free: 6.453 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.56e-05/0.06057, allocations: 39.7 kB / 404.7 MB, free: 6.414 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.906e-05/0.06061, allocations: 7.984 kB / 404.7 MB, free: 6.406 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001647/0.06078, allocations: 15.97 kB / 404.8 MB, free: 6.391 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.903e-05/0.06084, allocations: 23.95 kB / 404.8 MB, free: 6.367 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.775e-05/0.06086, allocations: 8 kB / 404.8 MB, free: 6.359 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002578/0.06112, allocations: 239 kB / 405 MB, free: 6.129 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.06112, allocations: 4 kB / 405 MB, free: 6.125 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007632/0.06188, allocations: 163.7 kB / 405.2 MB, free: 5.965 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.0001732/0.06206, allocations: 103.2 kB / 405.3 MB, free: 5.855 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000966/0.06302, allocations: 478.1 kB / 405.8 MB, free: 5.367 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.06303, allocations: 0 / 405.8 MB, free: 5.367 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005095/0.06354, allocations: 350.2 kB / 406.1 MB, free: 5.004 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005284/0.06406, allocations: 44.31 kB / 406.1 MB, free: 4.965 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001377/0.06544, allocations: 0.7211 MB / 406.9 MB, free: 4.199 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003227/0.06576, allocations: 264.1 kB / 407.1 MB, free: 3.918 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001592/0.06592, allocations: 62.89 kB / 407.2 MB, free: 3.852 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.915e-05/0.06598, allocations: 20.5 kB / 407.2 MB, free: 3.832 MB / 378.7 MB Notification: Performance of SimCode: time 1.062e-06/0.06598, allocations: 4 kB / 407.2 MB, free: 3.828 MB / 378.7 MB Notification: Performance of Templates: time 0.009517/0.0755, allocations: 3.666 MB / 410.9 MB, free: 204 kB / 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=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","/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.962330244015902]