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.001603/0.001603, allocations: 84.23 kB / 20.68 MB, free: 1.023 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.001738/0.001738, allocations: 163.9 kB / 23.95 MB, free: 4.156 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.392/1.392, allocations: 177.1 MB / 204.3 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 179] 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.1715/0.1715, allocations: 29.44 MB / 290.1 MB, free: 3.277 MB / 270.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: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=740,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=740,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 430.7 MB, free: 1.938 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.79e-05/2.934e-05, allocations: 5.656 kB / 430.7 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance): time 0.00668/0.006709, allocations: 4.249 MB / 435 MB, free: 13.65 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00196/0.008669, allocations: 0.9155 MB / 435.9 MB, free: 12.73 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002459/0.008915, allocations: 15.88 kB / 435.9 MB, free: 12.72 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002341/0.009149, allocations: 63.42 kB / 436 MB, free: 12.66 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007375/0.009887, allocations: 242.6 kB / 436.2 MB, free: 12.42 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002955/0.01018, allocations: 99.73 kB / 436.3 MB, free: 12.32 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007119/0.01089, allocations: 0.5099 MB / 436.8 MB, free: 11.81 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002314/0.01113, allocations: 96.28 kB / 436.9 MB, free: 11.71 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004668/0.01159, allocations: 291.1 kB / 437.2 MB, free: 11.43 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004275/0.01202, allocations: 259.3 kB / 437.4 MB, free: 11.18 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.265e-05/0.01207, allocations: 20 kB / 437.5 MB, free: 11.16 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.323e-05/0.01214, allocations: 24 kB / 437.5 MB, free: 11.13 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000179/0.01231, allocations: 167.5 kB / 437.6 MB, free: 10.97 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001623/0.01248, allocations: 115.8 kB / 437.8 MB, free: 10.86 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004617/0.01294, allocations: 370.7 kB / 438.1 MB, free: 10.49 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.01294, allocations: 0 / 438.1 MB, free: 10.49 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.01294, allocations: 0 / 438.1 MB, free: 10.49 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.01295, allocations: 4 kB / 438.1 MB, free: 10.49 MB / 366.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.001222/0.01417, allocations: 0.5832 MB / 438.7 MB, free: 9.879 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.01422, allocations: 11.98 kB / 438.7 MB, free: 9.867 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.973e-05/0.01431, allocations: 48.66 kB / 438.8 MB, free: 9.82 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006324/0.01494, allocations: 315.6 kB / 439.1 MB, free: 9.484 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.939e-05/0.01497, allocations: 28.81 kB / 439.1 MB, free: 9.457 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.381e-05/0.01503, allocations: 28.36 kB / 439.1 MB, free: 9.43 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006201/0.01565, allocations: 357 kB / 439.5 MB, free: 9.055 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.035e-05/0.01567, allocations: 3.938 kB / 439.5 MB, free: 9.051 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.477e-05/0.01571, allocations: 12 kB / 439.5 MB, free: 9.039 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00012/0.01583, allocations: 24.47 kB / 439.5 MB, free: 9.012 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004117/0.01624, allocations: 229.8 kB / 439.7 MB, free: 8.789 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001878/0.01812, allocations: 1.239 MB / 441 MB, free: 7.488 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003733/0.01849, allocations: 157.1 kB / 441.1 MB, free: 7.316 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001938/0.01868, allocations: 93.72 kB / 441.2 MB, free: 7.219 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.887e-05/0.0187, allocations: 0 / 441.2 MB, free: 7.219 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.343e-05/0.01874, allocations: 42.5 kB / 441.3 MB, free: 7.168 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.133e-06/0.01874, allocations: 0 / 441.3 MB, free: 7.168 MB / 366.1 MB Notification: Performance of matching and sorting (n=15): time 0.001364/0.0201, allocations: 0.6103 MB / 441.9 MB, free: 6.52 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.01e-05/0.02016, allocations: 85.05 kB / 442 MB, free: 6.418 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003251/0.02049, allocations: 308.4 kB / 442.3 MB, free: 6.102 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.773e-05/0.02053, allocations: 33.7 kB / 442.3 MB, free: 6.062 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001641/0.0207, allocations: 224 kB / 442.5 MB, free: 5.84 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.435e-05/0.02075, allocations: 55.53 kB / 442.6 MB, free: 5.785 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.123e-05/0.02083, allocations: 45.7 kB / 442.6 MB, free: 5.734 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001688/0.021, allocations: 338.8 kB / 442.9 MB, free: 5.395 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001207/0.02112, allocations: 63.95 kB / 443 MB, free: 5.332 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002035/0.02133, allocations: 173.5 kB / 443.2 MB, free: 5.117 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003414/0.02167, allocations: 252.7 kB / 443.4 MB, free: 4.824 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.02167, allocations: 3.984 kB / 443.4 MB, free: 4.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005294/0.0222, allocations: 317.2 kB / 443.7 MB, free: 4.504 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.02222, allocations: 16.03 kB / 443.7 MB, free: 4.488 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.02223, allocations: 7.984 kB / 443.8 MB, free: 4.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002039/0.02243, allocations: 48.83 kB / 443.8 MB, free: 4.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001848/0.02262, allocations: 47.91 kB / 443.9 MB, free: 4.383 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001532/0.02415, allocations: 1.479 MB / 445.3 MB, free: 2.801 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001516/0.0243, allocations: 15.98 kB / 445.3 MB, free: 2.785 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.114e-05/0.02432, allocations: 12 kB / 445.4 MB, free: 2.773 MB / 366.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.0001878/0.02451, allocations: 169.7 kB / 445.5 MB, free: 2.598 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.236e-05/0.02456, allocations: 23.86 kB / 445.5 MB, free: 2.574 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004471/0.02501, allocations: 240.2 kB / 445.8 MB, free: 2.324 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.02501, allocations: 4 kB / 445.8 MB, free: 2.32 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.02502, allocations: 7.984 kB / 445.8 MB, free: 2.312 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.02502, allocations: 0 / 445.8 MB, free: 2.312 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008956/0.02592, allocations: 0.5465 MB / 446.3 MB, free: 1.723 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.02592, allocations: 0 / 446.3 MB, free: 1.723 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001123/0.02603, allocations: 23.98 kB / 446.4 MB, free: 1.699 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002/0.02623, allocations: 72.59 kB / 446.4 MB, free: 1.625 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.917e-05/0.02625, allocations: 4 kB / 446.4 MB, free: 1.621 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001402/0.02766, allocations: 1.475 MB / 447.9 MB, free: 48 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.02766, allocations: 4.031 kB / 447.9 MB, free: 44 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1619/0.1895, allocations: 392.7 kB / 448.3 MB, free: 29.67 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.093e-05/0.1896, allocations: 26.69 kB / 448.3 MB, free: 29.67 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.907e-05/0.1896, allocations: 4.891 kB / 448.3 MB, free: 29.67 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001574/0.1898, allocations: 7.484 kB / 448.3 MB, free: 29.67 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.436e-05/0.1898, allocations: 18.14 kB / 448.4 MB, free: 29.67 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.728e-05/0.1899, allocations: 9.766 kB / 448.4 MB, free: 29.67 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001941/0.1901, allocations: 205.7 kB / 448.6 MB, free: 29.59 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1901, allocations: 4.438 kB / 448.6 MB, free: 29.59 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004422/0.1905, allocations: 69.66 kB / 448.6 MB, free: 29.59 MB / 366.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 9.732e-05/0.1906, allocations: 100.7 kB / 448.7 MB, free: 29.5 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005043/0.1911, allocations: 303.8 kB / 449 MB, free: 29.39 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1911, allocations: 0 / 449 MB, free: 29.39 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003057/0.1914, allocations: 205.8 kB / 449.2 MB, free: 29.29 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004895/0.1919, allocations: 60.78 kB / 449.3 MB, free: 29.29 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009568/0.1929, allocations: 0.6589 MB / 450 MB, free: 29 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001989/0.1931, allocations: 202.4 kB / 450.2 MB, free: 28.91 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001217/0.1932, allocations: 45.47 kB / 450.2 MB, free: 28.91 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.317e-05/0.1932, allocations: 28.61 kB / 450.2 MB, free: 28.9 MB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1932, allocations: 0.7656 kB / 450.2 MB, free: 28.9 MB / 366.1 MB Notification: Performance of Templates: time 0.006893/0.2001, allocations: 3.035 MB / 453.3 MB, free: 28.6 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.makefile [Timeout 660] (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 & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.mat","/var/lib/jenkins/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: 4.558118753135204]