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.001034/0.001034, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001312/0.001312, allocations: 171.8 kB / 24.91 MB, free: 8.773 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.036/1.036, allocations: 177.1 MB / 205.3 MB, free: 5.039 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.258/0.258, allocations: 29.41 MB / 291.2 MB, free: 2.352 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 2.485e-06/2.485e-06, allocations: 4 kB / 316.9 MB, free: 15.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.315e-05/2.564e-05, allocations: 2.312 kB / 316.9 MB, free: 15.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Impedance): time 0.004391/0.004416, allocations: 4.273 MB / 321.2 MB, free: 11.61 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001878/0.006294, allocations: 1.383 MB / 322.5 MB, free: 10.22 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001556/0.00645, allocations: 23.81 kB / 322.6 MB, free: 10.2 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007465/0.007196, allocations: 282.6 kB / 322.8 MB, free: 9.918 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004862/0.007682, allocations: 230.5 kB / 323.1 MB, free: 9.691 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005381/0.008221, allocations: 267.1 kB / 323.3 MB, free: 9.43 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006283/0.008849, allocations: 0.5649 MB / 323.9 MB, free: 8.863 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003782/0.009227, allocations: 269.3 kB / 324.2 MB, free: 8.598 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005771/0.009804, allocations: 391 kB / 324.5 MB, free: 8.215 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003175/0.01012, allocations: 259.2 kB / 324.8 MB, free: 7.961 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.925e-05/0.01018, allocations: 32 kB / 324.8 MB, free: 7.93 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003123/0.01049, allocations: 163.7 kB / 325 MB, free: 7.77 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002207/0.01071, allocations: 239.4 kB / 325.2 MB, free: 7.535 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001924/0.01091, allocations: 167.6 kB / 325.4 MB, free: 7.371 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005264/0.01143, allocations: 462.4 kB / 325.8 MB, free: 6.918 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.01144, allocations: 0 / 325.8 MB, free: 6.918 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.01144, allocations: 0 / 325.8 MB, free: 6.918 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.177e-06/0.01145, allocations: 4 kB / 325.8 MB, free: 6.914 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.0008897/0.01234, allocations: 0.657 MB / 326.5 MB, free: 6.23 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.01237, allocations: 15.98 kB / 326.5 MB, free: 6.215 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006679/0.01304, allocations: 136.8 kB / 326.6 MB, free: 6.082 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004675/0.01351, allocations: 320.2 kB / 327 MB, free: 5.746 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.21e-05/0.01354, allocations: 37.38 kB / 327 MB, free: 5.711 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001289/0.01367, allocations: 48.73 kB / 327 MB, free: 5.664 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005334/0.0142, allocations: 455.4 kB / 327.5 MB, free: 5.148 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.096e-05/0.01422, allocations: 3.938 kB / 327.5 MB, free: 5.145 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.401e-05/0.01427, allocations: 16 kB / 327.5 MB, free: 5.129 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.339e-05/0.01436, allocations: 28.98 kB / 327.5 MB, free: 5.102 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003383/0.0147, allocations: 178.6 kB / 327.7 MB, free: 4.93 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002325/0.01702, allocations: 2.478 MB / 330.2 MB, free: 2.324 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001697/0.01719, allocations: 109 kB / 330.3 MB, free: 2.199 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.508e-05/0.01727, allocations: 45.7 kB / 330.3 MB, free: 2.148 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.385e-05/0.01729, allocations: 8 kB / 330.3 MB, free: 2.141 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.672e-05/0.01732, allocations: 30.56 kB / 330.4 MB, free: 2.102 MB / 298.7 MB Notification: Performance of pre-optimization done (n=20): time 1.964e-06/0.01732, allocations: 4 kB / 330.4 MB, free: 2.098 MB / 298.7 MB Notification: Performance of matching and sorting (n=21): time 0.0007978/0.01812, allocations: 404.1 kB / 330.8 MB, free: 1.672 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.006e-05/0.01816, allocations: 81.11 kB / 330.9 MB, free: 1.574 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002492/0.01841, allocations: 319.1 kB / 331.2 MB, free: 1.25 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.188e-05/0.01843, allocations: 29.7 kB / 331.2 MB, free: 1.215 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001505/0.01858, allocations: 284.3 kB / 331.5 MB, free: 0.9297 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.388e-05/0.01864, allocations: 83.3 kB / 331.6 MB, free: 0.8438 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001052/0.01875, allocations: 82.09 kB / 331.6 MB, free: 0.7578 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001178/0.01887, allocations: 350.9 kB / 332 MB, free: 416 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.588e-05/0.01894, allocations: 36.98 kB / 332 MB, free: 376 kB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001793/0.01912, allocations: 239.5 kB / 332.2 MB, free: 40 kB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003647/0.01949, allocations: 343.6 kB / 332.6 MB, free: 15.61 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.01949, allocations: 0 / 332.6 MB, free: 15.61 MB / 314.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0004508/0.01994, allocations: 333.7 kB / 332.9 MB, free: 15.27 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.01996, allocations: 14.12 kB / 332.9 MB, free: 15.26 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001559/0.02011, allocations: 109.6 kB / 333 MB, free: 15.15 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003043/0.02042, allocations: 74.44 kB / 333.1 MB, free: 15.07 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000307/0.02072, allocations: 104.5 kB / 333.2 MB, free: 14.98 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001023/0.02175, allocations: 1.308 MB / 334.5 MB, free: 13.57 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000201/0.02195, allocations: 16 kB / 334.5 MB, free: 13.56 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.22e-05/0.02198, allocations: 19.98 kB / 334.5 MB, free: 13.54 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.0001382/0.02212, allocations: 140.5 kB / 334.7 MB, free: 13.39 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.655e-05/0.02217, allocations: 28.02 kB / 334.7 MB, free: 13.36 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002648/0.02244, allocations: 156.8 kB / 334.9 MB, free: 13.21 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.02244, allocations: 7.938 kB / 334.9 MB, free: 13.2 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-06/0.02244, allocations: 0 / 334.9 MB, free: 13.2 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.02245, allocations: 0 / 334.9 MB, free: 13.2 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006773/0.02313, allocations: 431.2 kB / 335.3 MB, free: 12.75 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.02313, allocations: 0 / 335.3 MB, free: 12.75 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002802/0.02341, allocations: 67.94 kB / 335.4 MB, free: 12.68 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.02341, allocations: 4 kB / 335.4 MB, free: 12.68 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.034e-05/0.02343, allocations: 8 kB / 335.4 MB, free: 12.67 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.02344, allocations: 3.984 kB / 335.4 MB, free: 12.67 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.02344, allocations: 3.938 kB / 335.4 MB, free: 12.66 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000323/0.02376, allocations: 299.8 kB / 335.7 MB, free: 12.35 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.194e-05/0.0238, allocations: 31.73 kB / 335.7 MB, free: 12.32 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.83e-05/0.02384, allocations: 8 kB / 335.7 MB, free: 12.31 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000131/0.02397, allocations: 3.938 kB / 335.7 MB, free: 12.3 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.926e-05/0.02401, allocations: 23.97 kB / 335.7 MB, free: 12.28 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.558e-05/0.02403, allocations: 4 kB / 335.7 MB, free: 12.28 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001293/0.02416, allocations: 116.7 kB / 335.9 MB, free: 12.16 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.02416, allocations: 0 / 335.9 MB, free: 12.16 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002545/0.02441, allocations: 92 kB / 335.9 MB, free: 12.07 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 8.306e-05/0.02449, allocations: 89.11 kB / 336 MB, free: 11.97 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004389/0.02493, allocations: 308.4 kB / 336.3 MB, free: 11.66 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.232e-05/0.02495, allocations: 8 kB / 336.3 MB, free: 11.65 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 9.957e-05/0.02505, allocations: 70.06 kB / 336.4 MB, free: 11.58 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003869/0.02543, allocations: 80.45 kB / 336.5 MB, free: 11.5 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001255/0.02669, allocations: 0.8034 MB / 337.3 MB, free: 10.66 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.201e-05/0.02678, allocations: 145.2 kB / 337.4 MB, free: 10.49 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001048/0.02688, allocations: 43.27 kB / 337.5 MB, free: 10.45 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001356/0.02702, allocations: 111.3 kB / 337.6 MB, free: 10.34 MB / 314.7 MB Notification: Performance of SimCode: time 5.31e-07/0.02702, allocations: 0 / 337.6 MB, free: 10.34 MB / 314.7 MB Notification: Performance of Templates: time 0.005933/0.03295, allocations: 3.955 MB / 341.5 MB, free: 6.453 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 -s gbode -gbm=radauIIA3 -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.1131219402886927]