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.00182/0.00182, allocations: 99.66 kB / 21.18 MB, free: 0.5273 MB / 14.72 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.002127/0.002127, allocations: 214.1 kB / 24.48 MB, free: 3.844 MB / 14.72 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.438/1.438, allocations: 230.6 MB / 258.2 MB, free: 7.805 MB / 206.1 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.1868/0.1868, allocations: 38.56 MB / 353.2 MB, free: 12.32 MB / 286.1 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: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002098/0.002098, allocations: 74.84 kB / 493.7 MB, free: 4.188 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3011/0.3032, allocations: 62.45 MB / 0.5432 GB, free: 448 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_d): time 0.009126/0.3123, allocations: 7.184 MB / 0.5502 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00635/0.3187, allocations: 3.906 MB / 0.554 GB, free: 7.914 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004903/0.3191, allocations: 17.66 kB / 0.554 GB, free: 7.91 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002925/0.3221, allocations: 1.015 MB / 0.555 GB, free: 7.148 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002773/0.3248, allocations: 1.108 MB / 0.5561 GB, free: 6.285 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008827/0.3257, allocations: 317.3 kB / 0.5564 GB, free: 6.043 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001808/0.3275, allocations: 1.363 MB / 0.5577 GB, free: 5.309 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007229/0.3283, allocations: 392 kB / 0.5581 GB, free: 4.918 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001073/0.3293, allocations: 0.5796 MB / 0.5587 GB, free: 4.336 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009858/0.3303, allocations: 0.6344 MB / 0.5593 GB, free: 3.699 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.787e-05/0.3304, allocations: 39.94 kB / 0.5593 GB, free: 3.66 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001626/0.332, allocations: 0.7827 MB / 0.5601 GB, free: 2.875 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003304/0.3323, allocations: 291.1 kB / 0.5604 GB, free: 2.59 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002673/0.3326, allocations: 207 kB / 0.5606 GB, free: 2.387 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001243/0.3339, allocations: 0.8213 MB / 0.5614 GB, free: 1.562 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.3339, allocations: 0 / 0.5614 GB, free: 1.562 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3339, allocations: 0 / 0.5614 GB, free: 1.562 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.045e-06/0.3339, allocations: 4 kB / 0.5614 GB, free: 1.559 MB / 398.1 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.001247/0.3351, allocations: 0.7352 MB / 0.5621 GB, free: 0.793 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.3352, allocations: 15.98 kB / 0.5621 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001501/0.3367, allocations: 128.5 kB / 0.5622 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006004/0.3373, allocations: 288.7 kB / 0.5625 GB, free: 352 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.269e-05/0.3373, allocations: 25.38 kB / 0.5625 GB, free: 328 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.049e-05/0.3373, allocations: 44.36 kB / 0.5626 GB, free: 284 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008935/0.3382, allocations: 0.5889 MB / 0.5631 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.898e-05/0.3383, allocations: 7.938 kB / 0.5631 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.874e-05/0.3383, allocations: 15.98 kB / 0.5632 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.638e-05/0.3384, allocations: 36.62 kB / 0.5632 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006256/0.339, allocations: 382.1 kB / 0.5636 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002779/0.3418, allocations: 2.408 MB / 0.5659 GB, free: 12.67 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007173/0.3425, allocations: 403.8 kB / 0.5663 GB, free: 12.25 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000297/0.3428, allocations: 194.5 kB / 0.5665 GB, free: 12.05 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.072e-05/0.3428, allocations: 7.938 kB / 0.5665 GB, free: 12.04 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.57e-05/0.3428, allocations: 38.56 kB / 0.5665 GB, free: 12 MB / 414.1 MB Notification: Performance of pre-optimization done (n=33): time 2.214e-06/0.3428, allocations: 4 kB / 0.5665 GB, free: 11.99 MB / 414.1 MB Notification: Performance of matching and sorting (n=33): time 0.001748/0.3446, allocations: 0.6741 MB / 0.5672 GB, free: 11.31 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.599e-05/0.3447, allocations: 110.8 kB / 0.5673 GB, free: 11.18 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003314/0.345, allocations: 308.5 kB / 0.5676 GB, free: 10.87 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.863e-05/0.345, allocations: 29.7 kB / 0.5676 GB, free: 10.83 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001876/0.3452, allocations: 256.3 kB / 0.5679 GB, free: 10.58 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001194/0.3453, allocations: 122.9 kB / 0.568 GB, free: 10.46 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001131/0.3455, allocations: 78.09 kB / 0.568 GB, free: 10.38 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001849/0.3456, allocations: 346.8 kB / 0.5684 GB, free: 10.03 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002044/0.3458, allocations: 128.8 kB / 0.5685 GB, free: 9.902 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003586/0.3462, allocations: 283.5 kB / 0.5688 GB, free: 9.555 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006244/0.3468, allocations: 456.1 kB / 0.5692 GB, free: 9.043 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.3468, allocations: 4 kB / 0.5692 GB, free: 9.039 MB / 414.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0009478/0.3478, allocations: 0.5546 MB / 0.5698 GB, free: 8.477 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.517e-05/0.3478, allocations: 10.81 kB / 0.5698 GB, free: 8.469 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.3478, allocations: 7.938 kB / 0.5698 GB, free: 8.461 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000381/0.3482, allocations: 120.8 kB / 0.5699 GB, free: 8.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000263/0.3485, allocations: 75.84 kB / 0.57 GB, free: 8.266 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002959/0.3514, allocations: 2.355 MB / 0.5723 GB, free: 5.809 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002451/0.3517, allocations: 43.67 kB / 0.5723 GB, free: 5.766 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.98e-05/0.3517, allocations: 16 kB / 0.5723 GB, free: 5.75 MB / 414.1 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.0002975/0.352, allocations: 209.7 kB / 0.5725 GB, free: 5.535 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.843e-05/0.3521, allocations: 39.77 kB / 0.5726 GB, free: 5.496 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.527e-05/0.3522, allocations: 43.14 kB / 0.5726 GB, free: 5.457 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.3522, allocations: 4 kB / 0.5726 GB, free: 5.453 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.307e-05/0.3522, allocations: 4 kB / 0.5726 GB, free: 5.449 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.718e-06/0.3522, allocations: 0 / 0.5726 GB, free: 5.449 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001375/0.3536, allocations: 0.8248 MB / 0.5734 GB, free: 4.578 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.3536, allocations: 8.031 kB / 0.5734 GB, free: 4.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001518/0.3537, allocations: 35.92 kB / 0.5734 GB, free: 4.535 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002895/0.354, allocations: 108.8 kB / 0.5736 GB, free: 4.426 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.155e-05/0.354, allocations: 8 kB / 0.5736 GB, free: 4.418 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002869/0.3569, allocations: 2.362 MB / 0.5759 GB, free: 1.953 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.3569, allocations: 0 / 0.5759 GB, free: 1.953 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008775/0.3578, allocations: 0.6148 MB / 0.5765 GB, free: 1.309 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.98e-05/0.3579, allocations: 43.73 kB / 0.5765 GB, free: 1.266 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.669e-05/0.3579, allocations: 4 kB / 0.5765 GB, free: 1.262 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001805/0.3581, allocations: 8 kB / 0.5765 GB, free: 1.254 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.775e-05/0.3582, allocations: 31.83 kB / 0.5766 GB, free: 1.223 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-05/0.3582, allocations: 12.19 kB / 0.5766 GB, free: 1.211 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002498/0.3584, allocations: 203.1 kB / 0.5768 GB, free: 1.012 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3584, allocations: 3.938 kB / 0.5768 GB, free: 1.008 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007388/0.3592, allocations: 163.8 kB / 0.5769 GB, free: 0.8477 MB / 414.1 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.0001506/0.3593, allocations: 107.2 kB / 0.577 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001013/0.3603, allocations: 0.5066 MB / 0.5775 GB, free: 220 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.3603, allocations: 320 / 0.5775 GB, free: 220 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004964/0.3608, allocations: 322.4 kB / 0.5778 GB, free: 15.89 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006082/0.3614, allocations: 53.06 kB / 0.5779 GB, free: 15.84 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001978/0.3634, allocations: 0.8925 MB / 0.5787 GB, free: 14.9 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003851/0.3638, allocations: 283.9 kB / 0.579 GB, free: 14.6 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.194e-05/0.3639, allocations: 23.44 kB / 0.579 GB, free: 14.58 MB / 430.1 MB Notification: Performance of SimCode: time 3.7e-07/0.3639, allocations: 0 / 0.579 GB, free: 14.58 MB / 430.1 MB Notification: Performance of Templates: time 0.009901/0.3738, allocations: 6.255 MB / 0.5851 GB, free: 8.309 MB / 430.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkLoop_d.mat","/var/lib/jenkins1/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: 7.928799640852958]