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.001294/0.001294, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001719/0.001719, allocations: 212.1 kB / 23.73 MB, free: 4.16 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.464/1.464, allocations: 230.6 MB / 257.5 MB, free: 7.812 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.1835/0.1835, allocations: 38.56 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.AC3ph.Elementary.Impedance,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Impedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Impedance,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_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.002084/0.002084, allocations: 61.62 kB / 492.5 MB, free: 4.695 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.36/0.3621, allocations: 62.47 MB / 0.5419 GB, free: 248 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Impedance): time 0.007441/0.3695, allocations: 4.48 MB / 0.5463 GB, free: 12.81 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002841/0.3724, allocations: 1.412 MB / 0.5477 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002626/0.3727, allocations: 19.91 kB / 0.5477 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001199/0.3739, allocations: 368.5 kB / 0.5481 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006554/0.3745, allocations: 242.3 kB / 0.5483 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008036/0.3753, allocations: 256.4 kB / 0.5485 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007217/0.376, allocations: 0.5556 MB / 0.5491 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004329/0.3765, allocations: 247.6 kB / 0.5493 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000438/0.3769, allocations: 276.4 kB / 0.5496 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004983/0.3774, allocations: 322.9 kB / 0.5499 GB, free: 10.26 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.707e-05/0.3775, allocations: 34.16 kB / 0.5499 GB, free: 10.26 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003593/0.3778, allocations: 154.8 kB / 0.5501 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002584/0.3781, allocations: 233.2 kB / 0.5503 GB, free: 10.05 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002739/0.3784, allocations: 204.3 kB / 0.5505 GB, free: 9.934 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007953/0.3792, allocations: 0.6127 MB / 0.5511 GB, free: 9.535 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.3792, allocations: 0 / 0.5511 GB, free: 9.535 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.3792, allocations: 0 / 0.5511 GB, free: 9.535 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.107e-05/0.3792, allocations: 5.062 kB / 0.5511 GB, free: 9.531 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.002152/0.3813, allocations: 0.7165 MB / 0.5518 GB, free: 8.949 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.535e-05/0.3814, allocations: 13.52 kB / 0.5518 GB, free: 8.945 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001525/0.3815, allocations: 79.53 kB / 0.5519 GB, free: 8.875 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001247/0.3828, allocations: 131.2 kB / 0.552 GB, free: 8.812 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001221/0.384, allocations: 354.5 kB / 0.5523 GB, free: 8.535 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.115e-05/0.384, allocations: 30.16 kB / 0.5524 GB, free: 8.523 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002099/0.3843, allocations: 56.95 kB / 0.5524 GB, free: 8.5 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001488/0.3857, allocations: 0.6458 MB / 0.5531 GB, free: 8.035 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.334e-05/0.3858, allocations: 5.391 kB / 0.5531 GB, free: 8.031 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.026e-05/0.3858, allocations: 17.78 kB / 0.5531 GB, free: 8.02 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000161/0.386, allocations: 37.67 kB / 0.5531 GB, free: 8.004 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001235/0.3872, allocations: 481.1 kB / 0.5536 GB, free: 7.781 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005751/0.393, allocations: 2.858 MB / 0.5564 GB, free: 5.199 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004701/0.3935, allocations: 169 kB / 0.5565 GB, free: 5.016 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000251/0.3937, allocations: 97.73 kB / 0.5566 GB, free: 4.914 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.062e-05/0.3938, allocations: 12 kB / 0.5566 GB, free: 4.902 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.424e-05/0.3938, allocations: 30.56 kB / 0.5567 GB, free: 4.863 MB / 398.1 MB Notification: Performance of pre-optimization done (n=20): time 3.737e-06/0.3938, allocations: 0 / 0.5567 GB, free: 4.863 MB / 398.1 MB Notification: Performance of matching and sorting (n=21): time 0.002256/0.3961, allocations: 0.7798 MB / 0.5574 GB, free: 4.051 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.992e-05/0.3961, allocations: 81.11 kB / 0.5575 GB, free: 3.953 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005871/0.3967, allocations: 357.5 kB / 0.5578 GB, free: 3.598 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.865e-05/0.3968, allocations: 29.7 kB / 0.5579 GB, free: 3.562 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003296/0.3971, allocations: 307.8 kB / 0.5582 GB, free: 3.258 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001439/0.3972, allocations: 83.44 kB / 0.5582 GB, free: 3.176 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001942/0.3974, allocations: 86.08 kB / 0.5583 GB, free: 3.086 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002484/0.3977, allocations: 350.8 kB / 0.5587 GB, free: 2.734 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003253/0.398, allocations: 120.8 kB / 0.5588 GB, free: 2.613 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005672/0.3986, allocations: 330.8 kB / 0.5591 GB, free: 2.195 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009907/0.3996, allocations: 0.497 MB / 0.5596 GB, free: 1.605 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.053e-06/0.3996, allocations: 3.938 kB / 0.5596 GB, free: 1.602 MB / 398.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001649/0.4012, allocations: 0.5564 MB / 0.5601 GB, free: 1.035 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.991e-05/0.4012, allocations: 8 kB / 0.5601 GB, free: 1.027 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007814/0.402, allocations: 282.4 kB / 0.5604 GB, free: 0.75 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004857/0.4025, allocations: 80.78 kB / 0.5605 GB, free: 0.668 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000534/0.403, allocations: 99.81 kB / 0.5606 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002551/0.4056, allocations: 1.612 MB / 0.5621 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004809/0.4061, allocations: 19.94 kB / 0.5622 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.118e-05/0.4061, allocations: 24 kB / 0.5622 GB, free: 14.79 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.0004308/0.4066, allocations: 217.5 kB / 0.5624 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001054/0.4067, allocations: 35.75 kB / 0.5624 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000765/0.4074, allocations: 288.7 kB / 0.5627 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.4074, allocations: 4 kB / 0.5627 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/0.4074, allocations: 0 / 0.5627 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.05e-05/0.4074, allocations: 4 kB / 0.5627 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001884/0.4093, allocations: 0.7383 MB / 0.5634 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.95e-06/0.4093, allocations: 4 kB / 0.5634 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003952/0.4097, allocations: 55.91 kB / 0.5635 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.071e-05/0.4097, allocations: 8.062 kB / 0.5635 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.027e-05/0.4098, allocations: 8 kB / 0.5635 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.4098, allocations: 0 / 0.5635 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.4098, allocations: 3.938 kB / 0.5635 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008869/0.4107, allocations: 487 kB / 0.564 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.115e-05/0.4108, allocations: 35.73 kB / 0.564 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.694e-05/0.4108, allocations: 19.95 kB / 0.564 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002731/0.4111, allocations: 8 kB / 0.564 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.504e-05/0.4112, allocations: 15.97 kB / 0.564 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.581e-05/0.4112, allocations: 8 kB / 0.5641 GB, free: 12.78 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003742/0.4116, allocations: 231.2 kB / 0.5643 GB, free: 12.56 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4116, allocations: 4 kB / 0.5643 GB, free: 12.55 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008935/0.4125, allocations: 96 kB / 0.5644 GB, free: 12.46 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.001459/0.4139, allocations: 1.011 MB / 0.5654 GB, free: 11.41 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001208/0.4151, allocations: 442.3 kB / 0.5658 GB, free: 10.97 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/0.4151, allocations: 0 / 0.5658 GB, free: 10.97 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002795/0.4154, allocations: 111.8 kB / 0.5659 GB, free: 10.86 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007985/0.4162, allocations: 70.89 kB / 0.566 GB, free: 10.8 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008416/0.4246, allocations: 3.995 MB / 0.5699 GB, free: 6.516 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004457/0.4251, allocations: 265.9 kB / 0.5701 GB, free: 6.238 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004644/0.4255, allocations: 111.2 kB / 0.5702 GB, free: 6.125 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003117/0.4258, allocations: 143.4 kB / 0.5704 GB, free: 5.984 MB / 414.1 MB Notification: Performance of SimCode: time 9.21e-07/0.4258, allocations: 4 kB / 0.5704 GB, free: 5.98 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04718/0.473, allocations: 8.136 MB / 0.5783 GB, free: 14 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.68/12.15, allocations: 10.47 kB / 0.5783 GB, free: 13.99 MB / 430.1 MB " [Timeout remaining time 648] (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.025844288058579]