Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.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.0013/0.0013, allocations: 115.8 kB / 20.43 MB, free: 1.457 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.001702/0.001702, allocations: 210.7 kB / 23.74 MB, free: 4.672 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.479/1.479, allocations: 230.6 MB / 257.5 MB, free: 7.973 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.1908/0.1908, allocations: 38.53 MB / 352.5 MB, free: 12.55 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.AC1ph_DC.Elementary.Impedance,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Impedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Impedance",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.002246/0.002246, allocations: 63.91 kB / 492.5 MB, free: 4.883 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3446/0.3468, allocations: 62.47 MB / 0.542 GB, free: 452 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance): time 0.007152/0.354, allocations: 4.5 MB / 0.5464 GB, free: 12.92 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002211/0.3562, allocations: 0.9671 MB / 0.5473 GB, free: 12.15 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003151/0.3565, allocations: 20.06 kB / 0.5474 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002604/0.3568, allocations: 56.98 kB / 0.5474 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008439/0.3576, allocations: 248.3 kB / 0.5477 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004111/0.358, allocations: 103.4 kB / 0.5478 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008196/0.3588, allocations: 0.4949 MB / 0.5482 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002546/0.3591, allocations: 95.33 kB / 0.5483 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005968/0.3597, allocations: 241.8 kB / 0.5486 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007374/0.3604, allocations: 284.6 kB / 0.5488 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001108/0.3605, allocations: 22.53 kB / 0.5489 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001888/0.3607, allocations: 23.75 kB / 0.5489 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003727/0.3611, allocations: 152.1 kB / 0.549 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004616/0.3616, allocations: 179.6 kB / 0.5492 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008561/0.3624, allocations: 370.7 kB / 0.5495 GB, free: 10.74 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.3624, allocations: 0 / 0.5495 GB, free: 10.74 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3624, allocations: 0 / 0.5495 GB, free: 10.74 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.639e-05/0.3625, allocations: 0 / 0.5495 GB, free: 10.74 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001752/0.3642, allocations: 0.5927 MB / 0.5501 GB, free: 10.25 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.134e-05/0.3643, allocations: 13.73 kB / 0.5501 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.249e-05/0.3644, allocations: 63.66 kB / 0.5502 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.204e-05/0.3644, allocations: 38.7 kB / 0.5502 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007089/0.3652, allocations: 318.6 kB / 0.5505 GB, free: 9.906 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.239e-05/0.3652, allocations: 22.31 kB / 0.5506 GB, free: 9.895 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.12e-05/0.3653, allocations: 32.98 kB / 0.5506 GB, free: 9.879 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006559/0.3659, allocations: 350.8 kB / 0.5509 GB, free: 9.633 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.3659, allocations: 0 / 0.5509 GB, free: 9.633 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.166e-05/0.366, allocations: 10.72 kB / 0.5509 GB, free: 9.625 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001155/0.3661, allocations: 30.38 kB / 0.551 GB, free: 9.613 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004651/0.3666, allocations: 246.1 kB / 0.5512 GB, free: 9.492 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002083/0.3686, allocations: 1.329 MB / 0.5525 GB, free: 8.336 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003981/0.369, allocations: 161.3 kB / 0.5527 GB, free: 8.227 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002007/0.3692, allocations: 101.8 kB / 0.5528 GB, free: 8.164 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.768e-05/0.3693, allocations: 2.25 kB / 0.5528 GB, free: 8.164 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.091e-05/0.3693, allocations: 31.69 kB / 0.5528 GB, free: 8.125 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.332e-06/0.3693, allocations: 0 / 0.5528 GB, free: 8.125 MB / 398.1 MB Notification: Performance of matching and sorting (n=15): time 0.001374/0.3707, allocations: 0.6242 MB / 0.5534 GB, free: 7.691 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.642e-05/0.3707, allocations: 83.58 kB / 0.5535 GB, free: 7.594 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003269/0.3711, allocations: 300.3 kB / 0.5538 GB, free: 7.395 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.859e-05/0.3711, allocations: 25.7 kB / 0.5538 GB, free: 7.363 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001604/0.3712, allocations: 220.3 kB / 0.554 GB, free: 7.164 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.855e-05/0.3713, allocations: 54.78 kB / 0.554 GB, free: 7.117 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.009e-05/0.3714, allocations: 61.41 kB / 0.5541 GB, free: 7.07 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001871/0.3716, allocations: 337.3 kB / 0.5544 GB, free: 6.738 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001236/0.3717, allocations: 64.19 kB / 0.5545 GB, free: 6.711 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002218/0.3719, allocations: 167.9 kB / 0.5546 GB, free: 6.547 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003729/0.3723, allocations: 255.7 kB / 0.5549 GB, free: 6.336 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.3723, allocations: 5.094 kB / 0.5549 GB, free: 6.332 MB / 398.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005804/0.3729, allocations: 325.2 kB / 0.5552 GB, free: 6.152 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.3729, allocations: 6.125 kB / 0.5552 GB, free: 6.152 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.3729, allocations: 8.094 kB / 0.5552 GB, free: 6.148 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002517/0.3732, allocations: 53.28 kB / 0.5553 GB, free: 6.121 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002001/0.3734, allocations: 45.36 kB / 0.5553 GB, free: 6.113 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001592/0.375, allocations: 1.499 MB / 0.5568 GB, free: 4.699 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000147/0.3751, allocations: 9.188 kB / 0.5568 GB, free: 4.695 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.095e-05/0.3751, allocations: 13.22 kB / 0.5568 GB, free: 4.691 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (28): * Single equations (assignments): 27 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002108/0.3753, allocations: 174.3 kB / 0.557 GB, free: 4.539 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.743e-05/0.3754, allocations: 31.95 kB / 0.557 GB, free: 4.52 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004251/0.3758, allocations: 238.7 kB / 0.5572 GB, free: 4.371 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.3758, allocations: 4 kB / 0.5572 GB, free: 4.367 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.564e-06/0.3758, allocations: 0 / 0.5572 GB, free: 4.367 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.666e-06/0.3758, allocations: 0 / 0.5572 GB, free: 4.367 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009504/0.3768, allocations: 0.6122 MB / 0.5578 GB, free: 3.699 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/0.3768, allocations: 8.031 kB / 0.5578 GB, free: 3.691 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001085/0.3769, allocations: 23.94 kB / 0.5579 GB, free: 3.668 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001929/0.3771, allocations: 56.78 kB / 0.5579 GB, free: 3.609 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.66e-05/0.3771, allocations: 8 kB / 0.5579 GB, free: 3.602 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001435/0.3785, allocations: 1.506 MB / 0.5594 GB, free: 1.98 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.3785, allocations: 0 / 0.5594 GB, free: 1.98 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005592/0.3791, allocations: 409.8 kB / 0.5598 GB, free: 1.555 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.208e-05/0.3792, allocations: 23.84 kB / 0.5598 GB, free: 1.531 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.784e-05/0.3792, allocations: 8 kB / 0.5598 GB, free: 1.523 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001419/0.3793, allocations: 11.92 kB / 0.5598 GB, free: 1.512 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.179e-05/0.3794, allocations: 11.98 kB / 0.5598 GB, free: 1.5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.335e-05/0.3794, allocations: 12.05 kB / 0.5598 GB, free: 1.488 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002243/0.3796, allocations: 207.1 kB / 0.56 GB, free: 1.285 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3796, allocations: 0 / 0.56 GB, free: 1.285 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004232/0.38, allocations: 72 kB / 0.5601 GB, free: 1.215 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (ind.i[1],ind.i[2]) * 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 (16): * Single equations (assignments): 14 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009187/0.381, allocations: 0.9361 MB / 0.561 GB, free: 252 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006642/0.3816, allocations: 306.2 kB / 0.5613 GB, free: 15.94 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.3816, allocations: 0 / 0.5613 GB, free: 15.94 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000375/0.382, allocations: 210.5 kB / 0.5615 GB, free: 15.72 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005025/0.3825, allocations: 67.25 kB / 0.5616 GB, free: 15.66 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003951/0.3865, allocations: 3.052 MB / 0.5646 GB, free: 12.41 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004843/0.3869, allocations: 0.8104 MB / 0.5654 GB, free: 11.58 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001391/0.3871, allocations: 50.94 kB / 0.5654 GB, free: 11.53 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001544/0.3872, allocations: 103.4 kB / 0.5655 GB, free: 11.43 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3872, allocations: 0 / 0.5655 GB, free: 11.43 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04043/0.4277, allocations: 6.311 MB / 0.5717 GB, free: 5.262 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/11.9, allocations: 4.062 kB / 0.5717 GB, free: 5.258 MB / 414.1 MB " [Timeout remaining time 648] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Impedance_fmu --startTime=0 --stopTime=0.2 --stepSize=0.00027027 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Impedance.fmu > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.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: 14.701042434899136]