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.001106/0.001106, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.001206/0.001206, allocations: 172.7 kB / 24.91 MB, free: 9.148 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.089/1.089, allocations: 177.1 MB / 205.3 MB, free: 5.465 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.2488/0.2488, allocations: 29.42 MB / 291.2 MB, free: 2.422 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.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.AC3ph.Elementary.Impedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|meter.i.[0-9,]+.|meter.p.[0-9,]+.|meter.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance") translateModel(PowerSystems.Examples.AC3ph.Elementary.Impedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|meter.i.[0-9,]+.|meter.p.[0-9,]+.|meter.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.22e-07/9.22e-07, allocations: 0 / 316.9 MB, free: 15.98 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.207e-05/1.3e-05, allocations: 2.312 kB / 316.9 MB, free: 15.98 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Impedance): time 0.004651/0.004664, allocations: 4.229 MB / 321.1 MB, free: 11.72 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001935/0.006599, allocations: 1.383 MB / 322.5 MB, free: 10.34 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001995/0.006799, allocations: 15.88 kB / 322.5 MB, free: 10.32 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000734/0.007533, allocations: 294.5 kB / 322.8 MB, free: 10.03 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004233/0.007956, allocations: 234.6 kB / 323 MB, free: 9.801 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004994/0.008455, allocations: 259.2 kB / 323.3 MB, free: 9.547 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005197/0.008975, allocations: 0.561 MB / 323.8 MB, free: 8.984 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003174/0.009293, allocations: 281.3 kB / 324.1 MB, free: 8.707 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004152/0.009708, allocations: 395 kB / 324.5 MB, free: 8.32 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002726/0.00998, allocations: 255.3 kB / 324.7 MB, free: 8.07 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.739e-05/0.01002, allocations: 32 kB / 324.8 MB, free: 8.039 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002095/0.01023, allocations: 155.7 kB / 324.9 MB, free: 7.887 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001793/0.01041, allocations: 239.4 kB / 325.1 MB, free: 7.652 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001344/0.01054, allocations: 163.7 kB / 325.3 MB, free: 7.492 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004182/0.01096, allocations: 478.3 kB / 325.8 MB, free: 7.023 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.583e-06/0.01096, allocations: 0 / 325.8 MB, free: 7.023 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.01096, allocations: 0 / 325.8 MB, free: 7.023 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.451e-06/0.01097, allocations: 4 kB / 325.8 MB, free: 7.02 MB / 298.7 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.0007223/0.01169, allocations: 0.6453 MB / 326.4 MB, free: 6.348 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.01172, allocations: 11.98 kB / 326.4 MB, free: 6.336 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004295/0.01215, allocations: 132.8 kB / 326.6 MB, free: 6.207 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003434/0.0125, allocations: 332.1 kB / 326.9 MB, free: 5.859 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002226/0.01272, allocations: 37.34 kB / 326.9 MB, free: 5.824 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.765e-05/0.01282, allocations: 60.67 kB / 327 MB, free: 5.766 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004092/0.01323, allocations: 451.4 kB / 327.4 MB, free: 5.254 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.01324, allocations: 0 / 327.4 MB, free: 5.254 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.817e-05/0.01327, allocations: 16 kB / 327.4 MB, free: 5.238 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.174e-05/0.01333, allocations: 32.98 kB / 327.5 MB, free: 5.207 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002097/0.01354, allocations: 174.6 kB / 327.6 MB, free: 5.039 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001677/0.01522, allocations: 2.489 MB / 330.1 MB, free: 2.422 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000129/0.01535, allocations: 97.12 kB / 330.2 MB, free: 2.309 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.162e-05/0.0154, allocations: 45.75 kB / 330.3 MB, free: 2.258 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.155e-05/0.01542, allocations: 4 kB / 330.3 MB, free: 2.254 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.764e-05/0.01545, allocations: 42.48 kB / 330.3 MB, free: 2.203 MB / 298.7 MB Notification: Performance of pre-optimization done (n=20): time 2.014e-06/0.01545, allocations: 0 / 330.3 MB, free: 2.203 MB / 298.7 MB Notification: Performance of matching and sorting (n=21): time 0.0005865/0.01604, allocations: 395.8 kB / 330.7 MB, free: 1.785 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.126e-05/0.01608, allocations: 89.03 kB / 330.8 MB, free: 1.68 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001781/0.01626, allocations: 315.1 kB / 331.1 MB, free: 1.359 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/0.01627, allocations: 29.7 kB / 331.1 MB, free: 1.324 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001185/0.01639, allocations: 288.3 kB / 331.4 MB, free: 1.031 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.359e-05/0.01644, allocations: 83.3 kB / 331.5 MB, free: 0.9492 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.322e-05/0.01651, allocations: 78.11 kB / 331.6 MB, free: 0.8672 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.265e-05/0.0166, allocations: 346.7 kB / 331.9 MB, free: 0.5195 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.622e-05/0.01665, allocations: 36.98 kB / 331.9 MB, free: 492 kB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001334/0.01678, allocations: 239.5 kB / 332.2 MB, free: 156 kB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002458/0.01703, allocations: 343.7 kB / 332.5 MB, free: 15.72 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.01703, allocations: 0 / 332.5 MB, free: 15.72 MB / 314.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0003945/0.01742, allocations: 329.3 kB / 332.8 MB, free: 15.39 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.01744, allocations: 11.94 kB / 332.8 MB, free: 15.38 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001541/0.01759, allocations: 114.1 kB / 332.9 MB, free: 15.27 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002215/0.01782, allocations: 78.44 kB / 333 MB, free: 15.18 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003719/0.01819, allocations: 95.83 kB / 333.1 MB, free: 15.09 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001227/0.01941, allocations: 1.296 MB / 334.4 MB, free: 13.7 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002774/0.01969, allocations: 12 kB / 334.4 MB, free: 13.68 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.283e-05/0.01971, allocations: 19.98 kB / 334.4 MB, free: 13.66 MB / 314.7 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.000182/0.0199, allocations: 148.4 kB / 334.6 MB, free: 13.51 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.093e-05/0.01995, allocations: 27.97 kB / 334.6 MB, free: 13.48 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002641/0.02021, allocations: 152.8 kB / 334.8 MB, free: 13.33 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.688e-06/0.02022, allocations: 4 kB / 334.8 MB, free: 13.32 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.02022, allocations: 7.969 kB / 334.8 MB, free: 13.32 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.02023, allocations: 3.984 kB / 334.8 MB, free: 13.31 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006233/0.02085, allocations: 420.2 kB / 335.2 MB, free: 12.87 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.02085, allocations: 0 / 335.2 MB, free: 12.87 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001603/0.02101, allocations: 55.97 kB / 335.2 MB, free: 12.82 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/0.02102, allocations: 0 / 335.2 MB, free: 12.82 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.857e-05/0.02104, allocations: 11.94 kB / 335.3 MB, free: 12.8 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.02104, allocations: 64 / 335.3 MB, free: 12.8 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/0.02104, allocations: 11.98 kB / 335.3 MB, free: 12.79 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002644/0.02131, allocations: 294.5 kB / 335.6 MB, free: 12.48 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.886e-05/0.02135, allocations: 27.75 kB / 335.6 MB, free: 12.46 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.083e-05/0.02138, allocations: 8 kB / 335.6 MB, free: 12.45 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.139e-05/0.02146, allocations: 12.17 kB / 335.6 MB, free: 12.44 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.541e-05/0.02149, allocations: 15.86 kB / 335.6 MB, free: 12.42 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.327e-05/0.0215, allocations: 15.97 kB / 335.6 MB, free: 12.41 MB / 314.7 MB Notification: Performance of sorting global known variables: time 8.394e-05/0.02158, allocations: 108.7 kB / 335.7 MB, free: 12.3 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02158, allocations: 0 / 335.7 MB, free: 12.3 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002966/0.02188, allocations: 100 kB / 335.8 MB, free: 12.2 MB / 314.7 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.0001507/0.02203, allocations: 76.42 kB / 335.9 MB, free: 12.11 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004874/0.02252, allocations: 317.6 kB / 336.2 MB, free: 11.79 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.427e-05/0.02253, allocations: 12.06 kB / 336.2 MB, free: 11.78 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 8.022e-05/0.02261, allocations: 60.77 kB / 336.3 MB, free: 11.71 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003054/0.02292, allocations: 79.88 kB / 336.4 MB, free: 11.64 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001363/0.02428, allocations: 0.8017 MB / 337.2 MB, free: 10.8 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001044/0.02438, allocations: 145.2 kB / 337.3 MB, free: 10.63 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001144/0.0245, allocations: 47.25 kB / 337.4 MB, free: 10.59 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001336/0.02463, allocations: 103.4 kB / 337.5 MB, free: 10.49 MB / 314.7 MB Notification: Performance of SimCode: time 1.483e-06/0.02463, allocations: 0 / 337.5 MB, free: 10.49 MB / 314.7 MB Notification: Performance of Templates: time 0.006467/0.0311, allocations: 3.837 MB / 341.3 MB, free: 6.707 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.makefile [Timeout 660] (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 & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.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.1261064340360463]