Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.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.001081/0.001081, allocations: 76.17 kB / 9.933 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001954/0.003035, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.001088/0.001088, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001505/0.002593, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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 0.9371/0.9371, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0744/1.012, allocations: 53.65 MB / 243.3 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo): time 0.1258/0.1258, allocations: 29.44 MB / 273.4 MB, free: 1.492 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2024/0.3282, allocations: 9.53 MB / 283 MB, free: 12.85 MB / 282.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-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: translateModel(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="meter.i.[0-9,]+.|meter.p.[0-9,]+.|meter.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD") translateModel(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="meter.i.[0-9,]+.|meter.p.[0-9,]+.|meter.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 284.2 MB, free: 11.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.497e-05/1.644e-05, allocations: 3.438 kB / 284.2 MB, free: 11.93 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD): time 0.004143/0.004159, allocations: 4.382 MB / 288.6 MB, free: 8.457 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001988/0.006147, allocations: 1.579 MB / 290.2 MB, free: 7.238 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001913/0.006338, allocations: 16.19 kB / 290.2 MB, free: 7.23 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004883/0.006827, allocations: 294.5 kB / 290.5 MB, free: 7.008 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004228/0.007249, allocations: 289.2 kB / 290.8 MB, free: 6.773 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005355/0.007785, allocations: 265.5 kB / 291 MB, free: 6.586 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005714/0.008356, allocations: 0.6333 MB / 291.7 MB, free: 6.238 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002792/0.008635, allocations: 221.4 kB / 291.9 MB, free: 6.125 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006407/0.009276, allocations: 423.7 kB / 292.3 MB, free: 5.891 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000382/0.009658, allocations: 288 kB / 292.6 MB, free: 5.734 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.964e-05/0.009708, allocations: 36.78 kB / 292.6 MB, free: 5.73 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002953/0.01, allocations: 154.4 kB / 292.8 MB, free: 5.668 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001777/0.01018, allocations: 211.5 kB / 293 MB, free: 5.574 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001568/0.01034, allocations: 139.1 kB / 293.1 MB, free: 5.555 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004573/0.01079, allocations: 434 kB / 293.5 MB, free: 5.352 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.291e-05/0.01081, allocations: 0 / 293.5 MB, free: 5.352 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.001e-06/0.01081, allocations: 0 / 293.5 MB, free: 5.352 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.043e-05/0.01083, allocations: 1.188 kB / 293.5 MB, free: 5.352 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.0008794/0.01171, allocations: 0.7557 MB / 294.3 MB, free: 4.703 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.841e-05/0.01174, allocations: 16.03 kB / 294.3 MB, free: 4.688 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004843/0.01222, allocations: 213.8 kB / 294.5 MB, free: 4.461 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003475/0.01257, allocations: 328.2 kB / 294.8 MB, free: 4.113 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.969e-05/0.01259, allocations: 29.38 kB / 294.9 MB, free: 4.086 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.717e-05/0.01268, allocations: 48.73 kB / 294.9 MB, free: 4.039 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004644/0.01314, allocations: 446.7 kB / 295.4 MB, free: 3.539 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.032e-05/0.01316, allocations: 11.89 kB / 295.4 MB, free: 3.527 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.946e-05/0.01319, allocations: 19.98 kB / 295.4 MB, free: 3.508 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001006/0.01329, allocations: 44.97 kB / 295.4 MB, free: 3.465 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000219/0.01351, allocations: 178.6 kB / 295.6 MB, free: 3.285 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001611/0.01512, allocations: 2.588 MB / 298.2 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002044/0.01532, allocations: 136.6 kB / 298.3 MB, free: 408 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.18e-05/0.01538, allocations: 45.75 kB / 298.4 MB, free: 356 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.139e-05/0.0154, allocations: 8 kB / 298.4 MB, free: 348 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.216e-05/0.01542, allocations: 34.56 kB / 298.4 MB, free: 304 kB / 282.7 MB Notification: Performance of pre-optimization done (n=23): time 1.843e-06/0.01542, allocations: 4 kB / 298.4 MB, free: 300 kB / 282.7 MB Notification: Performance of matching and sorting (n=24): time 0.0006175/0.01604, allocations: 423.5 kB / 298.8 MB, free: 15.85 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.01607, allocations: 85.05 kB / 298.9 MB, free: 15.75 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001628/0.01624, allocations: 306.7 kB / 299.2 MB, free: 15.44 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.69e-05/0.01625, allocations: 29.7 kB / 299.2 MB, free: 15.4 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.95e-05/0.01635, allocations: 272.4 kB / 299.5 MB, free: 15.13 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.181e-05/0.01639, allocations: 91.2 kB / 299.6 MB, free: 15.04 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.566e-05/0.01647, allocations: 90.09 kB / 299.7 MB, free: 14.95 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.17e-05/0.01655, allocations: 350.9 kB / 300 MB, free: 14.59 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.419e-05/0.0166, allocations: 32.98 kB / 300.1 MB, free: 14.56 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000138/0.01673, allocations: 237.8 kB / 300.3 MB, free: 14.24 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002409/0.01698, allocations: 331.8 kB / 300.6 MB, free: 13.83 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.01698, allocations: 0 / 300.6 MB, free: 13.83 MB / 298.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004246/0.0174, allocations: 364.5 kB / 301 MB, free: 13.46 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.01742, allocations: 16.14 kB / 301 MB, free: 13.44 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001849/0.0176, allocations: 139.6 kB / 301.1 MB, free: 13.3 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000252/0.01785, allocations: 102 kB / 301.2 MB, free: 13.19 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001689/0.01802, allocations: 91.89 kB / 301.3 MB, free: 13.1 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001298/0.01932, allocations: 2.545 MB / 303.9 MB, free: 10.36 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001213/0.01944, allocations: 15.94 kB / 303.9 MB, free: 10.34 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.001e-05/0.01946, allocations: 28.05 kB / 303.9 MB, free: 10.31 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000107/0.01957, allocations: 140.5 kB / 304 MB, free: 10.16 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.431e-05/0.0196, allocations: 27.97 kB / 304.1 MB, free: 10.14 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001887/0.01979, allocations: 169.1 kB / 304.2 MB, free: 9.965 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.01979, allocations: 3.984 kB / 304.2 MB, free: 9.961 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.973e-06/0.0198, allocations: 4 kB / 304.2 MB, free: 9.957 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.768e-06/0.0198, allocations: 0 / 304.2 MB, free: 9.957 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003983/0.0202, allocations: 436 kB / 304.7 MB, free: 9.5 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.0202, allocations: 0 / 304.7 MB, free: 9.5 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002117/0.02041, allocations: 70.06 kB / 304.7 MB, free: 9.434 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.923e-05/0.02046, allocations: 39.8 kB / 304.8 MB, free: 9.395 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.02046, allocations: 4 kB / 304.8 MB, free: 9.391 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.399e-05/0.02048, allocations: 11.92 kB / 304.8 MB, free: 9.379 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.02048, allocations: 7.938 kB / 304.8 MB, free: 9.371 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.02048, allocations: 0 / 304.8 MB, free: 9.371 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002291/0.02071, allocations: 302 kB / 305.1 MB, free: 9.051 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.486e-05/0.02074, allocations: 8 kB / 305.1 MB, free: 9.043 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.358e-05/0.02081, allocations: 11.94 kB / 305.1 MB, free: 9.031 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.47e-05/0.02083, allocations: 19.91 kB / 305.1 MB, free: 9.012 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.327e-06/0.02084, allocations: 7.984 kB / 305.1 MB, free: 9.004 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.779e-05/0.02091, allocations: 104.6 kB / 305.2 MB, free: 8.898 MB / 298.7 MB Notification: Performance of sort global known variables: time 3e-08/0.02091, allocations: 0 / 305.2 MB, free: 8.898 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002676/0.02118, allocations: 100 kB / 305.3 MB, free: 8.801 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (indYD.i[1],indYD.i[2],indYD.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 (27): * Single equations (assignments): 26 * 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 8.509e-05/0.02126, allocations: 88.39 kB / 305.4 MB, free: 8.703 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004154/0.02168, allocations: 444.2 kB / 305.9 MB, free: 8.242 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.524e-05/0.02169, allocations: 4 kB / 305.9 MB, free: 8.238 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.355e-05/0.02177, allocations: 71.7 kB / 305.9 MB, free: 8.168 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000276/0.02204, allocations: 97.98 kB / 306 MB, free: 8.07 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005719/0.02776, allocations: 0.88 MB / 306.9 MB, free: 7.148 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.365e-05/0.02786, allocations: 149 kB / 307.1 MB, free: 6.984 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001192/0.02798, allocations: 55.28 kB / 307.1 MB, free: 6.93 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001305/0.02811, allocations: 111.3 kB / 307.2 MB, free: 6.82 MB / 298.7 MB Notification: Performance of SimCode: time 9.92e-07/0.02811, allocations: 0 / 307.2 MB, free: 6.82 MB / 298.7 MB Notification: Performance of Templates: time 0.006284/0.03439, allocations: 4.341 MB / 311.6 MB, free: 2.555 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8051269818097353]