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.001787/0.001787, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.002391/0.002391, allocations: 212.5 kB / 24.52 MB, free: 3.91 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.45/1.45, allocations: 230.6 MB / 258.3 MB, free: 7.734 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.1871/0.1871, allocations: 38.55 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: "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop_d,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_d",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop_d,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_d",fmuType="cs",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.00208/0.00208, allocations: 66.39 kB / 493.3 MB, free: 4.707 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3014/0.3035, allocations: 62.47 MB / 0.5427 GB, free: 124 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_d): time 0.01008/0.3136, allocations: 7.151 MB / 0.5497 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006291/0.3199, allocations: 3.908 MB / 0.5535 GB, free: 7.609 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006775/0.3205, allocations: 16.47 kB / 0.5535 GB, free: 7.605 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002906/0.3235, allocations: 1.011 MB / 0.5545 GB, free: 6.848 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003175/0.3266, allocations: 1.111 MB / 0.5556 GB, free: 5.98 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001075/0.3277, allocations: 313.4 kB / 0.5559 GB, free: 5.742 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001967/0.3297, allocations: 1.365 MB / 0.5572 GB, free: 5.012 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007965/0.3305, allocations: 405.9 kB / 0.5576 GB, free: 4.738 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001082/0.3315, allocations: 0.5896 MB / 0.5582 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009377/0.3325, allocations: 0.6422 MB / 0.5588 GB, free: 3.625 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.069e-05/0.3326, allocations: 40 kB / 0.5589 GB, free: 3.586 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001623/0.3342, allocations: 0.7827 MB / 0.5596 GB, free: 2.801 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000327/0.3345, allocations: 287.1 kB / 0.5599 GB, free: 2.52 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002903/0.3348, allocations: 215 kB / 0.5601 GB, free: 2.309 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001242/0.336, allocations: 0.8097 MB / 0.5609 GB, free: 1.496 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.336, allocations: 0 / 0.5609 GB, free: 1.496 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.336, allocations: 0 / 0.5609 GB, free: 1.496 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.285e-06/0.3361, allocations: 0 / 0.5609 GB, free: 1.496 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.001174/0.3372, allocations: 0.743 MB / 0.5616 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.3373, allocations: 11.98 kB / 0.5616 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.771e-05/0.3373, allocations: 17.19 kB / 0.5617 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.953e-05/0.3374, allocations: 82.64 kB / 0.5617 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001603/0.339, allocations: 136.5 kB / 0.5619 GB, free: 484 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000504/0.3395, allocations: 284.7 kB / 0.5621 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.465e-05/0.3395, allocations: 29.36 kB / 0.5622 GB, free: 140 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.918e-05/0.3396, allocations: 44.36 kB / 0.5622 GB, free: 96 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008948/0.3405, allocations: 0.5808 MB / 0.5628 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/0.3405, allocations: 4 kB / 0.5628 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.162e-05/0.3406, allocations: 23.97 kB / 0.5628 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.31e-05/0.3406, allocations: 36.62 kB / 0.5628 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006097/0.3412, allocations: 386.1 kB / 0.5632 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002623/0.3439, allocations: 2.474 MB / 0.5656 GB, free: 12.41 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006996/0.3446, allocations: 410.5 kB / 0.566 GB, free: 11.98 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003005/0.3449, allocations: 190.5 kB / 0.5662 GB, free: 11.79 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.848e-05/0.3449, allocations: 7.938 kB / 0.5662 GB, free: 11.78 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.071e-05/0.3449, allocations: 34.56 kB / 0.5662 GB, free: 11.74 MB / 414.1 MB Notification: Performance of pre-optimization done (n=33): time 1.844e-06/0.3449, allocations: 4 kB / 0.5662 GB, free: 11.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=33): time 0.001768/0.3467, allocations: 0.6819 MB / 0.5669 GB, free: 11.04 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.849e-05/0.3468, allocations: 106.8 kB / 0.567 GB, free: 10.91 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003529/0.3471, allocations: 328.6 kB / 0.5673 GB, free: 10.58 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.632e-05/0.3471, allocations: 29.7 kB / 0.5673 GB, free: 10.55 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001915/0.3473, allocations: 248.4 kB / 0.5676 GB, free: 10.3 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001132/0.3474, allocations: 126.9 kB / 0.5677 GB, free: 10.18 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00012/0.3476, allocations: 78.09 kB / 0.5678 GB, free: 10.09 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001829/0.3477, allocations: 350.8 kB / 0.5681 GB, free: 9.742 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002117/0.348, allocations: 132.7 kB / 0.5682 GB, free: 9.613 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003406/0.3483, allocations: 285 kB / 0.5685 GB, free: 9.266 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006068/0.3489, allocations: 456.1 kB / 0.5689 GB, free: 8.754 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.109e-06/0.3489, allocations: 3.938 kB / 0.5689 GB, free: 8.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0009464/0.3499, allocations: 0.5623 MB / 0.5695 GB, free: 8.18 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.3499, allocations: 8 kB / 0.5695 GB, free: 8.172 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.3499, allocations: 4 kB / 0.5695 GB, free: 8.168 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003384/0.3502, allocations: 112.8 kB / 0.5696 GB, free: 8.055 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002737/0.3505, allocations: 79.89 kB / 0.5697 GB, free: 7.977 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00285/0.3533, allocations: 2.378 MB / 0.572 GB, free: 5.488 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002593/0.3536, allocations: 51.61 kB / 0.5721 GB, free: 5.438 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.938e-05/0.3536, allocations: 20 kB / 0.5721 GB, free: 5.418 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.0002302/0.3539, allocations: 197.8 kB / 0.5723 GB, free: 5.215 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.271e-05/0.3539, allocations: 35.77 kB / 0.5723 GB, free: 5.18 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.237e-05/0.354, allocations: 51.95 kB / 0.5724 GB, free: 5.129 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.354, allocations: 4 kB / 0.5724 GB, free: 5.125 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/0.3541, allocations: 3.938 kB / 0.5724 GB, free: 5.121 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/0.3541, allocations: 7.984 kB / 0.5724 GB, free: 5.113 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00139/0.3555, allocations: 0.8867 MB / 0.5732 GB, free: 4.168 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.3555, allocations: 0 / 0.5732 GB, free: 4.168 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001527/0.3556, allocations: 39.92 kB / 0.5733 GB, free: 4.129 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003527/0.356, allocations: 112.8 kB / 0.5734 GB, free: 4.016 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.359e-05/0.356, allocations: 8 kB / 0.5734 GB, free: 4.008 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002745/0.3587, allocations: 2.367 MB / 0.5757 GB, free: 1.523 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.3587, allocations: 3.938 kB / 0.5757 GB, free: 1.52 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008233/0.3596, allocations: 0.6267 MB / 0.5763 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.754e-05/0.3596, allocations: 47.56 kB / 0.5764 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.626e-05/0.3597, allocations: 8 kB / 0.5764 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001759/0.3599, allocations: 4 kB / 0.5764 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.562e-05/0.36, allocations: 31.89 kB / 0.5764 GB, free: 0.7734 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.844e-05/0.36, allocations: 8 kB / 0.5764 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000251/0.3602, allocations: 223 kB / 0.5766 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3602, allocations: 0 / 0.5766 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007009/0.3609, allocations: 155.8 kB / 0.5768 GB, free: 404 kB / 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.001182/0.3621, allocations: 1.161 MB / 0.5779 GB, free: 15.19 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000983/0.3631, allocations: 0.5111 MB / 0.5784 GB, free: 14.67 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.3631, allocations: 0 / 0.5784 GB, free: 14.67 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004977/0.3636, allocations: 326.4 kB / 0.5787 GB, free: 14.34 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005772/0.3642, allocations: 62.28 kB / 0.5788 GB, free: 14.27 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005767/0.3699, allocations: 4.005 MB / 0.5827 GB, free: 10.05 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003784/0.3703, allocations: 280.6 kB / 0.583 GB, free: 9.75 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001883/0.3705, allocations: 74.89 kB / 0.583 GB, free: 9.68 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000176/0.3707, allocations: 111.4 kB / 0.5831 GB, free: 9.57 MB / 430.1 MB Notification: Performance of SimCode: time 8.92e-07/0.3707, allocations: 4 kB / 0.5831 GB, free: 9.566 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03363/0.4043, allocations: 8.138 MB / 0.5911 GB, free: 1.586 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.38/12.78, allocations: 7.344 kB / 0.5911 GB, free: 1.582 MB / 430.1 MB " [Timeout remaining time 647] (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.795299347024411]