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.001075/0.001075, allocations: 79.75 kB / 21.18 MB, free: 3.379 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.001218/0.001218, allocations: 161 kB / 24.56 MB, free: 12 kB / 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.033/1.033, allocations: 177.1 MB / 205 MB, free: 5.594 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.252/0.252, allocations: 29.42 MB / 290.9 MB, free: 2.492 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.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.054e-06/2.054e-06, allocations: 0 / 369.7 MB, free: 10.98 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.695e-05/2.9e-05, allocations: 5.547 kB / 369.7 MB, free: 10.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance): time 0.004509/0.004538, allocations: 4.006 MB / 373.7 MB, free: 6.938 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001708/0.006246, allocations: 0.9311 MB / 374.6 MB, free: 6.004 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002533/0.0065, allocations: 15.88 kB / 374.6 MB, free: 5.988 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002461/0.006746, allocations: 59.48 kB / 374.7 MB, free: 5.93 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006811/0.007427, allocations: 246.6 kB / 374.9 MB, free: 5.688 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002922/0.007719, allocations: 95.75 kB / 375 MB, free: 5.594 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008727/0.008592, allocations: 0.5099 MB / 375.5 MB, free: 5.082 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002282/0.00882, allocations: 96.22 kB / 375.6 MB, free: 4.988 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005897/0.00941, allocations: 339.1 kB / 375.9 MB, free: 4.656 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00037/0.00978, allocations: 235.4 kB / 376.2 MB, free: 4.426 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.361e-05/0.009823, allocations: 20 kB / 376.2 MB, free: 4.406 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.749e-05/0.009881, allocations: 24 kB / 376.2 MB, free: 4.383 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001545/0.01004, allocations: 159.6 kB / 376.4 MB, free: 4.227 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001238/0.01016, allocations: 119.7 kB / 376.5 MB, free: 4.109 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003627/0.01052, allocations: 263 kB / 376.7 MB, free: 3.852 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.01053, allocations: 4 kB / 376.7 MB, free: 3.848 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.01053, allocations: 0 / 376.7 MB, free: 3.848 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.498e-06/0.01054, allocations: 0 / 376.7 MB, free: 3.848 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.000892/0.01143, allocations: 0.6836 MB / 377.4 MB, free: 3.129 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.01147, allocations: 11.98 kB / 377.4 MB, free: 3.117 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.059e-05/0.01156, allocations: 60.7 kB / 377.5 MB, free: 3.059 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000356/0.01191, allocations: 305.9 kB / 377.8 MB, free: 2.738 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.476e-05/0.01194, allocations: 20.88 kB / 377.8 MB, free: 2.719 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.267e-05/0.01198, allocations: 28.38 kB / 377.8 MB, free: 2.691 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003201/0.0123, allocations: 283.7 kB / 378.1 MB, free: 2.371 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.01231, allocations: 0 / 378.1 MB, free: 2.371 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.268e-05/0.01234, allocations: 12 kB / 378.1 MB, free: 2.359 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.024e-05/0.01243, allocations: 24.47 kB / 378.2 MB, free: 2.336 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001643/0.01259, allocations: 106.8 kB / 378.3 MB, free: 2.23 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001166/0.01376, allocations: 1.499 MB / 379.8 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002621/0.01402, allocations: 130.1 kB / 379.9 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001128/0.01413, allocations: 63.34 kB / 380 MB, free: 444 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.587e-05/0.01415, allocations: 0 / 380 MB, free: 444 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.977e-05/0.01418, allocations: 41.38 kB / 380 MB, free: 392 kB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 1.332e-06/0.01418, allocations: 0 / 380 MB, free: 392 kB / 346.7 MB Notification: Performance of matching and sorting (n=15): time 0.0008894/0.01507, allocations: 492.4 kB / 380.5 MB, free: 15.86 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.998e-05/0.01511, allocations: 84.86 kB / 380.6 MB, free: 15.76 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002075/0.01532, allocations: 334.3 kB / 380.9 MB, free: 15.41 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/0.01533, allocations: 25.7 kB / 380.9 MB, free: 15.38 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001176/0.01545, allocations: 270.7 kB / 381.2 MB, free: 15.11 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.473e-05/0.01548, allocations: 59.52 kB / 381.2 MB, free: 15.05 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.817e-05/0.01554, allocations: 59.31 kB / 381.3 MB, free: 14.99 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.01567, allocations: 0.5118 MB / 381.8 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.716e-05/0.01572, allocations: 24.09 kB / 381.8 MB, free: 14.44 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001076/0.01582, allocations: 175.2 kB / 382 MB, free: 14.21 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001849/0.01601, allocations: 219 kB / 382.2 MB, free: 13.93 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.01601, allocations: 0 / 382.2 MB, free: 13.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005503/0.01656, allocations: 236.4 kB / 382.4 MB, free: 13.69 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.01658, allocations: 15.92 kB / 382.5 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.417e-06/0.01659, allocations: 4 kB / 382.5 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001713/0.01676, allocations: 35.61 kB / 382.5 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/0.01687, allocations: 47.91 kB / 382.5 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009442/0.01781, allocations: 1.783 MB / 384.3 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.407e-05/0.0179, allocations: 15.98 kB / 384.3 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.366e-05/0.01791, allocations: 12 kB / 384.3 MB, free: 11.65 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.0001037/0.01801, allocations: 180.4 kB / 384.5 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.365e-05/0.01805, allocations: 27.81 kB / 384.6 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002193/0.01827, allocations: 163.1 kB / 384.7 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.562e-06/0.01827, allocations: 0 / 384.7 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.01827, allocations: 8.062 kB / 384.7 MB, free: 11.26 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.084e-06/0.01828, allocations: 7.922 kB / 384.7 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004804/0.01876, allocations: 0.5203 MB / 385.2 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.01876, allocations: 0 / 385.2 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.694e-05/0.01882, allocations: 20 kB / 385.3 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001219/0.01894, allocations: 47.52 kB / 385.3 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.68e-05/0.01896, allocations: 8 kB / 385.3 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007826/0.01974, allocations: 1.783 MB / 387.1 MB, free: 8.695 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.01974, allocations: 0 / 387.1 MB, free: 8.695 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003248/0.02007, allocations: 361.8 kB / 387.5 MB, free: 8.312 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.059e-05/0.0201, allocations: 23.81 kB / 387.5 MB, free: 8.289 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.525e-05/0.02012, allocations: 11.98 kB / 387.5 MB, free: 8.277 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.979e-05/0.02018, allocations: 160 / 387.5 MB, free: 8.277 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.231e-05/0.02023, allocations: 31.84 kB / 387.5 MB, free: 8.246 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.134e-05/0.02024, allocations: 4 kB / 387.5 MB, free: 8.242 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001341/0.02037, allocations: 215 kB / 387.7 MB, free: 8.035 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02037, allocations: 0 / 387.7 MB, free: 8.035 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002704/0.02064, allocations: 72 kB / 387.8 MB, free: 7.965 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.0001332/0.02077, allocations: 95.19 kB / 387.9 MB, free: 7.863 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004705/0.02125, allocations: 310.1 kB / 388.2 MB, free: 7.539 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.02125, allocations: 7.938 kB / 388.2 MB, free: 7.531 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002104/0.02146, allocations: 240.1 kB / 388.4 MB, free: 7.277 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003573/0.02182, allocations: 68.14 kB / 388.5 MB, free: 7.215 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00121/0.02303, allocations: 0.6454 MB / 389.2 MB, free: 6.535 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.706e-05/0.0231, allocations: 120.3 kB / 389.3 MB, free: 6.398 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.653e-05/0.0232, allocations: 38.95 kB / 389.3 MB, free: 6.355 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003499/0.02355, allocations: 28.48 kB / 389.3 MB, free: 6.328 MB / 362.7 MB Notification: Performance of SimCode: time 1.313e-06/0.02355, allocations: 0 / 389.3 MB, free: 6.328 MB / 362.7 MB Notification: Performance of Templates: time 0.005803/0.02935, allocations: 3.184 MB / 392.5 MB, free: 3.203 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.143795717973262]