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.00133/0.00133, allocations: 119.6 kB / 20.44 MB, free: 1.301 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.001444/0.001444, allocations: 210.5 kB / 23.74 MB, free: 4.531 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.429/1.429, allocations: 230.6 MB / 257.5 MB, free: 8.008 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.1824/0.1824, allocations: 38.54 MB / 352.5 MB, free: 12.57 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.002053/0.002053, allocations: 59.91 kB / 492.5 MB, free: 4.91 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3165/0.3186, allocations: 62.47 MB / 0.542 GB, free: 452 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Impedance): time 0.006777/0.3254, allocations: 4.749 MB / 0.5466 GB, free: 12.71 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00303/0.3284, allocations: 1.525 MB / 0.5481 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004383/0.3288, allocations: 21.97 kB / 0.5482 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001357/0.3302, allocations: 385.7 kB / 0.5485 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008072/0.331, allocations: 242.6 kB / 0.5488 GB, free: 11 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009333/0.3319, allocations: 254.8 kB / 0.549 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008941/0.3328, allocations: 0.5609 MB / 0.5495 GB, free: 10.51 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004517/0.3333, allocations: 250.9 kB / 0.5498 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006132/0.3339, allocations: 276.1 kB / 0.55 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006919/0.3346, allocations: 336 kB / 0.5504 GB, free: 10 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.806e-05/0.3347, allocations: 34.75 kB / 0.5504 GB, free: 10 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004927/0.3352, allocations: 167 kB / 0.5506 GB, free: 9.93 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003024/0.3355, allocations: 241.9 kB / 0.5508 GB, free: 9.777 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004187/0.3359, allocations: 243.9 kB / 0.551 GB, free: 9.621 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000945/0.3368, allocations: 0.6027 MB / 0.5516 GB, free: 9.227 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3369, allocations: 4 kB / 0.5516 GB, free: 9.223 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3369, allocations: 0 / 0.5516 GB, free: 9.223 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.056e-05/0.3369, allocations: 1.188 kB / 0.5516 GB, free: 9.223 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.001661/0.3385, allocations: 0.7154 MB / 0.5523 GB, free: 8.641 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.3386, allocations: 14.27 kB / 0.5523 GB, free: 8.637 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001225/0.3387, allocations: 87.77 kB / 0.5524 GB, free: 8.559 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007613/0.3395, allocations: 131.1 kB / 0.5525 GB, free: 8.496 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007683/0.3402, allocations: 353.5 kB / 0.5529 GB, free: 8.219 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.464e-05/0.3403, allocations: 30.19 kB / 0.5529 GB, free: 8.207 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001466/0.3404, allocations: 56.44 kB / 0.553 GB, free: 8.184 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009828/0.3414, allocations: 0.6417 MB / 0.5536 GB, free: 7.715 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.354e-05/0.3414, allocations: 1.062 kB / 0.5536 GB, free: 7.715 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.091e-05/0.3415, allocations: 22.12 kB / 0.5536 GB, free: 7.699 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001226/0.3416, allocations: 32.64 kB / 0.5536 GB, free: 7.688 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008169/0.3424, allocations: 485.1 kB / 0.5541 GB, free: 7.465 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003967/0.3464, allocations: 2.936 MB / 0.557 GB, free: 4.887 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003442/0.3467, allocations: 181 kB / 0.5571 GB, free: 4.719 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001796/0.3469, allocations: 97.73 kB / 0.5572 GB, free: 4.617 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.89e-05/0.3469, allocations: 4 kB / 0.5572 GB, free: 4.613 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.655e-05/0.347, allocations: 42.48 kB / 0.5573 GB, free: 4.562 MB / 398.1 MB Notification: Performance of pre-optimization done (n=20): time 1.863e-06/0.347, allocations: 0 / 0.5573 GB, free: 4.562 MB / 398.1 MB Notification: Performance of matching and sorting (n=21): time 0.001514/0.3485, allocations: 0.7837 MB / 0.558 GB, free: 3.746 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.972e-05/0.3485, allocations: 81.11 kB / 0.5581 GB, free: 3.648 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003666/0.3489, allocations: 345.6 kB / 0.5584 GB, free: 3.309 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.684e-05/0.3489, allocations: 29.7 kB / 0.5585 GB, free: 3.273 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002247/0.3492, allocations: 307.9 kB / 0.5588 GB, free: 2.969 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.814e-05/0.3492, allocations: 87.27 kB / 0.5589 GB, free: 2.883 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000141/0.3494, allocations: 82.08 kB / 0.5589 GB, free: 2.797 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001711/0.3496, allocations: 346.8 kB / 0.5593 GB, free: 2.449 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002127/0.3498, allocations: 132.8 kB / 0.5594 GB, free: 2.316 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003821/0.3502, allocations: 318.9 kB / 0.5597 GB, free: 1.91 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006428/0.3508, allocations: 0.4942 MB / 0.5602 GB, free: 1.32 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.3508, allocations: 3.938 kB / 0.5602 GB, free: 1.316 MB / 398.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001117/0.3519, allocations: 0.5666 MB / 0.5607 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.3519, allocations: 8 kB / 0.5607 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005752/0.3525, allocations: 272.2 kB / 0.561 GB, free: 476 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000361/0.3529, allocations: 80.78 kB / 0.5611 GB, free: 392 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003451/0.3532, allocations: 95.83 kB / 0.5612 GB, free: 296 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001899/0.3551, allocations: 1.623 MB / 0.5628 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002668/0.3554, allocations: 32 kB / 0.5628 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.424e-05/0.3554, allocations: 20 kB / 0.5628 GB, free: 14.49 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.0002787/0.3557, allocations: 217.6 kB / 0.563 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.773e-05/0.3558, allocations: 35.7 kB / 0.563 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005189/0.3563, allocations: 291.9 kB / 0.5633 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.3563, allocations: 0 / 0.5633 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.3563, allocations: 4 kB / 0.5633 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.3563, allocations: 4.141 kB / 0.5633 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001288/0.3576, allocations: 0.7605 MB / 0.5641 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.3576, allocations: 0 / 0.5641 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003071/0.3579, allocations: 59.89 kB / 0.5641 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.472e-06/0.3579, allocations: 4 kB / 0.5641 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.466e-05/0.3579, allocations: 7.984 kB / 0.5641 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.3579, allocations: 4.062 kB / 0.5641 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.3579, allocations: 7.875 kB / 0.5642 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006602/0.3586, allocations: 474.6 kB / 0.5646 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.501e-05/0.3587, allocations: 31.77 kB / 0.5646 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.129e-05/0.3587, allocations: 11.94 kB / 0.5646 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001814/0.3589, allocations: 15.98 kB / 0.5647 GB, free: 12.49 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.924e-05/0.3589, allocations: 11.97 kB / 0.5647 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/0.3589, allocations: 12 kB / 0.5647 GB, free: 12.46 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002527/0.3592, allocations: 231.2 kB / 0.5649 GB, free: 12.24 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3592, allocations: 0 / 0.5649 GB, free: 12.24 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004999/0.3597, allocations: 96 kB / 0.565 GB, free: 12.14 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.001003/0.3607, allocations: 1.015 MB / 0.566 GB, free: 11.1 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008137/0.3615, allocations: 436.7 kB / 0.5664 GB, free: 10.66 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.3615, allocations: 0 / 0.5664 GB, free: 10.66 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000176/0.3617, allocations: 107.8 kB / 0.5665 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.000511/0.3622, allocations: 75.8 kB / 0.5666 GB, free: 10.49 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005669/0.3679, allocations: 4.003 MB / 0.5705 GB, free: 6.195 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005802/0.3685, allocations: 0.8662 MB / 0.5713 GB, free: 5.301 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002839/0.3687, allocations: 111.2 kB / 0.5714 GB, free: 5.195 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002289/0.369, allocations: 151.4 kB / 0.5716 GB, free: 5.047 MB / 414.1 MB Notification: Performance of SimCode: time 5.42e-07/0.369, allocations: 4 kB / 0.5716 GB, free: 5.043 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04242/0.4114, allocations: 7.856 MB / 0.5793 GB, free: 13.31 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.68/12.09, allocations: 0 / 0.5793 GB, free: 13.31 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: 14.899717963067815]