Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.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.001506/0.001506, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.001468/0.001468, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.567/1.567, allocations: 230.6 MB / 258.3 MB, free: 8.004 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.1899/0.1899, allocations: 38.52 MB / 353.2 MB, free: 12.56 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.AC3ph.Elementary.Impedance,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Impedance",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Impedance,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Impedance",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.002046/0.002046, allocations: 59.91 kB / 493.3 MB, free: 4.902 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3192/0.3212, allocations: 62.48 MB / 0.5428 GB, free: 452 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Impedance): time 0.007172/0.3284, allocations: 4.739 MB / 0.5474 GB, free: 12.72 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00346/0.3319, allocations: 1.523 MB / 0.5489 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003046/0.3322, allocations: 20.78 kB / 0.5489 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001157/0.3333, allocations: 393.6 kB / 0.5493 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006182/0.334, allocations: 238.5 kB / 0.5495 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009058/0.3349, allocations: 259.3 kB / 0.5498 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008276/0.3357, allocations: 0.5607 MB / 0.5503 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004871/0.3362, allocations: 251.6 kB / 0.5505 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004567/0.3366, allocations: 267.8 kB / 0.5508 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005299/0.3372, allocations: 339.8 kB / 0.5511 GB, free: 10.01 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.286e-05/0.3372, allocations: 33.91 kB / 0.5512 GB, free: 10.01 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003552/0.3376, allocations: 169.1 kB / 0.5513 GB, free: 9.938 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002485/0.3378, allocations: 241 kB / 0.5515 GB, free: 9.785 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002705/0.3381, allocations: 246.9 kB / 0.5518 GB, free: 9.625 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007914/0.3389, allocations: 0.6033 MB / 0.5524 GB, free: 9.23 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.3389, allocations: 0 / 0.5524 GB, free: 9.23 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3389, allocations: 1.594 kB / 0.5524 GB, free: 9.23 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.659e-06/0.3389, allocations: 0 / 0.5524 GB, free: 9.23 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001476/0.3404, allocations: 0.7147 MB / 0.5531 GB, free: 8.652 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.3404, allocations: 17.14 kB / 0.5531 GB, free: 8.645 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.712e-05/0.3405, allocations: 15.56 kB / 0.5531 GB, free: 8.641 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001002/0.3406, allocations: 87.67 kB / 0.5532 GB, free: 8.562 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007731/0.3413, allocations: 123.4 kB / 0.5533 GB, free: 8.508 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000696/0.342, allocations: 358.5 kB / 0.5536 GB, free: 8.227 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.482e-05/0.3421, allocations: 33.28 kB / 0.5537 GB, free: 8.211 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001496/0.3422, allocations: 48.27 kB / 0.5537 GB, free: 8.195 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001024/0.3432, allocations: 0.6494 MB / 0.5544 GB, free: 7.715 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.289e-05/0.3433, allocations: 5.156 kB / 0.5544 GB, free: 7.711 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.888e-05/0.3433, allocations: 17.16 kB / 0.5544 GB, free: 7.699 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001137/0.3434, allocations: 28.95 kB / 0.5544 GB, free: 7.695 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000795/0.3442, allocations: 488.8 kB / 0.5549 GB, free: 7.465 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003772/0.348, allocations: 2.941 MB / 0.5577 GB, free: 4.887 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003335/0.3483, allocations: 178.1 kB / 0.5579 GB, free: 4.711 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001714/0.3485, allocations: 97.73 kB / 0.558 GB, free: 4.609 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.379e-05/0.3485, allocations: 11.92 kB / 0.558 GB, free: 4.598 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.622e-05/0.3486, allocations: 38.5 kB / 0.5581 GB, free: 4.551 MB / 398.1 MB Notification: Performance of pre-optimization done (n=20): time 2.114e-06/0.3486, allocations: 4 kB / 0.5581 GB, free: 4.547 MB / 398.1 MB Notification: Performance of matching and sorting (n=21): time 0.001515/0.3501, allocations: 0.7758 MB / 0.5588 GB, free: 3.738 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.34e-05/0.3501, allocations: 81.11 kB / 0.5589 GB, free: 3.641 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004094/0.3506, allocations: 345.6 kB / 0.5592 GB, free: 3.297 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.015e-05/0.3506, allocations: 29.7 kB / 0.5593 GB, free: 3.262 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002284/0.3508, allocations: 299.9 kB / 0.5595 GB, free: 2.965 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.62e-05/0.3509, allocations: 91.38 kB / 0.5596 GB, free: 2.875 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001339/0.351, allocations: 86.08 kB / 0.5597 GB, free: 2.785 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001721/0.3512, allocations: 346.8 kB / 0.56 GB, free: 2.438 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002094/0.3514, allocations: 124.8 kB / 0.5602 GB, free: 2.312 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004957/0.3519, allocations: 330.8 kB / 0.5605 GB, free: 1.895 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006454/0.3526, allocations: 0.4942 MB / 0.561 GB, free: 1.305 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.3526, allocations: 0 / 0.561 GB, free: 1.305 MB / 398.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001105/0.3537, allocations: 0.5584 MB / 0.5615 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.648e-05/0.3537, allocations: 8 kB / 0.5615 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005583/0.3542, allocations: 280.2 kB / 0.5618 GB, free: 464 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003947/0.3546, allocations: 85.33 kB / 0.5619 GB, free: 376 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003417/0.355, allocations: 99.83 kB / 0.562 GB, free: 276 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001928/0.3569, allocations: 1.615 MB / 0.5635 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002903/0.3572, allocations: 23.98 kB / 0.5636 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.868e-05/0.3573, allocations: 27.94 kB / 0.5636 GB, free: 14.48 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (50): * Single equations (assignments): 49 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003443/0.3576, allocations: 213.6 kB / 0.5638 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.02e-05/0.3577, allocations: 35.77 kB / 0.5638 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005115/0.3582, allocations: 288 kB / 0.5641 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.3582, allocations: 7.984 kB / 0.5641 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.482e-06/0.3582, allocations: 0 / 0.5641 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.3582, allocations: 4 kB / 0.5641 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001266/0.3595, allocations: 0.7629 MB / 0.5649 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.038e-05/0.3595, allocations: 4.062 kB / 0.5649 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002903/0.3598, allocations: 59.91 kB / 0.5649 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.122e-06/0.3598, allocations: 4 kB / 0.5649 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.898e-05/0.3598, allocations: 0 / 0.5649 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.081e-06/0.3598, allocations: 11.88 kB / 0.5649 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.3598, allocations: 0 / 0.5649 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006414/0.3604, allocations: 478.5 kB / 0.5654 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.748e-05/0.3605, allocations: 32 kB / 0.5654 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.04e-05/0.3605, allocations: 11.97 kB / 0.5654 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000161/0.3607, allocations: 8 kB / 0.5654 GB, free: 12.49 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.978e-05/0.3607, allocations: 23.89 kB / 0.5655 GB, free: 12.47 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.974e-05/0.3608, allocations: 8 kB / 0.5655 GB, free: 12.46 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002571/0.361, allocations: 235.2 kB / 0.5657 GB, free: 12.23 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.361, allocations: 0 / 0.5657 GB, free: 12.23 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005289/0.3615, allocations: 104 kB / 0.5658 GB, free: 12.13 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.i[3]) * 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 (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009661/0.3625, allocations: 1.011 MB / 0.5668 GB, free: 11.09 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007812/0.3633, allocations: 431.6 kB / 0.5672 GB, free: 10.65 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3633, allocations: 0 / 0.5672 GB, free: 10.65 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001793/0.3635, allocations: 108.3 kB / 0.5673 GB, free: 10.55 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000508/0.364, allocations: 78.28 kB / 0.5674 GB, free: 10.48 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005654/0.3696, allocations: 3.995 MB / 0.5713 GB, free: 6.191 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005588/0.3702, allocations: 0.8662 MB / 0.5721 GB, free: 5.297 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003192/0.3705, allocations: 107.2 kB / 0.5722 GB, free: 5.195 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002206/0.3707, allocations: 151.4 kB / 0.5724 GB, free: 5.047 MB / 414.1 MB Notification: Performance of SimCode: time 8.41e-07/0.3707, allocations: 0 / 0.5724 GB, free: 5.047 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04299/0.4137, allocations: 7.89 MB / 0.5801 GB, free: 13.29 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.16/12.58, allocations: 11.12 kB / 0.5801 GB, free: 13.29 MB / 430.1 MB " [Timeout remaining time 647] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Impedance_fmu --startTime=0 --stopTime=0.2 --stepSize=8e-05 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Impedance.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Impedance.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.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: 15.645497631980106]