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.001139/0.001139, allocations: 71.77 kB / 21.69 MB, free: 2.859 MB / 18.57 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.001072/0.001072, allocations: 165.9 kB / 24.99 MB, free: 8.336 MB / 18.57 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.047/1.047, allocations: 177.1 MB / 205.3 MB, free: 5.617 MB / 186.7 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.2616/0.2616, allocations: 29.42 MB / 291.2 MB, free: 2.504 MB / 266.7 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=741,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=741,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 2.254e-06/2.254e-06, allocations: 0 / 369.6 MB, free: 11.32 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.052e-05/3.277e-05, allocations: 2.312 kB / 369.6 MB, free: 11.32 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance): time 0.004791/0.004824, allocations: 4.479 MB / 374.1 MB, free: 6.812 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001452/0.006276, allocations: 0.9311 MB / 375 MB, free: 5.879 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002339/0.00651, allocations: 23.81 kB / 375 MB, free: 5.855 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002769/0.006787, allocations: 59.48 kB / 375.1 MB, free: 5.797 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007495/0.007536, allocations: 246.5 kB / 375.3 MB, free: 5.555 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003349/0.007871, allocations: 99.73 kB / 375.4 MB, free: 5.457 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005313/0.008402, allocations: 0.5099 MB / 376 MB, free: 4.945 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002486/0.008651, allocations: 88.28 kB / 376 MB, free: 4.859 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004104/0.009061, allocations: 311 kB / 376.3 MB, free: 4.555 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003609/0.009422, allocations: 263.3 kB / 376.6 MB, free: 4.297 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.789e-05/0.00946, allocations: 24 kB / 376.6 MB, free: 4.273 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.008e-05/0.0095, allocations: 24 kB / 376.6 MB, free: 4.25 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001332/0.009634, allocations: 163.6 kB / 376.8 MB, free: 4.09 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001219/0.009755, allocations: 119.8 kB / 376.9 MB, free: 3.973 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003042/0.01006, allocations: 267 kB / 377.2 MB, free: 3.711 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.01006, allocations: 4 kB / 377.2 MB, free: 3.707 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.01006, allocations: 0 / 377.2 MB, free: 3.707 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.01007, allocations: 0 / 377.2 MB, free: 3.707 MB / 346.7 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.0008757/0.01095, allocations: 0.6992 MB / 377.9 MB, free: 2.973 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.01099, allocations: 11.98 kB / 377.9 MB, free: 2.961 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.026e-05/0.01108, allocations: 56.7 kB / 378 MB, free: 2.906 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004074/0.01149, allocations: 322.3 kB / 378.3 MB, free: 2.57 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.485e-05/0.01151, allocations: 20.88 kB / 378.3 MB, free: 2.547 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.719e-05/0.01156, allocations: 28.38 kB / 378.3 MB, free: 2.52 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003363/0.0119, allocations: 279.7 kB / 378.6 MB, free: 2.207 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.01191, allocations: 4 kB / 378.6 MB, free: 2.203 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.17e-05/0.01193, allocations: 8 kB / 378.6 MB, free: 2.195 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.466e-05/0.01202, allocations: 28.47 kB / 378.6 MB, free: 2.168 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001685/0.01219, allocations: 106.8 kB / 378.7 MB, free: 2.062 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001101/0.01329, allocations: 1.487 MB / 380.2 MB, free: 0.5 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002535/0.01355, allocations: 134 kB / 380.4 MB, free: 352 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001229/0.01367, allocations: 55.66 kB / 380.4 MB, free: 288 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.01369, allocations: 8 kB / 380.4 MB, free: 280 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.062e-05/0.01372, allocations: 41.38 kB / 380.5 MB, free: 228 kB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 1.974e-06/0.01372, allocations: 0 / 380.5 MB, free: 228 kB / 346.7 MB Notification: Performance of matching and sorting (n=15): time 0.0008924/0.01461, allocations: 499.2 kB / 380.9 MB, free: 15.7 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.466e-05/0.01466, allocations: 81.05 kB / 381 MB, free: 15.6 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000215/0.01487, allocations: 334.2 kB / 381.4 MB, free: 15.25 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.498e-05/0.01489, allocations: 29.7 kB / 381.4 MB, free: 15.21 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/0.015, allocations: 266.8 kB / 381.6 MB, free: 14.95 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.676e-05/0.01504, allocations: 59.53 kB / 381.7 MB, free: 14.89 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.725e-05/0.01509, allocations: 55.36 kB / 381.8 MB, free: 14.83 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.01522, allocations: 0.5079 MB / 382.3 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.122e-05/0.01527, allocations: 36.03 kB / 382.3 MB, free: 14.27 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001063/0.01538, allocations: 167.2 kB / 382.5 MB, free: 14.05 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001863/0.01556, allocations: 223 kB / 382.7 MB, free: 13.77 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.01556, allocations: 0 / 382.7 MB, free: 13.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002763/0.01584, allocations: 229.2 kB / 382.9 MB, free: 13.53 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.01586, allocations: 19.95 kB / 382.9 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.01587, allocations: 4 kB / 382.9 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001709/0.01604, allocations: 31.66 kB / 383 MB, free: 13.47 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/0.01615, allocations: 55.91 kB / 383 MB, free: 13.42 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001125/0.01727, allocations: 1.779 MB / 384.8 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.702e-05/0.01736, allocations: 11.98 kB / 384.8 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.461e-05/0.01737, allocations: 12 kB / 384.8 MB, free: 11.49 MB / 362.7 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.000124/0.0175, allocations: 176.4 kB / 385 MB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.843e-05/0.01754, allocations: 35.81 kB / 385 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002665/0.01781, allocations: 166.2 kB / 385.2 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.01781, allocations: 4 kB / 385.2 MB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.01782, allocations: 64 / 385.2 MB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.01783, allocations: 4 kB / 385.2 MB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005761/0.0184, allocations: 0.5278 MB / 385.7 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.0184, allocations: 0 / 385.7 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.153e-05/0.01847, allocations: 23.94 kB / 385.7 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000158/0.01862, allocations: 47.56 kB / 385.8 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.131e-05/0.01864, allocations: 8 kB / 385.8 MB, free: 10.44 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009091/0.01955, allocations: 1.787 MB / 387.6 MB, free: 8.523 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.01956, allocations: 4 kB / 387.6 MB, free: 8.52 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003266/0.01988, allocations: 361.5 kB / 387.9 MB, free: 8.137 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.535e-05/0.01991, allocations: 23.81 kB / 388 MB, free: 8.113 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.166e-05/0.01993, allocations: 7.984 kB / 388 MB, free: 8.105 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.827e-05/0.02, allocations: 8.156 kB / 388 MB, free: 8.098 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.275e-05/0.02003, allocations: 19.91 kB / 388 MB, free: 8.078 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.728e-06/0.02004, allocations: 8 kB / 388 MB, free: 8.07 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001257/0.02017, allocations: 219 kB / 388.2 MB, free: 7.859 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02017, allocations: 0 / 388.2 MB, free: 7.859 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002725/0.02044, allocations: 64 kB / 388.3 MB, free: 7.797 MB / 362.7 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 0.0001216/0.02056, allocations: 103.2 kB / 388.4 MB, free: 7.688 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004466/0.02101, allocations: 298.3 kB / 388.7 MB, free: 7.375 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.02101, allocations: 0 / 388.7 MB, free: 7.375 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002403/0.02125, allocations: 249.3 kB / 388.9 MB, free: 7.109 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000398/0.02165, allocations: 68.61 kB / 389 MB, free: 7.047 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001266/0.02291, allocations: 0.656 MB / 389.6 MB, free: 6.359 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.356e-05/0.02299, allocations: 112.3 kB / 389.7 MB, free: 6.23 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001044/0.02309, allocations: 42.94 kB / 389.8 MB, free: 6.184 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.517e-05/0.02314, allocations: 20.5 kB / 389.8 MB, free: 6.164 MB / 362.7 MB Notification: Performance of SimCode: time 1.232e-06/0.02314, allocations: 0 / 389.8 MB, free: 6.164 MB / 362.7 MB Notification: Performance of Templates: time 0.005704/0.02884, allocations: 3.058 MB / 392.9 MB, free: 3.168 MB / 362.7 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=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2752516199834645]