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.001272/0.001272, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.001392/0.001392, allocations: 161 kB / 24.56 MB, free: 16 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 0.9639/0.9639, allocations: 177.1 MB / 205 MB, free: 5.617 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.2077/0.2077, allocations: 29.42 MB / 290.9 MB, free: 2.508 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.312e-06/1.312e-06, allocations: 0 / 369.7 MB, free: 10.98 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.336e-05/1.467e-05, allocations: 5.547 kB / 369.7 MB, free: 10.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_d): time 0.0123/0.01232, allocations: 6.861 MB / 376.5 MB, free: 4.078 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00627/0.01859, allocations: 2.948 MB / 379.5 MB, free: 1.117 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002299/0.01882, allocations: 15.94 kB / 379.5 MB, free: 1.102 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004118/0.02294, allocations: 0.7197 MB / 380.2 MB, free: 388 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001597/0.02453, allocations: 1.108 MB / 381.3 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005101/0.02504, allocations: 303 kB / 381.6 MB, free: 14.97 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001142/0.02619, allocations: 1.371 MB / 383 MB, free: 13.59 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007864/0.02697, allocations: 395.9 kB / 383.4 MB, free: 13.21 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007839/0.02776, allocations: 0.7086 MB / 384.1 MB, free: 12.5 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006601/0.02842, allocations: 0.6036 MB / 384.7 MB, free: 11.89 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.189e-05/0.02847, allocations: 36 kB / 384.7 MB, free: 11.86 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009392/0.02941, allocations: 0.7785 MB / 385.5 MB, free: 11.07 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002425/0.02965, allocations: 311.2 kB / 385.8 MB, free: 10.77 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001689/0.02982, allocations: 175.6 kB / 386 MB, free: 10.6 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008166/0.03063, allocations: 0.7204 MB / 386.7 MB, free: 9.875 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.03064, allocations: 0 / 386.7 MB, free: 9.875 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.03064, allocations: 0 / 386.7 MB, free: 9.875 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.099e-06/0.03064, allocations: 4 kB / 386.7 MB, free: 9.871 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.0008754/0.03152, allocations: 0.8467 MB / 387.5 MB, free: 8.984 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.03155, allocations: 11.98 kB / 387.6 MB, free: 8.973 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001337/0.03289, allocations: 327 kB / 387.9 MB, free: 8.652 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003353/0.03323, allocations: 275.3 kB / 388.1 MB, free: 8.359 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.642e-05/0.03325, allocations: 33.36 kB / 388.2 MB, free: 8.328 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.24e-05/0.0333, allocations: 36.31 kB / 388.2 MB, free: 8.293 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005236/0.03382, allocations: 484.8 kB / 388.7 MB, free: 7.73 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.03383, allocations: 4.188 kB / 388.7 MB, free: 7.727 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.672e-05/0.03387, allocations: 28.34 kB / 388.7 MB, free: 7.699 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.617e-05/0.03393, allocations: 40.56 kB / 388.8 MB, free: 7.66 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002976/0.03422, allocations: 179.5 kB / 388.9 MB, free: 7.484 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002082/0.0363, allocations: 3.173 MB / 392.1 MB, free: 4.176 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003961/0.0367, allocations: 273.2 kB / 392.4 MB, free: 3.871 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001504/0.03685, allocations: 110.5 kB / 392.5 MB, free: 3.754 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.28e-05/0.03686, allocations: 4 kB / 392.5 MB, free: 3.75 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.243e-05/0.0369, allocations: 45.33 kB / 392.5 MB, free: 3.695 MB / 362.7 MB Notification: Performance of pre-optimization done (n=33): time 1.904e-06/0.0369, allocations: 0 / 392.5 MB, free: 3.695 MB / 362.7 MB Notification: Performance of matching and sorting (n=33): time 0.001102/0.038, allocations: 473.3 kB / 393 MB, free: 3.223 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.899e-05/0.03805, allocations: 114.8 kB / 393.1 MB, free: 3.086 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002473/0.0383, allocations: 342.3 kB / 393.4 MB, free: 2.734 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.937e-05/0.03832, allocations: 29.7 kB / 393.5 MB, free: 2.699 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000144/0.03846, allocations: 311 kB / 393.8 MB, free: 2.391 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.196e-05/0.03854, allocations: 123 kB / 393.9 MB, free: 2.27 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.424e-05/0.03864, allocations: 87.81 kB / 394 MB, free: 2.176 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.03877, allocations: 0.5196 MB / 394.5 MB, free: 1.645 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001002/0.03887, allocations: 56.91 kB / 394.5 MB, free: 1.586 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002049/0.03908, allocations: 270.3 kB / 394.8 MB, free: 1.227 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003454/0.03942, allocations: 370.4 kB / 395.2 MB, free: 0.7734 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.03943, allocations: 0 / 395.2 MB, free: 0.7734 MB / 362.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.000549/0.03998, allocations: 414.7 kB / 395.6 MB, free: 368 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.03999, allocations: 12.12 kB / 395.6 MB, free: 356 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.04, allocations: 4 kB / 395.6 MB, free: 352 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002706/0.04027, allocations: 87.64 kB / 395.7 MB, free: 260 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001877/0.04046, allocations: 79.84 kB / 395.8 MB, free: 180 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001961/0.04242, allocations: 2.489 MB / 398.2 MB, free: 13.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001555/0.04257, allocations: 39.67 kB / 398.3 MB, free: 13.53 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.202e-05/0.0426, allocations: 24.03 kB / 398.3 MB, free: 13.51 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.0001245/0.04272, allocations: 192.3 kB / 398.5 MB, free: 13.31 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.425e-05/0.04279, allocations: 43.77 kB / 398.5 MB, free: 13.27 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.516e-05/0.04284, allocations: 43.14 kB / 398.6 MB, free: 13.22 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.04284, allocations: 4 kB / 398.6 MB, free: 13.22 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.04285, allocations: 4 kB / 398.6 MB, free: 13.21 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.04285, allocations: 3.984 kB / 398.6 MB, free: 13.21 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000777/0.04363, allocations: 0.6717 MB / 399.3 MB, free: 12.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.04363, allocations: 0 / 399.3 MB, free: 12.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.996e-05/0.04373, allocations: 35.98 kB / 399.3 MB, free: 12.45 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001944/0.04393, allocations: 87.81 kB / 399.4 MB, free: 12.36 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.627e-05/0.04395, allocations: 7.938 kB / 399.4 MB, free: 12.35 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001583/0.04553, allocations: 2.473 MB / 401.9 MB, free: 9.754 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.04553, allocations: 0 / 401.9 MB, free: 9.754 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009608/0.04649, allocations: 0.5756 MB / 402.4 MB, free: 9.141 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.716e-05/0.04654, allocations: 39.7 kB / 402.5 MB, free: 9.102 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.989e-05/0.04657, allocations: 4 kB / 402.5 MB, free: 9.098 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001422/0.04671, allocations: 16.02 kB / 402.5 MB, free: 9.082 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.607e-05/0.04676, allocations: 23.95 kB / 402.5 MB, free: 9.059 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.599e-05/0.04677, allocations: 12 kB / 402.5 MB, free: 9.047 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000136/0.04691, allocations: 219 kB / 402.7 MB, free: 8.836 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.04691, allocations: 0 / 402.7 MB, free: 8.836 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005519/0.04746, allocations: 159.8 kB / 402.9 MB, free: 8.68 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 8.633e-05/0.04755, allocations: 107.1 kB / 403 MB, free: 8.566 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005553/0.0481, allocations: 454.1 kB / 403.5 MB, free: 8.102 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.0481, allocations: 0 / 403.5 MB, free: 8.102 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002876/0.04839, allocations: 342.1 kB / 403.8 MB, free: 7.746 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004301/0.04882, allocations: 48.89 kB / 403.8 MB, free: 7.703 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001253/0.05007, allocations: 0.7216 MB / 404.6 MB, free: 6.934 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001088/0.05116, allocations: 165.5 kB / 404.7 MB, free: 6.75 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001267/0.05129, allocations: 58.89 kB / 404.8 MB, free: 6.688 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.607e-05/0.05134, allocations: 24.5 kB / 404.8 MB, free: 6.664 MB / 378.7 MB Notification: Performance of SimCode: time 7.32e-07/0.05134, allocations: 0 / 404.8 MB, free: 6.664 MB / 378.7 MB Notification: Performance of Templates: time 0.006599/0.05794, allocations: 3.762 MB / 408.6 MB, free: 2.93 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=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.046072200872004]