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.001364/0.001364, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001464/0.001464, allocations: 209.7 kB / 23.73 MB, free: 4.387 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.451/1.451, allocations: 230.6 MB / 257.5 MB, free: 7.781 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.1869/0.1869, allocations: 38.55 MB / 352.5 MB, free: 12.3 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: "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop_d,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_d",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop_d,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_d",fmuType="me",version="2.0",platforms={"static"}) [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.002124/0.002124, allocations: 63.89 kB / 492.5 MB, free: 4.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3246/0.3267, allocations: 62.48 MB / 0.542 GB, free: 248 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_d): time 0.008906/0.3356, allocations: 7.18 MB / 0.549 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005915/0.3415, allocations: 3.895 MB / 0.5528 GB, free: 7.73 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003118/0.3418, allocations: 21.25 kB / 0.5528 GB, free: 7.723 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00262/0.3444, allocations: 1.015 MB / 0.5538 GB, free: 6.961 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002611/0.347, allocations: 1.108 MB / 0.5549 GB, free: 6.098 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008809/0.3479, allocations: 309.5 kB / 0.5552 GB, free: 5.863 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001623/0.3495, allocations: 1.373 MB / 0.5565 GB, free: 5.125 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006763/0.3502, allocations: 390.5 kB / 0.5569 GB, free: 4.867 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009324/0.3512, allocations: 0.5939 MB / 0.5574 GB, free: 4.363 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009234/0.3521, allocations: 0.6265 MB / 0.5581 GB, free: 3.734 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.624e-05/0.3521, allocations: 36 kB / 0.5581 GB, free: 3.699 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001522/0.3537, allocations: 0.7866 MB / 0.5589 GB, free: 2.91 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003114/0.354, allocations: 283.1 kB / 0.5591 GB, free: 2.633 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002551/0.3542, allocations: 207.1 kB / 0.5593 GB, free: 2.43 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001139/0.3554, allocations: 0.8175 MB / 0.5601 GB, free: 1.609 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.217e-06/0.3554, allocations: 0 / 0.5601 GB, free: 1.609 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.3554, allocations: 4 kB / 0.5601 GB, free: 1.605 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.138e-05/0.3554, allocations: 0 / 0.5601 GB, free: 1.605 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.001157/0.3565, allocations: 0.743 MB / 0.5609 GB, free: 0.832 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.3566, allocations: 11.98 kB / 0.5609 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.249e-05/0.3567, allocations: 82.7 kB / 0.5609 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001486/0.3582, allocations: 132.5 kB / 0.5611 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005756/0.3587, allocations: 276.8 kB / 0.5613 GB, free: 312 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.481e-05/0.3588, allocations: 33.36 kB / 0.5614 GB, free: 280 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.059e-05/0.3588, allocations: 40.36 kB / 0.5614 GB, free: 240 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009703/0.3598, allocations: 0.5867 MB / 0.562 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/0.3598, allocations: 4 kB / 0.562 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.966e-05/0.3599, allocations: 19.98 kB / 0.562 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.569e-05/0.3599, allocations: 36.62 kB / 0.562 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006112/0.3605, allocations: 386.1 kB / 0.5624 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002853/0.3634, allocations: 2.478 MB / 0.5648 GB, free: 12.54 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007098/0.3641, allocations: 403.8 kB / 0.5652 GB, free: 12.12 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002914/0.3644, allocations: 190.5 kB / 0.5654 GB, free: 11.93 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.058e-05/0.3644, allocations: 8 kB / 0.5654 GB, free: 11.92 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.083e-05/0.3645, allocations: 50.47 kB / 0.5655 GB, free: 11.86 MB / 414.1 MB Notification: Performance of pre-optimization done (n=33): time 1.884e-06/0.3645, allocations: 0 / 0.5655 GB, free: 11.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=33): time 0.001697/0.3662, allocations: 0.6779 MB / 0.5661 GB, free: 11.17 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.15e-05/0.3662, allocations: 106.8 kB / 0.5662 GB, free: 11.04 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003476/0.3666, allocations: 328.5 kB / 0.5665 GB, free: 10.71 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.749e-05/0.3666, allocations: 29.7 kB / 0.5666 GB, free: 10.68 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002029/0.3668, allocations: 256.4 kB / 0.5668 GB, free: 10.43 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001436/0.367, allocations: 122.9 kB / 0.5669 GB, free: 10.3 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001258/0.3671, allocations: 86.08 kB / 0.567 GB, free: 10.21 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001854/0.3673, allocations: 347 kB / 0.5673 GB, free: 9.867 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002248/0.3675, allocations: 128.8 kB / 0.5675 GB, free: 9.742 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000336/0.3678, allocations: 283.4 kB / 0.5677 GB, free: 9.395 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00058/0.3684, allocations: 448.2 kB / 0.5682 GB, free: 8.891 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.247e-06/0.3684, allocations: 4 kB / 0.5682 GB, free: 8.887 MB / 414.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.000911/0.3693, allocations: 0.5582 MB / 0.5687 GB, free: 8.32 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/0.3693, allocations: 11.94 kB / 0.5687 GB, free: 8.309 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.3693, allocations: 4 kB / 0.5687 GB, free: 8.305 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000358/0.3697, allocations: 120.8 kB / 0.5688 GB, free: 8.184 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002614/0.37, allocations: 80.22 kB / 0.5689 GB, free: 8.105 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003062/0.373, allocations: 2.371 MB / 0.5712 GB, free: 5.617 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000265/0.3733, allocations: 47.62 kB / 0.5713 GB, free: 5.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.376e-05/0.3733, allocations: 23.98 kB / 0.5713 GB, free: 5.547 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.0002805/0.3736, allocations: 197.7 kB / 0.5715 GB, free: 5.344 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.095e-05/0.3737, allocations: 43.75 kB / 0.5715 GB, free: 5.301 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.153e-05/0.3738, allocations: 47.95 kB / 0.5716 GB, free: 5.254 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.3738, allocations: 4 kB / 0.5716 GB, free: 5.25 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.506e-05/0.3738, allocations: 7.938 kB / 0.5716 GB, free: 5.242 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.3738, allocations: 0 / 0.5716 GB, free: 5.242 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00144/0.3753, allocations: 0.8828 MB / 0.5724 GB, free: 4.301 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.3753, allocations: 0 / 0.5724 GB, free: 4.301 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001368/0.3754, allocations: 31.98 kB / 0.5725 GB, free: 4.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002733/0.3757, allocations: 116.7 kB / 0.5726 GB, free: 4.152 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.319e-05/0.3757, allocations: 4 kB / 0.5726 GB, free: 4.148 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002957/0.3787, allocations: 2.389 MB / 0.5749 GB, free: 1.648 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.113e-06/0.3787, allocations: 4.031 kB / 0.5749 GB, free: 1.645 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009234/0.3796, allocations: 0.6228 MB / 0.5755 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001077/0.3797, allocations: 43.7 kB / 0.5756 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.351e-05/0.3797, allocations: 12.11 kB / 0.5756 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001744/0.3799, allocations: 8 kB / 0.5756 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.276e-05/0.38, allocations: 27.89 kB / 0.5756 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.824e-05/0.38, allocations: 8 kB / 0.5756 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002999/0.3803, allocations: 227 kB / 0.5758 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3803, allocations: 0 / 0.5758 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000784/0.3811, allocations: 163.8 kB / 0.576 GB, free: 0.5117 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.001294/0.3824, allocations: 1.148 MB / 0.5771 GB, free: 15.32 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000975/0.3833, allocations: 0.5146 MB / 0.5776 GB, free: 14.8 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.3833, allocations: 0 / 0.5776 GB, free: 14.8 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004741/0.3838, allocations: 331.2 kB / 0.5779 GB, free: 14.46 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005211/0.3843, allocations: 65 kB / 0.578 GB, free: 14.4 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005592/0.3899, allocations: 3.994 MB / 0.5819 GB, free: 10.17 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003414/0.3903, allocations: 284.6 kB / 0.5822 GB, free: 9.867 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001779/0.3904, allocations: 66.91 kB / 0.5822 GB, free: 9.805 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001728/0.3906, allocations: 115.4 kB / 0.5823 GB, free: 9.691 MB / 430.1 MB Notification: Performance of SimCode: time 9.32e-07/0.3906, allocations: 0 / 0.5823 GB, free: 9.691 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03842/0.429, allocations: 8.335 MB / 0.5905 GB, free: 1.508 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.89/12.31, allocations: 8 kB / 0.5905 GB, free: 1.5 MB / 430.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_d_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_d.fmu > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe 2>&1) [Timeout 52.5] 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: 15.147458747029305]