Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001214/0.001214, allocations: 113 kB / 19.04 MB, free: 3.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001445/0.001445, allocations: 197.9 kB / 22.22 MB, free: 72 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 225.6 MB / 250.8 MB, free: 13.34 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1768/0.1768, allocations: 38.52 MB / 344.5 MB, free: 2.562 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=740,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=740,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001897/0.001897, allocations: 71.89 kB / 482.1 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4027/0.4046, allocations: 61.24 MB / 0.5306 GB, free: 5.496 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm): time 0.006403/0.411, allocations: 4.176 MB / 0.5347 GB, free: 2.586 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001607/0.4127, allocations: 0.9281 MB / 0.5356 GB, free: 1.93 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001869/0.4128, allocations: 11.66 kB / 0.5356 GB, free: 1.926 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002357/0.4131, allocations: 44.19 kB / 0.5356 GB, free: 1.902 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005551/0.4136, allocations: 185.5 kB / 0.5358 GB, free: 1.789 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000242/0.4139, allocations: 88.36 kB / 0.5359 GB, free: 1.734 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004454/0.4143, allocations: 411.6 kB / 0.5363 GB, free: 1.5 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002015/0.4145, allocations: 72.34 kB / 0.5363 GB, free: 1.461 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002688/0.4148, allocations: 179.5 kB / 0.5365 GB, free: 1.359 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003265/0.4151, allocations: 190 kB / 0.5367 GB, free: 1.25 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.523e-05/0.4152, allocations: 24.16 kB / 0.5367 GB, free: 1.246 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.117e-05/0.4152, allocations: 19.25 kB / 0.5367 GB, free: 1.246 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001026/0.4153, allocations: 96.41 kB / 0.5368 GB, free: 1.18 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001484/0.4155, allocations: 139.2 kB / 0.537 GB, free: 1.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003532/0.4158, allocations: 289.2 kB / 0.5372 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.4158, allocations: 4 kB / 0.5372 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.4158, allocations: 0 / 0.5372 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.435e-05/0.4158, allocations: 1.469 kB / 0.5372 GB, free: 0.8945 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001001/0.4168, allocations: 0.5943 MB / 0.5378 GB, free: 364 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.4169, allocations: 9.625 kB / 0.5378 GB, free: 364 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.212e-05/0.417, allocations: 35.83 kB / 0.5379 GB, free: 344 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004545/0.4174, allocations: 343.8 kB / 0.5382 GB, free: 20 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.55e-05/0.4174, allocations: 26.17 kB / 0.5382 GB, free: 4 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.207e-05/0.4175, allocations: 17.75 kB / 0.5382 GB, free: 0 / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000533/0.418, allocations: 293 kB / 0.5385 GB, free: 15.77 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/0.418, allocations: 5.531 kB / 0.5385 GB, free: 15.77 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.705e-05/0.4181, allocations: 10.08 kB / 0.5385 GB, free: 15.77 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/0.4181, allocations: 5.562 kB / 0.5385 GB, free: 15.77 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003283/0.4184, allocations: 178.4 kB / 0.5387 GB, free: 15.68 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001563/0.42, allocations: 1.229 MB / 0.5399 GB, free: 14.54 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003307/0.4203, allocations: 110.1 kB / 0.54 GB, free: 14.46 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.671e-05/0.4204, allocations: 42.72 kB / 0.54 GB, free: 14.43 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.373e-05/0.4204, allocations: 1.5 kB / 0.5401 GB, free: 14.43 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.713e-05/0.4204, allocations: 44.09 kB / 0.5401 GB, free: 14.38 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.422e-06/0.4204, allocations: 0 / 0.5401 GB, free: 14.38 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009048/0.4213, allocations: 492.3 kB / 0.5406 GB, free: 13.96 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.647e-05/0.4214, allocations: 79.77 kB / 0.5406 GB, free: 13.87 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002948/0.4217, allocations: 255.4 kB / 0.5409 GB, free: 13.68 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.031e-05/0.4217, allocations: 26.83 kB / 0.5409 GB, free: 13.65 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001525/0.4219, allocations: 201.8 kB / 0.5411 GB, free: 13.47 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.53e-05/0.4219, allocations: 49.05 kB / 0.5411 GB, free: 13.43 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.453e-05/0.422, allocations: 40.23 kB / 0.5412 GB, free: 13.39 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001682/0.4222, allocations: 344 kB / 0.5415 GB, free: 13.05 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.462e-05/0.4222, allocations: 34.28 kB / 0.5415 GB, free: 13.04 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001516/0.4224, allocations: 132.5 kB / 0.5417 GB, free: 12.89 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002697/0.4227, allocations: 188.2 kB / 0.5419 GB, free: 12.71 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.4227, allocations: 1.531 kB / 0.5419 GB, free: 12.71 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003373/0.423, allocations: 210 kB / 0.5421 GB, free: 12.59 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.467e-05/0.423, allocations: 6.281 kB / 0.5421 GB, free: 12.59 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.423, allocations: 2.875 kB / 0.5421 GB, free: 12.59 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.53e-05/0.4231, allocations: 5.656 kB / 0.5421 GB, free: 12.59 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001803/0.4232, allocations: 50.81 kB / 0.5421 GB, free: 12.58 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/0.4232, allocations: 3.906 kB / 0.5421 GB, free: 12.58 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001208/0.4234, allocations: 11.69 kB / 0.5421 GB, free: 12.57 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.782e-05/0.4234, allocations: 8.781 kB / 0.5421 GB, free: 12.57 MB / 398.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 (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001875/0.4236, allocations: 156.3 kB / 0.5423 GB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.316e-05/0.4236, allocations: 22.8 kB / 0.5423 GB, free: 12.41 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002705/0.4239, allocations: 138.6 kB / 0.5424 GB, free: 12.32 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-06/0.4239, allocations: 1.344 kB / 0.5424 GB, free: 12.32 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.4239, allocations: 1.625 kB / 0.5424 GB, free: 12.32 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.4239, allocations: 3.938 kB / 0.5424 GB, free: 12.31 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006561/0.4246, allocations: 481.6 kB / 0.5429 GB, free: 11.88 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.4246, allocations: 5.562 kB / 0.5429 GB, free: 11.88 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001334/0.4247, allocations: 26.05 kB / 0.5429 GB, free: 11.87 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.4247, allocations: 1.656 kB / 0.5429 GB, free: 11.87 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.507e-05/0.4247, allocations: 5.625 kB / 0.5429 GB, free: 11.87 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.4247, allocations: 1.219 kB / 0.5429 GB, free: 11.87 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.4247, allocations: 5.25 kB / 0.543 GB, free: 11.86 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004095/0.4251, allocations: 281.6 kB / 0.5432 GB, free: 11.64 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.076e-05/0.4252, allocations: 95.25 kB / 0.5433 GB, free: 11.54 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.924e-05/0.4253, allocations: 9.016 kB / 0.5433 GB, free: 11.53 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.4254, allocations: 6.25 kB / 0.5433 GB, free: 11.52 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.285e-05/0.4254, allocations: 3.5 kB / 0.5433 GB, free: 11.52 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.31e-05/0.4254, allocations: 3.531 kB / 0.5433 GB, free: 11.52 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001869/0.4256, allocations: 174.5 kB / 0.5435 GB, free: 11.4 MB / 398.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4256, allocations: 0 / 0.5435 GB, free: 11.4 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000352/0.426, allocations: 44.69 kB / 0.5435 GB, free: 11.4 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (ind.i) * 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 (13): * Single equations (assignments): 12 * 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.0001392/0.4261, allocations: 113.6 kB / 0.5436 GB, free: 11.29 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002545/0.4264, allocations: 112.4 kB / 0.5438 GB, free: 11.24 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.4264, allocations: 0 / 0.5438 GB, free: 11.24 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.804e-05/0.4264, allocations: 45.42 kB / 0.5438 GB, free: 11.22 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005093/0.427, allocations: 65.39 kB / 0.5439 GB, free: 11.19 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001053/0.428, allocations: 0.5429 MB / 0.5444 GB, free: 10.8 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000439/0.4284, allocations: 0.771 MB / 0.5451 GB, free: 10.07 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000125/0.4286, allocations: 33.17 kB / 0.5452 GB, free: 10.05 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.026e-05/0.4286, allocations: 19.84 kB / 0.5452 GB, free: 10.04 MB / 398.1 MB Notification: Performance of SimCode: time 5.41e-07/0.4286, allocations: 0 / 0.5452 GB, free: 10.04 MB / 398.1 MB Notification: Performance of Templates: time 0.006274/0.4349, allocations: 2.109 MB / 0.5473 GB, free: 9 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.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.994422534480691]